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_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.468e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08878, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4556, allocations: 94.91 MB / 416.7 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4558, allocations: 73.59 kB / 416.7 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3849/0.8407, allocations: 97.91 MB / 0.5026 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.317e-06/0.8408, allocations: 0 / 0.5026 GB, free: 5.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002337/0.841, allocations: 95.98 kB / 0.5027 GB, free: 5.645 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.01912/0.8602, allocations: 4.659 MB / 0.5072 GB, free: 0.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.8602, allocations: 8.031 kB / 0.5072 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02798/0.8882, allocations: 3.632 MB / 0.5108 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01659/0.9048, allocations: 4.89 MB / 0.5156 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005683/0.9054, allocations: 377.9 kB / 0.5159 GB, free: 7.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002622/0.9081, allocations: 499.8 kB / 0.5164 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3163/1.224, allocations: 12.08 MB / 0.5282 GB, free: 85.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/1.225, allocations: 34.88 kB / 0.5282 GB, free: 85.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002164/1.227, allocations: 229.2 kB / 0.5284 GB, free: 85.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/1.23, allocations: 1.319 MB / 0.5297 GB, free: 85.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02945/1.259, allocations: 11.23 MB / 0.5407 GB, free: 85.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06796/1.327, allocations: 41.98 MB / 0.5817 GB, free: 65.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/1.34, allocations: 4.826 MB / 0.5864 GB, free: 63.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004291/1.344, allocations: 2.353 MB / 0.5887 GB, free: 62.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/1.357, allocations: 6.581 MB / 0.5951 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.357, allocations: 51.97 kB / 0.5952 GB, free: 59.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 6.692e-06/1.357, allocations: 0 / 0.5952 GB, free: 59.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.05865/1.416, allocations: 16.09 MB / 0.6109 GB, free: 54.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/1.416, allocations: 75.84 kB / 0.611 GB, free: 54.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/1.421, allocations: 2.816 MB / 0.6137 GB, free: 53.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004319/1.422, allocations: 55.14 kB / 0.6138 GB, free: 53.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/1.424, allocations: 3.277 MB / 0.617 GB, free: 50.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.425, allocations: 0.942 MB / 0.6179 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005968/1.426, allocations: 120.5 kB / 0.618 GB, free: 49.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004245/1.426, allocations: 0.5759 MB / 0.6186 GB, free: 49.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005059/1.431, allocations: 2.409 MB / 0.6209 GB, free: 47.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006786/1.438, allocations: 5.739 MB / 0.6265 GB, free: 40.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006711/1.445, allocations: 3.77 MB / 0.6302 GB, free: 37.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-05/1.445, allocations: 36 kB / 0.6302 GB, free: 37.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02469/1.47, allocations: 9.544 MB / 0.6396 GB, free: 29.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.23e-05/1.47, allocations: 52 kB / 0.6396 GB, free: 29.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.47, allocations: 124.1 kB / 0.6397 GB, free: 29.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.481, allocations: 2.352 MB / 0.642 GB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006162/1.487, allocations: 1.359 MB / 0.6434 GB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/1.507, allocations: 10.61 MB / 0.6537 GB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/1.513, allocations: 332.3 kB / 0.654 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.515, allocations: 355.8 kB / 0.6544 GB, free: 17.2 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.001655/1.516, allocations: 0.542 MB / 0.6549 GB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006955/1.517, allocations: 304 kB / 0.6552 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00975/1.527, allocations: 4.596 MB / 0.6597 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.652e-05/1.527, allocations: 44 kB / 0.6597 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.527, allocations: 6.75 kB / 0.6597 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-05/1.527, allocations: 13.98 kB / 0.6597 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/1.552, allocations: 10.78 MB / 0.6703 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.552, allocations: 4 kB / 0.6703 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/1.554, allocations: 423.3 kB / 0.6707 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/1.557, allocations: 0.6931 MB / 0.6714 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004946/1.557, allocations: 50.64 kB / 0.6714 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/1.561, allocations: 2.416 MB / 0.6738 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-05/1.561, allocations: 11.92 kB / 0.6738 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.577, allocations: 7.39 MB / 0.681 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.578, allocations: 353 kB / 0.6813 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.579, allocations: 47.95 kB / 0.6814 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/1.581, allocations: 146.8 kB / 0.6815 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/1.582, allocations: 141.6 kB / 0.6816 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/1.582, allocations: 71.97 kB / 0.6817 GB, free: 6.574 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004951/1.587, allocations: 1.902 MB / 0.6836 GB, free: 4.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.063e-06/1.587, allocations: 0 / 0.6836 GB, free: 4.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00759/1.595, allocations: 1.134 MB / 0.6847 GB, free: 3.543 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.0008351/1.596, allocations: 190 kB / 0.6849 GB, free: 3.359 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.2533/1.849, allocations: 5.859 MB / 0.6906 GB, free: 98.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.439e-06/1.849, allocations: 0 / 0.6906 GB, free: 98.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005715/1.855, allocations: 2.49 MB / 0.693 GB, free: 98.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.858, allocations: 409.4 kB / 0.6934 GB, free: 98.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/1.882, allocations: 9.979 MB / 0.7031 GB, free: 96.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008023/1.89, allocations: 3.882 MB / 0.7069 GB, free: 95.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.892, allocations: 287.6 kB / 0.7072 GB, free: 95.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.946e-06/1.892, allocations: 5.734 kB / 0.7072 GB, free: 95.37 MB / 442.7 MB Notification: Performance of Templates: time 0.1484/2.04, allocations: 113 MB / 0.8175 GB, free: 28.46 MB / 442.7 MB