Error report for Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis

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.Systems.RobotR3.oneAxis
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\Systems\RobotR3.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Continuous.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Discrete.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Icons.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Interaction.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Interfaces.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Logical.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Math.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\MathBoolean.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\MathInteger.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Nonlinear.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Routing.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Sources.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Tables.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Types.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Thermal\FluidHeatFlow.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Thermal\HeatTransfer.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\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
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Digital.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Machines.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\MultiPhase.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\QuasiStationary\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Spice3.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Basic.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Examples\package.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Ideal.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Interfaces.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Lines.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Semiconductors.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Sensors.mo
Reading file: C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Electrical\Analog\Sources.mo
Warning at line 1052, column 76, in file 'C:\JModelica.org-SDK-1.11\install\ThirdParty\MSL\Modelica\Blocks\Logical.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: enableExpandedInStreamRewrite...
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.ElectricPotential axis.motor.C.v(start = 0) "Voltage drop between the two pins (= p.v - n.v)"
Modelica.SIunits.ElectricCurrent axis.motor.La.i(start = 0) "Current flowing from pin p to pin n"
Modelica.SIunits.Angle axis.initializeFlange.phi_flange(stateSelect = axis.initializeFlange.stateSelect) "Flange angle"
Modelica.SIunits.Angle axis.gear.spring.phi_rel(start = 0,stateSelect = axis.gear.spring.stateSelect,nominal = if axis.gear.spring.phi_nominal >= 1.0E-15 then axis.gear.spring.phi_nominal else 1) "Relative rotation angle (= flange_b.phi - flange_a.phi)"
Modelica.SIunits.AngularVelocity axis.gear.spring.w_rel(start = 0,stateSelect = axis.gear.spring.stateSelect) "Relative angular velocity (= der(phi_rel))"
Real axis.controller.PI.x(start = axis.controller.PI.x_start) "State of block"
Modelica.SIunits.AngularVelocity axis.initializeFlange.w_flange(stateSelect = axis.initializeFlange.stateSelect) "= der(phi_flange)"

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

Compiling...
... elapsed time: 8.91s
Loading...
States: ['axis.motor.C.v', 'axis.motor.La.i', 'axis.initializeFlange.phi_flange', 'axis.gear.spring.phi_rel', 'axis.gear.spring.w_rel', 'axis.controller.PI.x', 'axis.initializeFlange.w_flange']
Nominals: [1.0, 1.0, 1.0, 0.0001, 1.0, 1.0, 1.0]
... elapsed time: 0.17s
Found solver method None...
... ncp = 2000
... using CVode
Initializing...
Start Time: 0.0
Stop Time: 1.6
Tolerance: 1e-06
... elapsed time: 0.01s
Simulating...
Terminating simulation at t = 1.498132 after signal from handle_event.
Final Run Statistics: Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis

Number of steps : 2646
Number of function evaluations : 2925
Number of Jacobian evaluations : 52
Number of function eval. due to Jacobian eval. : 364
Number of error test failures : 24
Number of nonlinear iterations : 2869
Number of nonlinear convergence failures : 0
Number of state function evaluations : 2747
Number of state events : 10
Number of time events : 4

Solver options:

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

Simulation interval : 0.0 - 1.4981317008 seconds.
Elapsed simulation time: 1.11338708862 seconds.
... elapsed time: 1.36s