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

Compiler arguments:
-log=i,w|xml|stderr -opt=max_n_proc:1,c_compiler:gcc -target=me -version=1.0 -platform=win32 -out=. -modelicapath=C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses
Current working directory:
C:\Users\tove_021
Compiler version: 1.17.x
Java version: 1.7.0_15
MODELICAPATH =
JAVA_HOME = C:\JModelica.org-SDK-1.11\Java\jdk1.7.0_15
JMODELICA_HOME = C:\JModelica.org-SDK-1.11\install
======= Compiling model =======
Checking for errors...
MODELICAPATH = C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL
extra_lib_dirs =
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\ComplexBlocks.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\ComplexMath.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Constants.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Fluid\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Icons.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Magnetic\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Media\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\SIunits.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\StateGraph.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Thermal\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\Rotational.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\Translational.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Frames.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Icons.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Interfaces.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Joints.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Parts.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Sensors.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Types.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Visualizers.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Constraints.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Loops\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Rotational3DEffects.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Systems\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\DoublePendulum.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\DoublePendulumInitTip.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\ForceAndTorque.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\FreeBody.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\HeatLosses.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\InitSpringConstant.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\LineForceWithTwoMasses.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\Pendulum.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PendulumWithSpringDamper.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PointGravity.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PointGravityWithPointMasses.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\PointGravityWithPointMasses2.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\RollingWheel.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\RollingWheelSetDriving.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\RollingWheelSetPulling.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\SpringDamperSystem.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\SpringMassSystem.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\SpringWithMass.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\Surfaces.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\ThreeSprings.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\UserDefinedGravityField.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Examples\Elementary\Utilities.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\ModelicaServices\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\Examples.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\Files.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\Streams.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\Strings.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\System.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\Types.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\BooleanVectors.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\isPowerOf2.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Math\Nonlinear.mo
Warning at line 1270, column 43, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo':
String parameters are only partially supported
Warning at line 1367, column 8, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 1367, column 38, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 1370, column 12, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 1370, column 42, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 1373, column 12, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 1373, column 43, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Forces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 304, column 12, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Interfaces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 306, column 12, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\Interfaces.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica
Warning at line 1873, column 14, in file 'C:\JModelica.org-SDK-1.11\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 1169, column 133, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Mechanics\MultiBody\package.mo':
String parameters are only partially supported
Warning at line 1170, column 74, in file 'C:\JModelica.org-SDK-1.11\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-SDK-1.11\install\ThirdParty\MSL\Modelica\Utilities\Internal.mo':
String parameters are only partially supported
Warning at line 14, column 50, in file 'C:\JModelica.org-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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-SDK-1.11\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: enableExpandedInStreamRewrite...
Applying transformation: evaluateAsserts...
Applying transformation: enableSemiLinearRewrite...
Applying transformation: eliminateEqualSwitches...
Applying transformation: genInitialEquations...
Applying transformation: setFDerivativeVariablesPreBLT...
Applying transformation: propagateNonFixedParameters...
Applying transformation: indexReduction...
Applying transformation: LateFunctionInliningIfSet...
Applying transformation: commonSubexpressionEliminationIfSet...
Applying transformation: addFPreVariables...
Applying transformation: aliasEliminationIfSet...
Applying transformation: sortDependentParameters...
Applying transformation: addRuntimeOptionParameters...
Applying transformation: computeMatchingsAndBLT...
Warning in flattened model:
Iteration variable "der(body3.v_0[1])" is missing start value!
Warning in flattened model:
Iteration variable "der(body3.v_0[2])" is missing start value!
Warning in flattened model:
Iteration variable "der(body3.v_0[3])" is missing start value!
Warning in flattened model:
Iteration variable "der(body4.v_0[1])" is missing start value!
Warning in flattened model:
Iteration variable "der(body4.v_0[2])" is missing start value!
Warning in flattened model:
Iteration variable "der(body4.v_0[3])" is missing start value!
Generating code...
====== Model compiled successfully =======
sources/Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_equ.c: In function 'model_ode_derivatives_base':
sources/Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_equ.c:222:9: warning: string length '937' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]
sources/Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_equ_init.c: In function 'model_ode_initialize_base':
sources/Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_equ_init.c:244:9: warning: string length '937' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings]

Compiling...
... elapsed time: 8.74s
Loading...
States: ['body1.r_0[1]', 'body1.r_0[2]', 'body1.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body2.r_0[1]', 'body2.r_0[2]', 'body2.r_0[3]', 'body2.v_0[1]', 'body2.v_0[2]', 'body2.v_0[3]', 'body3.r_0[1]', 'body3.r_0[2]', 'body3.r_0[3]', 'body3.v_0[1]', 'body3.v_0[2]', 'body3.v_0[3]', 'body4.r_0[1]', 'body4.r_0[2]', 'body4.r_0[3]', 'body4.v_0[1]', 'body4.v_0[2]', 'body4.v_0[3]']
Nominals: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
... elapsed time: 0.19s
Found solver method None...
... ncp = 2000
... using CVode
Initializing...
Start Time: 0.0
Stop Time: 2.0
Tolerance: 1e-06
... elapsed time: 0.00s
Simulating...
Final Run Statistics: Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses

Number of steps : 2047
Number of function evaluations : 2084
Number of Jacobian evaluations : 35
Number of function eval. due to Jacobian eval. : 840
Number of error test failures : 4
Number of nonlinear iterations : 2080
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 - 2.0 seconds.
Elapsed simulation time: 1.05428972855 seconds.
... elapsed time: 1.33s