Error report for Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains

Compiler arguments:
-log=i,w|xml|stderr -opt=max_n_proc:1 -target=me -version=1.0 -platform=win32 -out=. -modelicapath=C:\JModelica.org-1.16\install\ThirdParty\MSL c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains
Current working directory:
C:\Users\tove_021
Compiler version: 1.16
Java version: 1.7.0_15
MODELICAPATH =
JAVA_HOME = C:\JModelica.org-1.16\Java\jre7
JMODELICA_HOME = C:\JModelica.org-1.16\install
======= Compiling model =======
Parsing c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\package.mo...
Checking for errors...
MODELICAPATH = C:\JModelica.org-1.16\install\ThirdParty\MSL
extra_lib_dirs =
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\ComplexBlocks.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\ComplexMath.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Constants.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Fluid\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Icons.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Math\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Media\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\SIunits.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\StateGraph.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Thermal\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\FluxTubes.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\FundamentalWave.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\QuasiStatic\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\QuasiStatic\FundamentalWave.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Digital.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Machines.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\MultiPhase.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\PowerConverters.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\QuasiStationary\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Spice3.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\QuasiStationary\Machines.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\QuasiStationary\MultiPhase.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\QuasiStationary\SinglePhase.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\QuasiStationary\Types.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\QuasiStationary\UsersGuide.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\Rotational.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\Translational.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Basic.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Examples\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Ideal.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Interfaces.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Lines.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Semiconductors.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Sensors.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Analog\Sources.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Math\BooleanVectors.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Math\isPowerOf2.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Math\Nonlinear.mo
Reading file: C:\JModelica.org-1.16\install\ThirdParty\MSL\Complex.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Continuous.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Discrete.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Icons.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Interaction.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Interfaces.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Logical.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Math.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\MathBoolean.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\MathInteger.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Nonlinear.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Routing.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Sources.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Tables.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Blocks\Types.mo
Reading file: C:\JModelica.org-1.16\install\ThirdParty\MSL\ModelicaServices\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Thermal\FluidHeatFlow.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Thermal\HeatTransfer.mo
Warning at line 2, column 66, in file 'C:\JModelica.org-1.16\install\ThirdParty\MSL\Complex.mo':
The parameter powerSensorQS.sum.k[3,1].re does not have a binding expression
Warning at line 2, column 66, in file 'C:\JModelica.org-1.16\install\ThirdParty\MSL\Complex.mo':
The parameter powerSensorQS.sum.k[3,2].re does not have a binding expression
Warning at line 2, column 66, in file 'C:\JModelica.org-1.16\install\ThirdParty\MSL\Complex.mo':
The parameter powerSensorQS.sum.k[3,3].re does not have a binding expression
Warning at line 4, column 71, in file 'C:\JModelica.org-1.16\install\ThirdParty\MSL\Complex.mo':
The parameter powerSensorQS.sum.k[3,1].im does not have a binding expression
Warning at line 4, column 71, in file 'C:\JModelica.org-1.16\install\ThirdParty\MSL\Complex.mo':
The parameter powerSensorQS.sum.k[3,2].im does not have a binding expression
Warning at line 4, column 71, in file 'C:\JModelica.org-1.16\install\ThirdParty\MSL\Complex.mo':
The parameter powerSensorQS.sum.k[3,3].im does not have a binding expression
Warning at line 15938, column 47, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\Machines.mo':
String parameters are only partially supported
Warning at line 2905, column 64, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Electrical\MultiPhase.mo':
The component m is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 4905, column 55, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\FundamentalWave.mo':
The component groundR is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 3269, column 26, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\QuasiStatic\FundamentalWave.mo':
The component omega is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 6840, column 57, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Magnetic\QuasiStatic\FundamentalWave.mo':
String parameters are only partially supported
Flattening model...
Applying transformation: enableIfEquationElimination...
Applying transformation: genBindingAssignments...
Applying transformation: scalarize...
Applying transformation: MakeReinitedVarsStates...
Applying transformation: enableIfEquationElimination...
Applying transformation: enableStreamsRewrite...
Applying transformation: extractEventGeneratingExps...
Applying transformation: transformAlgorithms...
Applying transformation: enableWhenClauseRewrite...
Applying transformation: extractSampleExpressions...
Applying transformation: genInitArrayStatements...
Applying transformation: FunctionInliningIfSet...
Applying transformation: setFDerivativeVariables...
Applying transformation: addFPreVariables...
Applying transformation: enableIfEquationRewrite...
Applying transformation: aliasEliminationIfSet...
Applying transformation: variabilityPropagationIfSet...
Applying transformation: aliasEliminationIfSet...
Applying transformation: evaluateAsserts...
Applying transformation: enableSemiLinearRewrite...
Applying transformation: eliminateEqualSwitches...
Applying transformation: genInitialEquations...
Applying transformation: setFDerivativeVariablesPreBLT...
Applying transformation: propagateNonFixedParameters...
Applying transformation: indexReduction...
Applying transformation: aliasEliminationIfSet...
Applying transformation: setFDerivativeVariables...
States:
Modelica.SIunits.Angle smpmQS.gammar(start = 3.141592653589793 / 2,fixed = true) "Angle of stator reference frame"
Modelica.SIunits.Angle loadInertiaMQS.phi(stateSelect = loadInertiaMQS.stateSelect) "Absolute rotation angle of component"
Modelica.SIunits.AngularVelocity smpmQS.inertiaRotor.w(stateSelect = smpmQS.inertiaRotor.stateSelect) "Absolute angular velocity of component (= der(phi))"
Modelica.SIunits.MagneticFlux smpm.rotorCage.electroMagneticConverter.Phi.re
Modelica.SIunits.MagneticFlux smpm.rotorCage.electroMagneticConverter.Phi.im
Modelica.SIunits.Angle loadInertiaM.phi(stateSelect = loadInertiaM.stateSelect) "Absolute rotation angle of component"
Modelica.SIunits.AngularVelocity smpm.inertiaRotor.w(stateSelect = smpm.inertiaRotor.stateSelect) "Absolute angular velocity of component (= der(phi))"
Modelica.SIunits.MagneticFlux smpm.stator.core.Phi.re
Modelica.SIunits.MagneticFlux smpm.stator.core.Phi.im
Modelica.SIunits.ElectricCurrent smpm.stator.zeroInductor.i0

Applying transformation: LateFunctionInliningIfSet...
Applying transformation: addFPreVariables...
Applying transformation: aliasEliminationIfSet...
Applying transformation: sortDependentParameters...
Applying transformation: addRuntimeOptionParameters...
Applying transformation: computeMatchingsAndBLT...
Warning in flattened model:
Iteration variable "loadInertiaMQS.phi" is missing start value!
Generating code...
====== Model compiled successfully =======

Compiling...
... elapsed time: 24.71s
Loading...
States: ['smpmQS.gammar', 'loadInertiaMQS.phi', 'smpmQS.inertiaRotor.w', 'smpm.rotorCage.electroMagneticConverter.Phi.re', 'smpm.rotorCage.electroMagneticConverter.Phi.im', 'loadInertiaM.phi', 'smpm.inertiaRotor.w', 'smpm.stator.core.Phi.re', 'smpm.stator.core.Phi.im', 'smpm.stator.zeroInductor.i0']
Nominals: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
... elapsed time: 0.30s
Found solver method None...
... ncp = 5000
... using CVode
Initializing...
Start Time: 0.0
Stop Time: 1.0
Tolerance: 1e-06
... elapsed time: 0.00s
Simulating...
Final Run Statistics: Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains

Number of steps : 5030
Number of function evaluations : 5074
Number of Jacobian evaluations : 84
Number of function eval. due to Jacobian eval. : 840
Number of error test failures : 1
Number of nonlinear iterations : 5066
Number of nonlinear convergence failures : 0
Number of time events : 1

Solver options:

Solver : CVode
Linear multistep method : BDF
Nonlinear solver : Newton
Linear solver type : DENSE
Maximal order : 5
Tolerances (absolute) : 1e-06
Tolerances (relative) : 1e-06

Simulation interval : 0.0 - 1.0 seconds.
Elapsed simulation time: 8.07176929517 seconds.
... elapsed time: 11.70s