Running command: translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyShape.frame_b.r_0.1.|bodyShape.frame_b.r_0.2.|bodyShape.frame_b.r_0.3.|bodyShape.frame_b.f.1.|bodyShape.frame_b.f.2.|bodyShape.frame_b.f.3.|bodyShape.frame_b.t.1.|bodyShape.frame_b.t.2.|bodyShape.frame_b.t.3.|bodyShape.frameTranslation.frame_b.r_0.1.|bodyShape.frameTranslation.frame_b.r_0.2.|bodyShape.frameTranslation.frame_b.r_0.3.|bodyShape.frameTranslation.frame_b.f.1.|bodyShape.frameTranslation.frame_b.f.2.|bodyShape.frameTranslation.frame_b.f.3.|bodyShape.frameTranslation.frame_b.t.1.|bodyShape.frameTranslation.frame_b.t.2.|bodyShape.frameTranslation.frame_b.t.3.|BodyBox1.frame_b.r_0.1.|BodyBox1.frame_b.r_0.2.|BodyBox1.frame_b.r_0.3.|BodyBox1.frame_b.f.1.|BodyBox1.frame_b.f.2.|BodyBox1.frame_b.f.3.|BodyBox1.frame_b.t.1.|BodyBox1.frame_b.t.2.|BodyBox1.frame_b.t.3.|BodyBox1.frameTranslation.frame_b.r_0.1.|BodyBox1.frameTranslation.frame_b.r_0.2.|BodyBox1.frameTranslation.frame_b.r_0.3.|BodyBox1.frameTranslation.frame_b.f.1.|BodyBox1.frameTranslation.frame_b.f.2.|BodyBox1.frameTranslation.frame_b.f.3.|BodyBox1.frameTranslation.frame_b.t.1.|BodyBox1.frameTranslation.frame_b.t.2.|BodyBox1.frameTranslation.frame_b.t.3.|bodyCylinder.frame_b.r_0.1.|bodyCylinder.frame_b.r_0.2.|bodyCylinder.frame_b.r_0.3.|bodyCylinder.frame_b.f.1.|bodyCylinder.frame_b.f.2.|bodyCylinder.frame_b.f.3.|bodyCylinder.frame_b.t.1.|bodyCylinder.frame_b.t.2.|bodyCylinder.frame_b.t.3.|bodyCylinder.frameTranslation.frame_b.r_0.1.|bodyCylinder.frameTranslation.frame_b.r_0.2.|bodyCylinder.frameTranslation.frame_b.r_0.3.|bodyCylinder.frameTranslation.frame_b.f.1.|bodyCylinder.frameTranslation.frame_b.f.2.|bodyCylinder.frameTranslation.frame_b.f.3.|bodyCylinder.frameTranslation.frame_b.t.1.|bodyCylinder.frameTranslation.frame_b.t.2.|bodyCylinder.frameTranslation.frame_b.t.3.|Fixed3.frame_b.r_0.1.|Fixed3.frame_b.r_0.2.|Fixed3.frame_b.r_0.3.|Fixed3.frame_b.f.1.|Fixed3.frame_b.f.2.|Fixed3.frame_b.f.3.|Fixed3.frame_b.t.1.|Fixed3.frame_b.t.2.|Fixed3.frame_b.t.3.|Fixed4.frame_b.r_0.1.|Fixed4.frame_b.r_0.2.|Fixed4.frame_b.r_0.3.|Fixed4.frame_b.f.1.|Fixed4.frame_b.f.2.|Fixed4.frame_b.f.3.|Fixed4.frame_b.t.1.|Fixed4.frame_b.t.2.|Fixed4.frame_b.t.3.|Fixed5.frame_b.r_0.1.|Fixed5.frame_b.r_0.2.|Fixed5.frame_b.r_0.3.|Fixed5.frame_b.f.1.|Fixed5.frame_b.f.2.|Fixed5.frame_b.f.3.|Fixed5.frame_b.t.1.|Fixed5.frame_b.t.2.|Fixed5.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|Fixed2.frame_b.r_0.1.|Fixed2.frame_b.r_0.2.|Fixed2.frame_b.r_0.3.|Fixed2.frame_b.f.1.|Fixed2.frame_b.f.2.|Fixed2.frame_b.f.3.|Fixed2.frame_b.t.1.|Fixed2.frame_b.t.2.|Fixed2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.844e-05, allocations: 4 kB / 308 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3702, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.08634/0.4566, allocations: 55.75 MB / 418.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03581/0.4925, allocations: 12.19 MB / 430.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01312/0.5057, allocations: 299.2 kB / 431.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.5164, allocations: 2.932 MB / 434 MB, free: 6.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03132/0.5477, allocations: 8.157 MB / 442.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005502/0.5533, allocations: 0.8855 MB / 443.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1019/0.6553, allocations: 17.04 MB / 460.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/0.6671, allocations: 3.868 MB / 464 MB, free: 8.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.6701, allocations: 1.025 MB / 465 MB, free: 7.402 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.6742, allocations: 1.719 MB / 466.7 MB, free: 5.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.6769, allocations: 0.5813 MB / 467.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.6781, allocations: 136 kB / 467.4 MB, free: 4.965 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003691/0.6818, allocations: 1.863 MB / 469.3 MB, free: 3.098 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.6838, allocations: 308 kB / 469.6 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009515/0.6934, allocations: 5.448 MB / 475 MB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6934, allocations: 4 kB / 475 MB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.6935, allocations: 0 / 475 MB, free: 13.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002458/0.6937, allocations: 0 / 475 MB, free: 13.33 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: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01348/0.7072, allocations: 3.972 MB / 479 MB, free: 9.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.7073, allocations: 12.03 kB / 479 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2742/0.9815, allocations: 13.95 MB / 493 MB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02544/1.007, allocations: 5.287 MB / 498.3 MB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/1.008, allocations: 217.2 kB / 498.5 MB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/1.009, allocations: 291.6 kB / 498.8 MB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3699/1.379, allocations: 6.966 MB / 0.4939 GB, free: 125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002911/1.38, allocations: 54.7 kB / 0.4939 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007448/1.38, allocations: 131.2 kB / 0.4941 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002991/1.383, allocations: 0.9966 MB / 0.495 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/1.401, allocations: 5.008 MB / 0.4999 GB, free: 122.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0449/1.446, allocations: 27.5 MB / 0.5268 GB, free: 98.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/1.45, allocations: 0.7274 MB / 0.5275 GB, free: 97.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.322e-05/1.45, allocations: 11.41 kB / 0.5275 GB, free: 97.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.45, allocations: 46.98 kB / 0.5275 GB, free: 97.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.468e-06/1.45, allocations: 0 / 0.5275 GB, free: 97.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01509/1.465, allocations: 2.251 MB / 0.5297 GB, free: 95.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.466, allocations: 247.2 kB / 0.53 GB, free: 94.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01492/1.481, allocations: 4.85 MB / 0.5347 GB, free: 89.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.917e-05/1.481, allocations: 33.7 kB / 0.5347 GB, free: 89.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002522/1.483, allocations: 2.524 MB / 0.5372 GB, free: 87.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/1.484, allocations: 197.7 kB / 0.5374 GB, free: 87.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/1.484, allocations: 72.38 kB / 0.5375 GB, free: 87.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002366/1.484, allocations: 454.2 kB / 0.5379 GB, free: 86.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/1.486, allocations: 0.7793 MB / 0.5387 GB, free: 85.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/1.49, allocations: 3.358 MB / 0.5419 GB, free: 81.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.493, allocations: 1.541 MB / 0.5434 GB, free: 79.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.487e-05/1.493, allocations: 24 kB / 0.5435 GB, free: 79.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.009752/1.503, allocations: 3.76 MB / 0.5471 GB, free: 76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.643e-05/1.503, allocations: 48 kB / 0.5472 GB, free: 75.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.503, allocations: 92 kB / 0.5473 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/1.503, allocations: 136 kB / 0.5474 GB, free: 75.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/1.508, allocations: 0.8461 MB / 0.5482 GB, free: 74.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/1.508, allocations: 187.3 kB / 0.5484 GB, free: 74.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/1.513, allocations: 0.5644 MB / 0.549 GB, free: 74.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/1.514, allocations: 232 kB / 0.5492 GB, free: 73.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003388/1.517, allocations: 1.594 MB / 0.5507 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.518, allocations: 387.1 kB / 0.5511 GB, free: 71.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/1.519, allocations: 401.4 kB / 0.5515 GB, free: 71.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.52, allocations: 8.031 kB / 0.5515 GB, free: 71.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.52, allocations: 4 kB / 0.5515 GB, free: 71.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.52, allocations: 4 kB / 0.5515 GB, free: 71.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.53, allocations: 4.814 MB / 0.5562 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.53, allocations: 13 kB / 0.5562 GB, free: 66.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/1.531, allocations: 116 kB / 0.5563 GB, free: 66.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.271e-05/1.531, allocations: 24 kB / 0.5564 GB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/1.531, allocations: 28 kB / 0.5564 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/1.531, allocations: 23.89 kB / 0.5564 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/1.531, allocations: 23.88 kB / 0.5564 GB, free: 66.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.533, allocations: 3.274 MB / 0.5596 GB, free: 62.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/1.535, allocations: 0.5116 MB / 0.5601 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.536, allocations: 35.98 kB / 0.5602 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.539, allocations: 39.97 kB / 0.5602 GB, free: 61.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.539, allocations: 83.62 kB / 0.5603 GB, free: 61.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/1.539, allocations: 32 kB / 0.5603 GB, free: 61.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008232/1.547, allocations: 3.617 MB / 0.5638 GB, free: 57.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.473e-06/1.547, allocations: 0 / 0.5638 GB, free: 57.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004809/1.552, allocations: 0.8638 MB / 0.5647 GB, free: 57.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004871/1.553, allocations: 157.8 kB / 0.5648 GB, free: 56.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004468/1.557, allocations: 1.879 MB / 0.5667 GB, free: 55.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/1.557, allocations: 4 kB / 0.5667 GB, free: 55.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/1.558, allocations: 262.3 kB / 0.5669 GB, free: 54.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/1.563, allocations: 0.625 MB / 0.5675 GB, free: 54.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.581, allocations: 8.784 MB / 0.5761 GB, free: 45.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005286/1.587, allocations: 2.938 MB / 0.579 GB, free: 42.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009079/1.588, allocations: 243.4 kB / 0.5792 GB, free: 41.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/1.588, allocations: 0 / 0.5792 GB, free: 41.97 MB / 426.7 MB Notification: Performance of Templates: time 0.09664/1.684, allocations: 47.47 MB / 0.6256 GB, free: 10.53 MB / 442.7 MB