Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|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.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.159e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.3678/0.4995, allocations: 27.81 MB / 438.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02183/0.5214, allocations: 6.834 MB / 445.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007978/0.5294, allocations: 147.3 kB / 445.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006201/0.5356, allocations: 1.468 MB / 447.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01815/0.5539, allocations: 4.195 MB / 451.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.5567, allocations: 397.6 kB / 451.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00501/0.5618, allocations: 1.464 MB / 453.2 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006734/0.5686, allocations: 2.884 MB / 456.1 MB, free: 5.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.5707, allocations: 0.7081 MB / 456.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.5736, allocations: 1.156 MB / 458 MB, free: 4.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.5769, allocations: 0.8394 MB / 458.8 MB, free: 4.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.578, allocations: 119.8 kB / 458.9 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002661/0.5807, allocations: 1.443 MB / 460.4 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.5821, allocations: 231.2 kB / 460.6 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.5915, allocations: 5.459 MB / 466.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5915, allocations: 0 / 466.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.801e-06/0.5916, allocations: 0 / 466.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002771/0.5919, allocations: 3.938 kB / 466.1 MB, free: 15.91 MB / 378.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.01506/0.6069, allocations: 4.092 MB / 470.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.607, allocations: 12.03 kB / 470.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/0.6303, allocations: 3.785 MB / 473.9 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00709/0.6374, allocations: 2.149 MB / 476.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/0.6378, allocations: 221.4 kB / 476.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/0.6397, allocations: 283.8 kB / 476.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03317/0.6729, allocations: 11.65 MB / 488.2 MB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.6731, allocations: 31.7 kB / 488.3 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001459/0.6746, allocations: 127.8 kB / 488.4 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007666/0.6823, allocations: 2.636 MB / 491 MB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03521/0.7175, allocations: 10.85 MB / 0.4901 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08441/0.802, allocations: 36.28 MB / 0.5255 GB, free: 6.812 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.8169, allocations: 4.568 MB / 0.53 GB, free: 2.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/0.8189, allocations: 1.319 MB / 0.5313 GB, free: 492 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/0.819, allocations: 60.52 kB / 0.5314 GB, free: 424 kB / 442.7 MB Notification: Performance of pre-optimization done (n=235): time 7.063e-06/0.819, allocations: 0 / 0.5314 GB, free: 424 kB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.06908/0.8881, allocations: 13.81 MB / 0.5448 GB, free: 2.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.8882, allocations: 73.41 kB / 0.5449 GB, free: 2.348 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006122/0.8943, allocations: 2.57 MB / 0.5474 GB, free: 15.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005771/0.895, allocations: 57.7 kB / 0.5475 GB, free: 15.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003225/0.8982, allocations: 2.886 MB / 0.5503 GB, free: 12.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001738/0.9, allocations: 0.9135 MB / 0.5512 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006747/0.9007, allocations: 104 kB / 0.5513 GB, free: 11.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006725/0.9014, allocations: 0.5622 MB / 0.5518 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/0.9076, allocations: 2.221 MB / 0.554 GB, free: 8.949 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009433/0.9171, allocations: 5.281 MB / 0.5592 GB, free: 2.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008868/0.9261, allocations: 3.435 MB / 0.5625 GB, free: 14.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.975e-05/0.9262, allocations: 32 kB / 0.5625 GB, free: 14.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=745) (initialization): time 0.02637/0.9526, allocations: 8.152 MB / 0.5705 GB, free: 6.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.9527, allocations: 48 kB / 0.5705 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/0.9529, allocations: 108 kB / 0.5707 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006586/0.9595, allocations: 1.029 MB / 0.5717 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008305/0.9679, allocations: 1.271 MB / 0.5729 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.9727, allocations: 2.497 MB / 0.5753 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005546/0.9783, allocations: 303.7 kB / 0.5756 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/0.9796, allocations: 324 kB / 0.5759 GB, free: 0.8086 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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.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 (692): * Single equations (assignments): 683 * 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.006374/0.986, allocations: 2.19 MB / 0.5781 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/0.9868, allocations: 276.4 kB / 0.5783 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/1.003, allocations: 4.783 MB / 0.583 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001283/1.004, allocations: 51.91 kB / 0.5831 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.004, allocations: 7.938 kB / 0.5831 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/1.004, allocations: 7.969 kB / 0.5831 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03554/1.039, allocations: 11.2 MB / 0.594 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.644e-05/1.039, allocations: 12 kB / 0.594 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/1.043, allocations: 395.3 kB / 0.5944 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005341/1.048, allocations: 0.6154 MB / 0.595 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005409/1.049, allocations: 48 kB / 0.595 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/1.053, allocations: 2.096 MB / 0.5971 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-05/1.053, allocations: 15.94 kB / 0.5971 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/1.073, allocations: 7.554 MB / 0.6045 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009751/1.074, allocations: 329.5 kB / 0.6048 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.075, allocations: 47.98 kB / 0.6048 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.078, allocations: 119.8 kB / 0.605 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/1.079, allocations: 160.9 kB / 0.6051 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000275/1.079, allocations: 71.98 kB / 0.6052 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004308/1.083, allocations: 1.755 MB / 0.6069 GB, free: 324 kB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/1.083, allocations: 0 / 0.6069 GB, free: 324 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.3886/1.472, allocations: 0.9835 MB / 0.6079 GB, free: 162.1 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.001395/1.473, allocations: 205.3 kB / 0.608 GB, free: 162 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.02239/1.496, allocations: 5.827 MB / 0.6137 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-05/1.496, allocations: 5.75 kB / 0.6137 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009719/1.505, allocations: 2.322 MB / 0.616 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/1.51, allocations: 396.3 kB / 0.6164 GB, free: 160 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/1.543, allocations: 13.07 MB / 0.6292 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00891/1.552, allocations: 3.54 MB / 0.6326 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.554, allocations: 271.8 kB / 0.6329 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/1.554, allocations: 0 / 0.6329 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1911/1.745, allocations: 111.4 MB / 0.7417 GB, free: 53.78 MB / 0.5105 GB