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.283/2.283, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.316e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3653, allocations: 48.69 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.05564/0.421, allocations: 33.58 MB / 358.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02626/0.4473, allocations: 7.936 MB / 366.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00984/0.4572, allocations: 175.6 kB / 366.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007478/0.4647, allocations: 1.797 MB / 368.3 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02109/0.4858, allocations: 4.92 MB / 373.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.4896, allocations: 483.2 kB / 373.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005704/0.4954, allocations: 1.667 MB / 375.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008402/0.5038, allocations: 3.806 MB / 379.2 MB, free: 9.102 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.5061, allocations: 0.8026 MB / 380 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.5093, allocations: 1.328 MB / 381.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.5126, allocations: 0.8738 MB / 382.2 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.514, allocations: 132 kB / 382.3 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002999/0.517, allocations: 1.621 MB / 383.9 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.5186, allocations: 272 kB / 384.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.5292, allocations: 6.344 MB / 390.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5292, allocations: 0 / 390.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5292, allocations: 4 kB / 390.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002946/0.5296, allocations: 4 kB / 390.6 MB, free: 13.7 MB / 330.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.01656/0.5461, allocations: 4.545 MB / 395.1 MB, free: 9.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.5462, allocations: 8.031 kB / 395.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02431/0.5705, allocations: 3.85 MB / 399 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008045/0.5786, allocations: 2.531 MB / 401.5 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004153/0.5791, allocations: 270.8 kB / 401.8 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.5814, allocations: 355.7 kB / 402.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.035/0.6164, allocations: 12.64 MB / 414.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.6166, allocations: 31.72 kB / 414.8 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.6178, allocations: 163.8 kB / 414.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007944/0.6258, allocations: 2.747 MB / 417.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03761/0.6634, allocations: 11.59 MB / 429.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09432/0.7578, allocations: 40.22 MB / 469.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/0.7755, allocations: 4.885 MB / 474.4 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/0.7937, allocations: 6.564 MB / 480.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.7938, allocations: 48.56 kB / 481 MB, free: 1.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=231): time 6.883e-06/0.7938, allocations: 0 / 481 MB, free: 1.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.3895/1.183, allocations: 19.56 MB / 0.4888 GB, free: 120.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.183, allocations: 72.66 kB / 0.4889 GB, free: 120.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009375/1.193, allocations: 2.952 MB / 0.4918 GB, free: 119.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006277/1.194, allocations: 61.42 kB / 0.4918 GB, free: 119.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003381/1.197, allocations: 3.279 MB / 0.495 GB, free: 116.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/1.199, allocations: 0.9422 MB / 0.496 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007485/1.2, allocations: 117.2 kB / 0.4961 GB, free: 116 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005912/1.2, allocations: 0.5793 MB / 0.4966 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006318/1.207, allocations: 2.468 MB / 0.499 GB, free: 114.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008373/1.215, allocations: 5.823 MB / 0.5047 GB, free: 109.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008898/1.224, allocations: 3.785 MB / 0.5084 GB, free: 107.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/1.224, allocations: 36 kB / 0.5085 GB, free: 107.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03454/1.259, allocations: 10.04 MB / 0.5183 GB, free: 98.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.469e-05/1.259, allocations: 56 kB / 0.5183 GB, free: 98.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/1.259, allocations: 116 kB / 0.5184 GB, free: 98.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01638/1.275, allocations: 2.412 MB / 0.5208 GB, free: 95.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008175/1.284, allocations: 1.361 MB / 0.5221 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02954/1.313, allocations: 11.16 MB / 0.533 GB, free: 83.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/1.319, allocations: 331.7 kB / 0.5333 GB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/1.321, allocations: 357.1 kB / 0.5337 GB, free: 82.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * 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 (734): * Single equations (assignments): 726 * 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.006013/1.327, allocations: 2.408 MB / 0.536 GB, free: 80.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008297/1.328, allocations: 304.1 kB / 0.5363 GB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.341, allocations: 4.645 MB / 0.5409 GB, free: 75.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.94e-05/1.341, allocations: 47.98 kB / 0.5409 GB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.341, allocations: 0 / 0.5409 GB, free: 75.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.557e-05/1.341, allocations: 11.95 kB / 0.5409 GB, free: 75 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/1.37, allocations: 11.01 MB / 0.5517 GB, free: 63.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/1.37, allocations: 0 / 0.5517 GB, free: 63.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/1.374, allocations: 415.4 kB / 0.5521 GB, free: 63.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003585/1.378, allocations: 0.6896 MB / 0.5527 GB, free: 62.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005465/1.378, allocations: 53.16 kB / 0.5528 GB, free: 62.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/1.382, allocations: 2.448 MB / 0.5552 GB, free: 60.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.382, allocations: 7.953 kB / 0.5552 GB, free: 60.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.399, allocations: 7.478 MB / 0.5625 GB, free: 52.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.4, allocations: 357.1 kB / 0.5628 GB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.401, allocations: 44.94 kB / 0.5629 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/1.404, allocations: 153 kB / 0.563 GB, free: 51.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/1.405, allocations: 141.6 kB / 0.5631 GB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/1.405, allocations: 68.53 kB / 0.5632 GB, free: 51.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004178/1.409, allocations: 2.002 MB / 0.5652 GB, free: 49.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.409, allocations: 0 / 0.5652 GB, free: 49.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006759/1.416, allocations: 1.152 MB / 0.5663 GB, free: 48.51 MB / 410.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.0009961/1.417, allocations: 208.4 kB / 0.5665 GB, free: 48.31 MB / 410.7 MB [/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: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: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.01485/1.432, allocations: 6.142 MB / 0.5725 GB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.432, allocations: 4 kB / 0.5725 GB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007043/1.439, allocations: 2.535 MB / 0.575 GB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/1.443, allocations: 414.8 kB / 0.5754 GB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/1.472, allocations: 13.98 MB / 0.589 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006968/1.479, allocations: 3.873 MB / 0.5928 GB, free: 21.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/1.481, allocations: 299.4 kB / 0.5931 GB, free: 20.91 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/1.481, allocations: 0 / 0.5931 GB, free: 20.91 MB / 410.7 MB Notification: Performance of Templates: time 0.4908/1.972, allocations: 114.4 MB / 0.7048 GB, free: 66.7 MB / 426.7 MB