Error report for Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource

Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\Electrical\Machines.mo':
At line 15789, column 47:
String parameters are only partially supported
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1137, column 40:
Assuming 'each' for the attribute quantity
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1138, column 48:
Assuming 'each' for the attribute unit
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1139, column 21:
Assuming 'each' for the attribute min
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1140, column 16:
Assuming 'each' for the attribute start
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1141, column 21:
Assuming 'each' for the attribute nominal
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1142, column 20:
Assuming 'each' for the attribute displayUnit
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1224, column 31:
Assuming 'each' for the attribute quantity
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1224, column 64:
Assuming 'each' for the attribute unit
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1239, column 33:
Assuming 'each' for the attribute quantity
Warning: in file 'C:\JModelica.org-1.14\install\ThirdParty\MSL\Modelica\SIunits.mo':
At line 1239, column 68:
Assuming 'each' for the attribute unit
Error: in file 'C:\Users\tove_021\AppData\Local\Temp\jmc2397225571876510153out\sources\Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.mof':
Semantic error at line 0, column 0:
Index reduction failed: Maximum number of differentiations reached
Error: in file 'C:\Users\tove_021\AppData\Local\Temp\jmc2397225571876510153out\sources\Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.mof':
Semantic error at line 0, column 0:
The system is structurally singular. The following varible(s) could not be matched to any equation:
smpm.airGapR.der(psi_ms[1])
smpm.airGapR.der(psi_ms[2])
smpm.airGapR.der(psi_mr[1])
smpm.airGapR.der(psi_mr[2])
smpm.permanentMagnet.der(phi)
smpm.strayLoad.der(phi)
smpm.inertiaRotor.der(w)
smpm.friction.der(phi)
smpm.der(phiMechanical)
smpm.der(idq_sr[1])
smpm.der(idq_sr[2])
terminalBox.starpoint.v

The following equation(s) could not be matched to any variable:
smpm.airGapR.psi_mr[1] = smpm.airGapR.L[1,1] * smpm.airGapR.i_mr[1] + smpm.airGapR.L[1,2] * smpm.idq_sr[2]
smpm.airGapR.psi_mr[2] = smpm.airGapR.L[2,1] * smpm.airGapR.i_mr[1] + smpm.airGapR.L[2,2] * smpm.idq_sr[2]
smpm.airGapR.RotationMatrix[1,1] = cos(smpm.airGapR.gamma)
smpm.airGapR.RotationMatrix[2,1] = sin(smpm.airGapR.gamma)
smpm.idq_ss[1] = smpm.airGapR.RotationMatrix[1,1] * smpm.idq_sr[1] + smpm.airGapR.RotationMatrix[1,2] * smpm.idq_sr[2]
smpm.idq_ss[2] = smpm.airGapR.RotationMatrix[2,1] * smpm.idq_sr[1] + smpm.airGapR.RotationMatrix[2,2] * smpm.idq_sr[2]
smpm.permanentMagnet.phi = inertiaLoad.phi - smpm.inertiaStator.phi
smpm.strayLoad.phi = inertiaLoad.phi - smpm.inertiaStator.phi
smpm.friction.phi = inertiaLoad.phi - smpm.inertiaStator.phi
- smpm.plug_sn.pin[1].i + (- smpm.plug_sn.pin[2].i) + (- smpm.plug_sn.pin[3].i) = 0
inertiaLoad.w = inertiaLoad.der(phi)
- smpm.internalThermalPort.heatPortRotorWinding.Q_flow + smpm.thermalAmbient.thermalPort.heatPortRotorWinding.Q_flow = 0
smpm.internalThermalPort.heatPortRotorWinding.T = smpm.thermalAmbient.thermalPort.heatPortRotorWinding.T
smpm.phiMechanical = inertiaLoad.phi - smpm.inertiaStator.phi

Compiling...
... elapsed time: 5.94s