Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.408e-05, allocations: 7.234 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.544, allocations: 110.3 MB / 0.5083 GB, free: 9.863 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5443, allocations: 79.95 kB / 0.5084 GB, free: 9.785 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4476/0.9919, allocations: 98.34 MB / 0.6044 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.236e-06/0.992, allocations: 7.938 kB / 0.6045 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002134/0.9922, allocations: 91.98 kB / 0.6045 GB, free: 6.676 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.01845/1.011, allocations: 4.6 MB / 0.609 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.011, allocations: 12.03 kB / 0.609 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3356/1.346, allocations: 3.599 MB / 0.6126 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/1.363, allocations: 4.729 MB / 0.6172 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005057/1.363, allocations: 372.6 kB / 0.6175 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/1.366, allocations: 0.4906 MB / 0.618 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03282/1.399, allocations: 11.93 MB / 0.6297 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002625/1.399, allocations: 36.69 kB / 0.6297 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001967/1.401, allocations: 219.6 kB / 0.6299 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002419/1.403, allocations: 1.291 MB / 0.6312 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/1.43, allocations: 11.07 MB / 0.642 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06638/1.497, allocations: 41.44 MB / 0.6824 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.509, allocations: 4.834 MB / 0.6872 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/1.513, allocations: 2.348 MB / 0.6895 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/1.525, allocations: 6.834 MB / 0.6961 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.525, allocations: 51.78 kB / 0.6962 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 6.533e-06/1.525, allocations: 0 / 0.6962 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.05293/1.578, allocations: 15.69 MB / 0.7115 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.578, allocations: 69.41 kB / 0.7116 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00552/1.584, allocations: 2.779 MB / 0.7143 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004259/1.584, allocations: 57.7 kB / 0.7143 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/1.587, allocations: 3.226 MB / 0.7175 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.588, allocations: 0.9381 MB / 0.7184 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005968/1.588, allocations: 116 kB / 0.7185 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000528/1.589, allocations: 0.5737 MB / 0.7191 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00493/1.594, allocations: 2.368 MB / 0.7214 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006877/1.601, allocations: 5.643 MB / 0.7269 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/1.608, allocations: 3.716 MB / 0.7305 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.608, allocations: 32 kB / 0.7306 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02516/1.633, allocations: 9.467 MB / 0.7398 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/1.633, allocations: 52 kB / 0.7399 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.633, allocations: 116 kB / 0.74 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/1.644, allocations: 2.335 MB / 0.7422 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/1.65, allocations: 1.323 MB / 0.7435 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/1.671, allocations: 10.6 MB / 0.7539 GB, free: 40.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/1.677, allocations: 319.4 kB / 0.7542 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.678, allocations: 346.8 kB / 0.7545 GB, free: 39.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (720): * Single equations (assignments): 712 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.679, allocations: 0.5397 MB / 0.7551 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/1.68, allocations: 308 kB / 0.7553 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009287/1.689, allocations: 4.534 MB / 0.7598 GB, free: 34.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-05/1.689, allocations: 47.92 kB / 0.7598 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.689, allocations: 4 kB / 0.7598 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/1.689, allocations: 11.34 kB / 0.7598 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.712, allocations: 10.72 MB / 0.7703 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.712, allocations: 4.594 kB / 0.7703 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.715, allocations: 415.3 kB / 0.7707 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/1.717, allocations: 0.6891 MB / 0.7714 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004095/1.718, allocations: 55.97 kB / 0.7714 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/1.721, allocations: 2.412 MB / 0.7738 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.338e-06/1.721, allocations: 4 kB / 0.7738 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.734, allocations: 7.391 MB / 0.781 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009121/1.735, allocations: 349.1 kB / 0.7813 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008886/1.735, allocations: 51.94 kB / 0.7814 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.738, allocations: 131.8 kB / 0.7815 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005131/1.738, allocations: 141.7 kB / 0.7817 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/1.739, allocations: 75.25 kB / 0.7817 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004026/1.743, allocations: 1.865 MB / 0.7835 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.057e-06/1.743, allocations: 3.188 kB / 0.7835 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006464/1.749, allocations: 1.119 MB / 0.7846 GB, free: 8.832 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 193 * 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.0006947/1.75, allocations: 199 kB / 0.7848 GB, free: 8.641 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:80:3-82:159:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01151/1.761, allocations: 5.796 MB / 0.7905 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.761, allocations: 4 kB / 0.7905 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004966/1.766, allocations: 2.454 MB / 0.7929 GB, free: 360 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/1.769, allocations: 425.5 kB / 0.7933 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/1.792, allocations: 9.285 MB / 0.8024 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008588/1.801, allocations: 3.814 MB / 0.8061 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007124/1.808, allocations: 2.043 MB / 0.8081 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.81, allocations: 239.4 kB / 0.8083 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of SimCode: time 1.924e-06/1.81, allocations: 0 / 0.8083 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of Templates: time 0.4042/2.214, allocations: 38.36 MB / 0.8458 GB, free: 118.5 MB / 0.5261 GB