Error report for Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum

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.Mechanics.MultiBody.Examples.Elementary.DoublePendulum
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\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\Mechanics\MultiBody\Examples\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Frames.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Icons.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Interfaces.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Sensors.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Types.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Visualizers.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Constraints.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Loops\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Rotational3DEffects.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Systems\package.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\DoublePendulum.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\DoublePendulumInitTip.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\ForceAndTorque.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\FreeBody.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\HeatLosses.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\InitSpringConstant.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\LineForceWithTwoMasses.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\Pendulum.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PendulumWithSpringDamper.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PointGravity.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PointGravityWithPointMasses.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PointGravityWithPointMasses2.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\RollingWheel.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\RollingWheelSetDriving.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\RollingWheelSetPulling.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\SpringDamperSystem.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\SpringMassSystem.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\SpringWithMass.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\Surfaces.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\ThreeSprings.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\UserDefinedGravityField.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\Utilities.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\Utilities\Examples.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Files.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Streams.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Strings.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\System.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Types.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\Modelica\Thermal\FluidHeatFlow.mo
Reading file: c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Thermal\HeatTransfer.mo
Warning at line 308, column 12, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 310, column 12, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 161, column 59, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
String parameters are only partially supported
Warning at line 235, column 12, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 235, column 40, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 1168, column 133, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\package.mo':
String parameters are only partially supported
Warning at line 1169, column 74, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\package.mo':
String parameters are only partially supported
Warning at line 14, column 50, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
String parameters are only partially supported
Warning at line 14, column 50, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component shapeType is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 17, column 119, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component R is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 20, column 95, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component r is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 23, column 121, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component r_shape is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 26, column 113, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component lengthDirection is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 29, column 81, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component widthDirection is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 32, column 80, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component length is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 33, column 75, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component width is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 34, column 73, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component height is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 35, column 75, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component extra is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 37, column 108, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component color is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
Warning at line 38, column 104, in file 'c:\JModelica.org-1.16\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
The component specularCoefficient is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.
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 revolute1.phi(fixed = true,start = 0,final stateSelect = revolute1.stateSelect) "Relative rotation angle from frame_a to frame_b"
Modelica.SIunits.AngularVelocity revolute1.w(fixed = true,start = 0,stateSelect = revolute1.stateSelect) "First derivative of angle phi (relative angular velocity)"
Modelica.SIunits.Angle revolute2.phi(fixed = true,start = 0,final stateSelect = revolute2.stateSelect) "Relative rotation angle from frame_a to frame_b"
Modelica.SIunits.AngularVelocity revolute2.w(fixed = true,start = 0,stateSelect = revolute2.stateSelect) "First derivative of angle phi (relative angular velocity)"

Applying transformation: LateFunctionInliningIfSet...
Applying transformation: addFPreVariables...
Applying transformation: aliasEliminationIfSet...
Applying transformation: sortDependentParameters...
Applying transformation: addRuntimeOptionParameters...
Applying transformation: computeMatchingsAndBLT...
Generating code...
====== Model compiled successfully =======

Compiling...
... elapsed time: 11.71s
Loading...
States: ['revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w']
Nominals: [1.0, 1.0, 1.0, 1.0]
... elapsed time: 0.21s
Found solver method None...
... ncp = 2000
... using CVode
Initializing...
Start Time: 0.0
Stop Time: 3.0
Tolerance: 1e-06
... elapsed time: 0.00s
Simulating...
Final Run Statistics: Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum

Number of steps : 2016
Number of function evaluations : 2068
Number of Jacobian evaluations : 34
Number of function eval. due to Jacobian eval. : 136
Number of error test failures : 3
Number of nonlinear iterations : 2064
Number of nonlinear convergence failures : 0

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 - 3.0 seconds.
Elapsed simulation time: 0.70146430777 seconds.
... elapsed time: 1.17s