Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 2.301/2.301, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.122e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3211, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.4826, allocations: 105.3 MB / 0.5021 GB, free: 1.312 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4828, allocations: 79.94 kB / 0.5022 GB, free: 1.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5818/1.065, allocations: 90.7 MB / 0.5907 GB, free: 48.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.159e-06/1.065, allocations: 3.938 kB / 0.5907 GB, free: 48.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001538/1.065, allocations: 80 kB / 0.5908 GB, free: 48.89 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1672 * Number of variables: 1672 Notification: Performance of Generate backend data structure: time 0.01466/1.08, allocations: 4.211 MB / 0.5949 GB, free: 44.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.08, allocations: 12.03 kB / 0.5949 GB, free: 44.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/1.098, allocations: 3.554 MB / 0.5984 GB, free: 41.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/1.111, allocations: 4.518 MB / 0.6028 GB, free: 36.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/1.111, allocations: 336.5 kB / 0.6032 GB, free: 36.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001983/1.113, allocations: 427.8 kB / 0.6036 GB, free: 35.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0315/1.145, allocations: 11.07 MB / 0.6144 GB, free: 24.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003204/1.145, allocations: 27.75 kB / 0.6144 GB, free: 24.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002641/1.148, allocations: 195.9 kB / 0.6146 GB, free: 23.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003512/1.151, allocations: 1.216 MB / 0.6158 GB, free: 22.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04556/1.197, allocations: 10.53 MB / 0.6261 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07891/1.276, allocations: 37.18 MB / 0.6624 GB, free: 6.133 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.287, allocations: 4.52 MB / 0.6668 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003999/1.291, allocations: 2.186 MB / 0.6689 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/1.293, allocations: 1.315 MB / 0.6702 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/1.293, allocations: 56.56 kB / 0.6703 GB, free: 13.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 6.284e-06/1.293, allocations: 0 / 0.6703 GB, free: 13.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.04394/1.337, allocations: 11.07 MB / 0.6811 GB, free: 2.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/1.337, allocations: 73.41 kB / 0.6811 GB, free: 2.445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/1.342, allocations: 2.441 MB / 0.6835 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003663/1.342, allocations: 57.7 kB / 0.6836 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.345, allocations: 2.882 MB / 0.6864 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.346, allocations: 0.9135 MB / 0.6873 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/1.347, allocations: 112 kB / 0.6874 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005232/1.347, allocations: 0.5466 MB / 0.6879 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004449/1.352, allocations: 2.186 MB / 0.6901 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007255/1.359, allocations: 5.209 MB / 0.6951 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/1.366, allocations: 3.429 MB / 0.6985 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.758e-05/1.366, allocations: 35.94 kB / 0.6985 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=744) (initialization): time 0.01928/1.385, allocations: 7.765 MB / 0.7061 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/1.385, allocations: 52 kB / 0.7062 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/1.385, allocations: 108.9 kB / 0.7063 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00428/1.39, allocations: 1.025 MB / 0.7073 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005548/1.395, allocations: 1.271 MB / 0.7085 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/1.399, allocations: 2.459 MB / 0.7109 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004639/1.404, allocations: 319.6 kB / 0.7112 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006903/1.404, allocations: 320 kB / 0.7115 GB, free: 1.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 682 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001063/1.406, allocations: 0.5191 MB / 0.712 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/1.406, allocations: 272.4 kB / 0.7123 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3092/1.715, allocations: 4.735 MB / 0.7169 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.711e-05/1.715, allocations: 45.5 kB / 0.7169 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.715, allocations: 5.969 kB / 0.717 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/1.715, allocations: 11.3 kB / 0.717 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.74, allocations: 11.19 MB / 0.7279 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/1.74, allocations: 7.375 kB / 0.7279 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/1.742, allocations: 398.2 kB / 0.7283 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/1.746, allocations: 0.6116 MB / 0.7289 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004238/1.746, allocations: 58.27 kB / 0.7289 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/1.749, allocations: 2.06 MB / 0.7309 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.749, allocations: 11.41 kB / 0.731 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.762, allocations: 7.504 MB / 0.7383 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/1.763, allocations: 322.3 kB / 0.7386 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005967/1.764, allocations: 45.94 kB / 0.7386 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.765, allocations: 126 kB / 0.7388 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/1.766, allocations: 152.5 kB / 0.7389 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.766, allocations: 73.14 kB / 0.739 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002989/1.769, allocations: 1.651 MB / 0.7406 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.98e-07/1.769, allocations: 0 / 0.7406 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005458/1.774, allocations: 0.9728 MB / 0.7415 GB, free: 129 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005988/1.775, allocations: 202.1 kB / 0.7417 GB, free: 128.9 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01126/1.786, allocations: 5.599 MB / 0.7472 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.667e-06/1.786, allocations: 0 / 0.7472 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004969/1.791, allocations: 2.286 MB / 0.7494 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.794, allocations: 410.7 kB / 0.7498 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.813, allocations: 9.478 MB / 0.7591 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005382/1.818, allocations: 3.542 MB / 0.7625 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.82, allocations: 268.1 kB / 0.7628 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.184e-06/1.82, allocations: 0 / 0.7628 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1326/1.952, allocations: 110.2 MB / 0.8704 GB, free: 22.02 MB / 0.5105 GB