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.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.101e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3807, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.05437/0.4352, allocations: 33.58 MB / 396.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0233/0.4585, allocations: 7.969 MB / 404.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007478/0.4661, allocations: 179.6 kB / 404.6 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00628/0.4724, allocations: 1.789 MB / 406.4 MB, free: 2.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01831/0.4908, allocations: 4.916 MB / 411.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.4938, allocations: 475.2 kB / 411.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005068/0.4989, allocations: 1.67 MB / 413.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007936/0.5069, allocations: 3.8 MB / 417.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.5088, allocations: 0.8181 MB / 418 MB, free: 6.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.5116, allocations: 1.317 MB / 419.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.5145, allocations: 0.8738 MB / 420.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.5156, allocations: 135.9 kB / 420.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002553/0.5182, allocations: 1.621 MB / 422 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.5196, allocations: 272 kB / 422.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009985/0.5296, allocations: 6.34 MB / 428.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5296, allocations: 3.938 kB / 428.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.871e-06/0.5296, allocations: 0 / 428.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002628/0.5299, allocations: 7.938 kB / 428.6 MB, free: 11.93 MB / 362.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.01575/0.5457, allocations: 4.538 MB / 433.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5458, allocations: 8.031 kB / 433.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02394/0.5697, allocations: 3.858 MB / 437 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007646/0.5774, allocations: 2.535 MB / 439.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/0.5778, allocations: 266.8 kB / 439.8 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.5799, allocations: 355.7 kB / 440.1 MB, free: 260 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/0.6136, allocations: 12.63 MB / 452.8 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/0.6138, allocations: 43.66 kB / 452.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.6152, allocations: 163.8 kB / 453 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007846/0.623, allocations: 2.739 MB / 455.7 MB, free: 212 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03648/0.6596, allocations: 11.59 MB / 467.3 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4155/1.075, allocations: 40.23 MB / 0.4956 GB, free: 97.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/1.091, allocations: 4.89 MB / 0.5004 GB, free: 95.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/1.107, allocations: 6.555 MB / 0.5068 GB, free: 93.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.107, allocations: 55.33 kB / 0.5069 GB, free: 93.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 6.051e-06/1.107, allocations: 0 / 0.5069 GB, free: 93.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.08557/1.192, allocations: 19.58 MB / 0.526 GB, free: 83.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.193, allocations: 73.41 kB / 0.526 GB, free: 83.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00562/1.198, allocations: 2.944 MB / 0.5289 GB, free: 80.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000579/1.199, allocations: 62.62 kB / 0.529 GB, free: 80.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/1.201, allocations: 3.277 MB / 0.5322 GB, free: 76.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.202, allocations: 0.9374 MB / 0.5331 GB, free: 75.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006521/1.203, allocations: 124.4 kB / 0.5332 GB, free: 75.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004395/1.204, allocations: 0.5753 MB / 0.5338 GB, free: 75.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005726/1.209, allocations: 2.46 MB / 0.5362 GB, free: 72.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007936/1.217, allocations: 5.825 MB / 0.5419 GB, free: 65.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008233/1.226, allocations: 3.783 MB / 0.5456 GB, free: 61.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.226, allocations: 36 kB / 0.5456 GB, free: 61.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03221/1.258, allocations: 10.05 MB / 0.5554 GB, free: 51.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/1.258, allocations: 61.34 kB / 0.5555 GB, free: 51.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.258, allocations: 116 kB / 0.5556 GB, free: 51.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02063/1.279, allocations: 2.414 MB / 0.5579 GB, free: 49.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/1.29, allocations: 1.357 MB / 0.5593 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03684/1.327, allocations: 11.16 MB / 0.5702 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008542/1.336, allocations: 328.9 kB / 0.5705 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.337, allocations: 357.2 kB / 0.5708 GB, free: 35.72 MB / 426.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.00749/1.345, allocations: 2.398 MB / 0.5732 GB, free: 33.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009538/1.346, allocations: 304.1 kB / 0.5734 GB, free: 33.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.363, allocations: 4.651 MB / 0.578 GB, free: 28.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001254/1.363, allocations: 48.73 kB / 0.578 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.363, allocations: 0 / 0.578 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/1.363, allocations: 11.95 kB / 0.578 GB, free: 28.24 MB / 426.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.02862/1.392, allocations: 11.01 MB / 0.5888 GB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/1.392, allocations: 4 kB / 0.5888 GB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/1.396, allocations: 415.4 kB / 0.5892 GB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/1.4, allocations: 0.6935 MB / 0.5899 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005474/1.4, allocations: 55.97 kB / 0.5899 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00399/1.404, allocations: 2.444 MB / 0.5923 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.404, allocations: 8.016 kB / 0.5923 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.422, allocations: 7.47 MB / 0.5996 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.423, allocations: 361 kB / 0.6 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/1.425, allocations: 47.98 kB / 0.6 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003182/1.428, allocations: 143.8 kB / 0.6001 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007286/1.429, allocations: 137.4 kB / 0.6003 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003039/1.429, allocations: 75.97 kB / 0.6003 GB, free: 4.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004572/1.433, allocations: 2.002 MB / 0.6023 GB, free: 2.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.433, allocations: 4 kB / 0.6023 GB, free: 2.887 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006965/1.44, allocations: 1.142 MB / 0.6034 GB, free: 1.75 MB / 426.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.001043/1.442, allocations: 207.4 kB / 0.6036 GB, free: 1.543 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Joints.mo:1952:5-1954: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.2/Mechanics/MultiBody/Joints.mo:1958:5-1960: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.2/Mechanics/MultiBody/Joints.mo:1955:5-1957: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.01615/1.458, allocations: 6.143 MB / 0.6096 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.458, allocations: 4 kB / 0.6096 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008527/1.466, allocations: 2.534 MB / 0.6121 GB, free: 8.816 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/1.47, allocations: 414.1 kB / 0.6125 GB, free: 8.418 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/1.51, allocations: 13.98 MB / 0.6261 GB, free: 10.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/1.522, allocations: 3.873 MB / 0.6299 GB, free: 6.445 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002723/1.525, allocations: 291.4 kB / 0.6302 GB, free: 6.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/1.525, allocations: 0 / 0.6302 GB, free: 6.16 MB / 458.7 MB Notification: Performance of Templates: time 0.5413/2.067, allocations: 114.4 MB / 0.7419 GB, free: 138 MB / 0.4948 GB