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_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.72e-05, allocations: 7.984 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08721, allocations: 48.7 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.4936, allocations: 94.91 MB / 416.7 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4939, allocations: 73.16 kB / 416.8 MB, free: 352 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3818/0.8757, allocations: 97.91 MB / 0.5026 GB, free: 5.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.556e-06/0.8757, allocations: 0 / 0.5026 GB, free: 5.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002356/0.876, allocations: 91.94 kB / 0.5027 GB, free: 5.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.01893/0.8949, allocations: 4.656 MB / 0.5073 GB, free: 448 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.895, allocations: 8.031 kB / 0.5073 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/0.9157, allocations: 3.632 MB / 0.5108 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/0.9324, allocations: 4.894 MB / 0.5156 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005651/0.933, allocations: 377.9 kB / 0.5159 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/0.9356, allocations: 499.8 kB / 0.5164 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2732/1.209, allocations: 12.08 MB / 0.5282 GB, free: 86.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000273/1.209, allocations: 36.27 kB / 0.5283 GB, free: 86.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002156/1.211, allocations: 224 kB / 0.5285 GB, free: 86.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002515/1.214, allocations: 1.316 MB / 0.5298 GB, free: 86.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02895/1.243, allocations: 11.23 MB / 0.5407 GB, free: 86.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06737/1.31, allocations: 41.97 MB / 0.5817 GB, free: 66.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/1.323, allocations: 4.831 MB / 0.5864 GB, free: 64.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/1.327, allocations: 2.352 MB / 0.5887 GB, free: 63.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/1.341, allocations: 6.578 MB / 0.5952 GB, free: 59.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.341, allocations: 51.06 kB / 0.5952 GB, free: 59.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 7.003e-06/1.341, allocations: 3.375 kB / 0.5952 GB, free: 59.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.05907/1.4, allocations: 16.09 MB / 0.6109 GB, free: 55.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.4, allocations: 74.31 kB / 0.611 GB, free: 55.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/1.405, allocations: 2.82 MB / 0.6137 GB, free: 54.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004538/1.406, allocations: 53.67 kB / 0.6138 GB, free: 54.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002149/1.408, allocations: 3.284 MB / 0.617 GB, free: 51.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001181/1.409, allocations: 0.9418 MB / 0.6179 GB, free: 50.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006092/1.41, allocations: 123.5 kB / 0.618 GB, free: 50.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004513/1.41, allocations: 0.5733 MB / 0.6186 GB, free: 50.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/1.415, allocations: 2.406 MB / 0.6209 GB, free: 48.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00655/1.422, allocations: 5.741 MB / 0.6266 GB, free: 41.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006854/1.429, allocations: 3.765 MB / 0.6302 GB, free: 38.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.33e-05/1.429, allocations: 36 kB / 0.6303 GB, free: 38.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02518/1.454, allocations: 9.618 MB / 0.6397 GB, free: 30.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.454, allocations: 56 kB / 0.6397 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.455, allocations: 120 kB / 0.6398 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/1.466, allocations: 2.356 MB / 0.6421 GB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00596/1.472, allocations: 1.361 MB / 0.6435 GB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/1.492, allocations: 10.61 MB / 0.6538 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005778/1.498, allocations: 328.3 kB / 0.6541 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.499, allocations: 355.6 kB / 0.6545 GB, free: 17.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (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.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (733): * Single equations (assignments): 725 * 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 {3 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.001672/1.501, allocations: 0.5448 MB / 0.655 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006797/1.502, allocations: 308 kB / 0.6553 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.512, allocations: 4.588 MB / 0.6598 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.089e-05/1.512, allocations: 52.55 kB / 0.6598 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.512, allocations: 7.75 kB / 0.6598 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/1.512, allocations: 14.69 kB / 0.6598 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.538, allocations: 10.78 MB / 0.6704 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/1.538, allocations: 7.125 kB / 0.6704 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.541, allocations: 423.3 kB / 0.6708 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/1.543, allocations: 0.6969 MB / 0.6715 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005356/1.544, allocations: 53.08 kB / 0.6715 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/1.547, allocations: 2.405 MB / 0.6739 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.588e-06/1.547, allocations: 8.062 kB / 0.6739 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/1.564, allocations: 7.398 MB / 0.6811 GB, free: 7.836 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.565, allocations: 345.1 kB / 0.6814 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.566, allocations: 51.94 kB / 0.6815 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.569, allocations: 137.2 kB / 0.6816 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006439/1.569, allocations: 141.8 kB / 0.6817 GB, free: 7.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/1.569, allocations: 69.61 kB / 0.6818 GB, free: 7.086 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004772/1.574, allocations: 1.905 MB / 0.6837 GB, free: 5.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.108e-06/1.574, allocations: 0 / 0.6837 GB, free: 5.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007234/1.582, allocations: 1.136 MB / 0.6848 GB, free: 4.051 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (206): * Single equations (assignments): 197 * 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.0008449/1.582, allocations: 200.6 kB / 0.685 GB, free: 3.859 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1990:5-1992:161: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 3.2.1/Mechanics/MultiBody/Joints.mo:1984:5-1986:161: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 3.2.1/Mechanics/MultiBody/Joints.mo:1987:5-1989:161: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.2943/1.877, allocations: 5.854 MB / 0.6907 GB, free: 98.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.877, allocations: 1.125 kB / 0.6907 GB, free: 98.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00565/1.882, allocations: 2.485 MB / 0.6931 GB, free: 97.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.885, allocations: 421.2 kB / 0.6935 GB, free: 97.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/1.909, allocations: 9.435 MB / 0.7027 GB, free: 95.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008852/1.918, allocations: 3.876 MB / 0.7065 GB, free: 95.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006824/1.925, allocations: 2.064 MB / 0.7085 GB, free: 95.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.926, allocations: 241.3 kB / 0.7088 GB, free: 95.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.884e-06/1.926, allocations: 0 / 0.7088 GB, free: 95.14 MB / 442.7 MB Notification: Performance of Templates: time 0.101/2.027, allocations: 38.68 MB / 0.7465 GB, free: 93 MB / 442.7 MB