An error occurred while running the simulation and the simulation was terminated
Caused by:
Derivative of state '1' in block 'untitled/Permanent Magnet Synchronous Machine/Mechanical model/Int' at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)