Initialization occurs at the beginning of simulation when simulation time, t, is at the model Start Time. During the first call to ModelOutputs, Simscape™ performs model initialization. The solver determines the simulation starting point by iteratively computing the initial values for all system variables. Finding a solution that satisfies the model equations for a nonlinear system can take more time than the time step allows. If the computation time exceeds the time step, a central processing unit (CPU) overload occurs. Real-time processors typically respond to CPU overloads by terminating model execution.
If your real-time application terminates when t is at the model Start Time, disable the automatic shutdown response on your real-time hardware to CPU overloads for that time period. To determine how to disable such processes, check with your hardware vendor.