PMSM control with Rotational Speed (Controlled)

Set the machine’s Inertia parameter to zero, as shown below.

From the PLECS Documentation: “A speed source may not be short-circuited or connected in parallel with other speed sources, nor may a speed source directly drive an inertia.” Setting the inertia to zero overcomes this issue.

You can also read a bit more about the error message at this link for a deeper understanding.