Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.817e-05, allocations: 3.938 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4146, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.05686/0.4716, allocations: 36.43 MB / 361.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02731/0.4989, allocations: 8.591 MB / 369.9 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009737/0.5087, allocations: 199.4 kB / 370.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007412/0.5162, allocations: 1.898 MB / 372 MB, free: 380 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02122/0.5374, allocations: 5.236 MB / 377.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003797/0.5413, allocations: 0.5733 MB / 377.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005481/0.5468, allocations: 1.752 MB / 379.5 MB, free: 8.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007471/0.5544, allocations: 3.597 MB / 383.1 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.5563, allocations: 0.7948 MB / 383.9 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.5589, allocations: 1.18 MB / 385.1 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.5617, allocations: 0.8856 MB / 386 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009569/0.5627, allocations: 116 kB / 386.1 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.5651, allocations: 1.504 MB / 387.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.5662, allocations: 264 kB / 387.9 MB, free: 420 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008711/0.5749, allocations: 5.401 MB / 393.3 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.575, allocations: 0 / 393.3 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.575, allocations: 0 / 393.3 MB, free: 11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002329/0.5752, allocations: 0 / 393.3 MB, free: 11 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01201/0.5873, allocations: 3.846 MB / 397.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5873, allocations: 12.03 kB / 397.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/0.6025, allocations: 2.276 MB / 399.4 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007724/0.6103, allocations: 2.686 MB / 402.1 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.6106, allocations: 246 kB / 402.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.6123, allocations: 399.5 kB / 402.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03175/0.644, allocations: 9.991 MB / 412.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002087/0.6443, allocations: 43.59 kB / 412.7 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009044/0.6452, allocations: 159.8 kB / 412.9 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006635/0.6519, allocations: 1.845 MB / 414.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03645/0.6884, allocations: 8.47 MB / 423.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07841/0.7669, allocations: 39.21 MB / 462.4 MB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/0.7827, allocations: 3.613 MB / 466 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/0.8002, allocations: 7.171 MB / 473.2 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.8003, allocations: 51.55 kB / 473.3 MB, free: 8.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.38e-06/0.8003, allocations: 0 / 473.3 MB, free: 8.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.3518/1.152, allocations: 14.44 MB / 487.7 MB, free: 126.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001459/1.154, allocations: 1.6 MB / 489.3 MB, free: 124.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009256/1.163, allocations: 3.707 MB / 493 MB, free: 123.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004274/1.163, allocations: 48.94 kB / 493 MB, free: 123.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003025/1.166, allocations: 3.068 MB / 496.1 MB, free: 120.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001181/1.168, allocations: 0.6297 MB / 496.7 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000603/1.168, allocations: 120.6 kB / 496.9 MB, free: 120.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004624/1.169, allocations: 0.5629 MB / 497.4 MB, free: 119.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005717/1.175, allocations: 2.028 MB / 499.5 MB, free: 119.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008134/1.183, allocations: 5.789 MB / 0.4934 GB, free: 113.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008036/1.191, allocations: 3.352 MB / 0.4967 GB, free: 112.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002013/1.191, allocations: 38.94 kB / 0.4967 GB, free: 112.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.0236/1.215, allocations: 8.337 MB / 0.5049 GB, free: 109.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.215, allocations: 68.03 kB / 0.5049 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008439/1.223, allocations: 2.654 MB / 0.5075 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00615/1.229, allocations: 1.303 MB / 0.5088 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007995/1.238, allocations: 1.392 MB / 0.5101 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/1.245, allocations: 4.904 MB / 0.5149 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006908/1.252, allocations: 398.2 kB / 0.5153 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.253, allocations: 376 kB / 0.5157 GB, free: 101.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.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 (745): * Single equations (assignments): 736 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004933/1.258, allocations: 2.03 MB / 0.5177 GB, free: 99.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009896/1.259, allocations: 343.5 kB / 0.518 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/1.269, allocations: 3.013 MB / 0.5209 GB, free: 95.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008561/1.278, allocations: 2.531 MB / 0.5234 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.278, allocations: 4 kB / 0.5234 GB, free: 93.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.925e-05/1.278, allocations: 11.92 kB / 0.5234 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/1.305, allocations: 9.392 MB / 0.5326 GB, free: 83.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/1.305, allocations: 4 kB / 0.5326 GB, free: 83.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/1.307, allocations: 256.5 kB / 0.5328 GB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005611/1.313, allocations: 1.057 MB / 0.5339 GB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000366/1.313, allocations: 43.97 kB / 0.5339 GB, free: 82.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00773/1.321, allocations: 4.893 MB / 0.5387 GB, free: 77.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001071/1.322, allocations: 1.468 MB / 0.5401 GB, free: 75.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.335, allocations: 5.757 MB / 0.5457 GB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.337, allocations: 412.5 kB / 0.5461 GB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.338, allocations: 32 kB / 0.5462 GB, free: 69.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/1.341, allocations: 139.8 kB / 0.5463 GB, free: 69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/1.341, allocations: 104.8 kB / 0.5464 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.341, allocations: 49.23 kB / 0.5464 GB, free: 68.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005371/1.347, allocations: 2.583 MB / 0.549 GB, free: 66.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.347, allocations: 4 kB / 0.549 GB, free: 66.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006932/1.354, allocations: 1.024 MB / 0.55 GB, free: 65.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0007257/1.355, allocations: 192.3 kB / 0.5501 GB, free: 65.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/1.368, allocations: 5.435 MB / 0.5555 GB, free: 59.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.368, allocations: 4 kB / 0.5555 GB, free: 59.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006213/1.374, allocations: 2.086 MB / 0.5575 GB, free: 57.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.378, allocations: 415.8 kB / 0.5579 GB, free: 57.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/1.401, allocations: 11.51 MB / 0.5691 GB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005363/1.407, allocations: 3.297 MB / 0.5724 GB, free: 42.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.408, allocations: 291.4 kB / 0.5726 GB, free: 41.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/1.408, allocations: 0 / 0.5726 GB, free: 41.83 MB / 410.7 MB Notification: Performance of Templates: time 0.4878/1.896, allocations: 123.2 MB / 0.693 GB, free: 81.38 MB / 426.7 MB