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_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadModel(ModelicaTest): time 1.821/1.821, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.898e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08478, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.4656, allocations: 91.16 MB / 412.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4659, allocations: 73.38 kB / 413 MB, free: 3.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3334/0.7993, allocations: 90.95 MB / 0.4921 GB, free: 492 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.622e-06/0.7994, allocations: 0 / 0.4921 GB, free: 492 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001854/0.7996, allocations: 84 kB / 0.4922 GB, free: 408 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.01611/0.8157, allocations: 4.297 MB / 0.4964 GB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.8158, allocations: 12.03 kB / 0.4964 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02027/0.8361, allocations: 3.578 MB / 0.4999 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.8515, allocations: 4.706 MB / 0.5045 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004126/0.8519, allocations: 340.7 kB / 0.5048 GB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.8538, allocations: 443.8 kB / 0.5052 GB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02768/0.8815, allocations: 11.35 MB / 0.5163 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.8817, allocations: 23.72 kB / 0.5164 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009235/0.8827, allocations: 203.9 kB / 0.5166 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002248/0.8849, allocations: 1.251 MB / 0.5178 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2558/1.141, allocations: 10.81 MB / 0.5283 GB, free: 92.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06105/1.202, allocations: 38.03 MB / 0.5655 GB, free: 78.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/1.213, allocations: 4.63 MB / 0.57 GB, free: 76.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003658/1.216, allocations: 2.218 MB / 0.5722 GB, free: 75.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.218, allocations: 1.319 MB / 0.5734 GB, free: 74.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.218, allocations: 54.78 kB / 0.5735 GB, free: 74.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.519e-06/1.218, allocations: 3.531 kB / 0.5735 GB, free: 74.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.0451/1.263, allocations: 11.27 MB / 0.5845 GB, free: 71.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.263, allocations: 73.28 kB / 0.5846 GB, free: 71.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/1.267, allocations: 2.483 MB / 0.587 GB, free: 70.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003834/1.267, allocations: 64.55 kB / 0.5871 GB, free: 70.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/1.269, allocations: 2.943 MB / 0.5899 GB, free: 68.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001343/1.27, allocations: 0.9418 MB / 0.5909 GB, free: 67.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005879/1.271, allocations: 113.1 kB / 0.591 GB, free: 67.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000549/1.271, allocations: 0.5629 MB / 0.5915 GB, free: 67.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007372/1.279, allocations: 2.23 MB / 0.5937 GB, free: 66.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009744/1.289, allocations: 5.326 MB / 0.5989 GB, free: 61.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009863/1.298, allocations: 3.51 MB / 0.6023 GB, free: 60.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.299, allocations: 31.38 kB / 0.6023 GB, free: 60.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02708/1.326, allocations: 7.927 MB / 0.6101 GB, free: 58.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.49e-05/1.326, allocations: 51.5 kB / 0.6101 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/1.326, allocations: 118.9 kB / 0.6102 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/1.33, allocations: 1.032 MB / 0.6113 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005602/1.336, allocations: 1.314 MB / 0.6125 GB, free: 56.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/1.338, allocations: 2.456 MB / 0.6149 GB, free: 54.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.343, allocations: 316.5 kB / 0.6152 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006352/1.344, allocations: 334.7 kB / 0.6156 GB, free: 54.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * Number of states: 0 () * Number of discrete variables: 21 (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 (710): * Single equations (assignments): 701 * 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.0008866/1.345, allocations: 0.5159 MB / 0.6161 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/1.345, allocations: 280.3 kB / 0.6163 GB, free: 53.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009818/1.355, allocations: 4.87 MB / 0.6211 GB, free: 49.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.693e-05/1.355, allocations: 47.61 kB / 0.6211 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.355, allocations: 0 / 0.6211 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/1.355, allocations: 10.17 kB / 0.6211 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.378, allocations: 11.43 MB / 0.6323 GB, free: 39.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.378, allocations: 8.219 kB / 0.6323 GB, free: 39.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/1.381, allocations: 421 kB / 0.6327 GB, free: 39.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/1.384, allocations: 0.6004 MB / 0.6333 GB, free: 38.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/1.384, allocations: 64.02 kB / 0.6334 GB, free: 38.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/1.386, allocations: 2.062 MB / 0.6354 GB, free: 36.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.916e-06/1.386, allocations: 11.94 kB / 0.6354 GB, free: 36.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.4, allocations: 7.666 MB / 0.6429 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007693/1.401, allocations: 340.9 kB / 0.6432 GB, free: 29.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005368/1.401, allocations: 52.5 kB / 0.6432 GB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.403, allocations: 130.9 kB / 0.6434 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/1.403, allocations: 159.4 kB / 0.6435 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.403, allocations: 76.81 kB / 0.6436 GB, free: 28.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002712/1.406, allocations: 1.681 MB / 0.6452 GB, free: 27.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.406, allocations: 0 / 0.6452 GB, free: 27.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00532/1.411, allocations: 0.9942 MB / 0.6462 GB, free: 26.42 MB / 426.7 MB 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 (207): * Single equations (assignments): 198 * 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.000515/1.412, allocations: 197.2 kB / 0.6464 GB, free: 26.23 MB / 426.7 MB [/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 $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 3.2.1/Mechanics/MultiBody/Joints.mo:1984:5-1986:161: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.01024/1.422, allocations: 5.716 MB / 0.652 GB, free: 21.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.27e-06/1.422, allocations: 0 / 0.652 GB, free: 21.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004292/1.427, allocations: 2.331 MB / 0.6543 GB, free: 18.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.429, allocations: 394 kB / 0.6546 GB, free: 18.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.447, allocations: 9.739 MB / 0.6641 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004721/1.451, allocations: 3.604 MB / 0.6677 GB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.453, allocations: 279.4 kB / 0.6679 GB, free: 5.672 MB / 426.7 MB Notification: Performance of SimCode: time 1.93e-06/1.453, allocations: 4 kB / 0.6679 GB, free: 5.668 MB / 426.7 MB Notification: Performance of Templates: time 0.3851/1.838, allocations: 113 MB / 0.7783 GB, free: 61.78 MB / 442.7 MB