Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 1.985/1.985, allocations: 209.2 MB / 224.4 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.477e-05, allocations: 8 kB / 276.1 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3719, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.1304/0.5023, allocations: 81.58 MB / 406.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05395/0.5563, allocations: 17.31 MB / 423.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02173/0.5781, allocations: 442.9 kB / 424.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02062/0.5988, allocations: 4.328 MB / 428.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05735/0.6562, allocations: 11.57 MB / 440.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009653/0.6659, allocations: 1.151 MB / 441.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06408/0.7301, allocations: 18.8 MB / 460 MB, free: 8.102 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01871/0.7489, allocations: 8.617 MB / 468.6 MB, free: 15.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004423/0.7533, allocations: 1.601 MB / 470.2 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005833/0.7592, allocations: 2.423 MB / 472.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004321/0.7636, allocations: 1.061 MB / 473.7 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002188/0.7659, allocations: 212 kB / 473.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005332/0.7713, allocations: 2.914 MB / 476.8 MB, free: 7.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.7742, allocations: 0.5195 MB / 477.4 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.355/1.129, allocations: 10.45 MB / 487.8 MB, free: 27.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.129, allocations: 0 / 487.8 MB, free: 27.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.446e-06/1.129, allocations: 0 / 487.8 MB, free: 27.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005306/1.13, allocations: 0 / 487.8 MB, free: 27.91 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.02917/1.159, allocations: 7.231 MB / 495 MB, free: 25.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.159, allocations: 8.656 kB / 495.1 MB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.249/1.408, allocations: 15.94 MB / 0.499 GB, free: 22.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0213/1.43, allocations: 6.276 MB / 0.5051 GB, free: 20.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006974/1.43, allocations: 472.2 kB / 0.5056 GB, free: 20.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006333/1.437, allocations: 0.9651 MB / 0.5065 GB, free: 20.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05862/1.495, allocations: 17.38 MB / 0.5235 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005348/1.496, allocations: 84.39 kB / 0.5236 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003897/1.5, allocations: 292.2 kB / 0.5239 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006926/1.507, allocations: 2.653 MB / 0.5265 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05041/1.557, allocations: 14.72 MB / 0.5408 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1474/1.705, allocations: 67.54 MB / 0.6068 GB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03845/1.743, allocations: 7.148 MB / 0.6138 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04232/1.786, allocations: 14.96 MB / 0.6284 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.903e-05/1.786, allocations: 68.02 kB / 0.6285 GB, free: 7.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=261): time 7.384e-06/1.786, allocations: 4 kB / 0.6285 GB, free: 7.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=289): time 0.4334/2.219, allocations: 28.48 MB / 0.6563 GB, free: 211.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005614/2.225, allocations: 6.3 MB / 0.6624 GB, free: 206 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01682/2.242, allocations: 6.341 MB / 0.6686 GB, free: 204.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/2.243, allocations: 72.95 kB / 0.6687 GB, free: 204 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00452/2.247, allocations: 5.027 MB / 0.6736 GB, free: 200.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002307/2.25, allocations: 1.182 MB / 0.6747 GB, free: 199.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/2.251, allocations: 191.6 kB / 0.6749 GB, free: 199.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006774/2.252, allocations: 0.7279 MB / 0.6756 GB, free: 199.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01121/2.263, allocations: 4.042 MB / 0.6796 GB, free: 197.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01444/2.277, allocations: 9.792 MB / 0.6891 GB, free: 188.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/2.292, allocations: 6.091 MB / 0.6951 GB, free: 186.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002781/2.292, allocations: 58.53 kB / 0.6952 GB, free: 186.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1267) (initialization): time 0.04979/2.342, allocations: 15.87 MB / 0.7106 GB, free: 177 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/2.342, allocations: 92 kB / 0.7107 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02663/2.369, allocations: 7.506 MB / 0.7181 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02234/2.391, allocations: 3.649 MB / 0.7216 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01492/2.406, allocations: 2.3 MB / 0.7239 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/2.428, allocations: 13.63 MB / 0.7372 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/2.442, allocations: 0.8477 MB / 0.738 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/2.445, allocations: 0.5905 MB / 0.7386 GB, free: 147.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1191): * Single equations (assignments): 1166 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.009455/2.454, allocations: 3.359 MB / 0.7419 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001833/2.456, allocations: 0.5823 MB / 0.7424 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02768/2.484, allocations: 7.823 MB / 0.7501 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02532/2.509, allocations: 6.983 MB / 0.7569 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-05/2.509, allocations: 11.98 kB / 0.7569 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.782e-05/2.509, allocations: 15.91 kB / 0.7569 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/2.528, allocations: 7.552 MB / 0.7643 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-05/2.528, allocations: 4 kB / 0.7643 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00646/2.535, allocations: 0.6201 MB / 0.7649 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/2.552, allocations: 3.211 MB / 0.768 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/2.553, allocations: 91.91 kB / 0.7681 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/2.575, allocations: 14.3 MB / 0.7821 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004515/2.58, allocations: 6.094 MB / 0.7881 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03465/2.614, allocations: 12.1 MB / 0.7999 GB, free: 83.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004565/2.619, allocations: 1.173 MB / 0.801 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002536/2.622, allocations: 76.52 kB / 0.8011 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007398/2.629, allocations: 376.1 kB / 0.8014 GB, free: 81.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/2.631, allocations: 217.5 kB / 0.8017 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004475/2.631, allocations: 96.89 kB / 0.8017 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01022/2.641, allocations: 4.474 MB / 0.8061 GB, free: 76.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.042e-06/2.641, allocations: 0 / 0.8061 GB, free: 76.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01266/2.654, allocations: 2.059 MB / 0.8081 GB, free: 74.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 218 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001573/2.656, allocations: 248.2 kB / 0.8084 GB, free: 74.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03055/2.686, allocations: 11.47 MB / 0.8196 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.686, allocations: 0 / 0.8196 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0171/2.703, allocations: 5.448 MB / 0.8249 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007996/2.711, allocations: 0.8467 MB / 0.8257 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05482/2.766, allocations: 23.39 MB / 0.8486 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/2.777, allocations: 5.411 MB / 0.8538 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003192/2.781, allocations: 0.4915 MB / 0.8543 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/2.781, allocations: 0 / 0.8543 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of Templates: time 1.752/4.533, allocations: 0.5024 GB / 1.357 GB, free: 91.03 MB / 0.4948 GB