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_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.588/2.588, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.18e-05, allocations: 0 / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3837, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.08678/0.4705, allocations: 55.75 MB / 418.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0379/0.5085, allocations: 12.2 MB / 430.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01397/0.5225, allocations: 299.2 kB / 431.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.5331, allocations: 2.932 MB / 434.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0308/0.564, allocations: 8.15 MB / 442.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.5694, allocations: 0.8972 MB / 443.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0501/0.6195, allocations: 17.03 MB / 460.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008406/0.628, allocations: 3.872 MB / 464 MB, free: 8.371 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.6308, allocations: 1.025 MB / 465 MB, free: 7.344 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003861/0.6347, allocations: 1.719 MB / 466.7 MB, free: 5.621 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.6371, allocations: 0.5852 MB / 467.3 MB, free: 5.035 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.6383, allocations: 135.9 kB / 467.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003429/0.6418, allocations: 1.859 MB / 469.3 MB, free: 3.039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.6437, allocations: 308 kB / 469.6 MB, free: 2.738 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008924/0.6526, allocations: 5.451 MB / 475.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.6527, allocations: 0 / 475.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6527, allocations: 0 / 475.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002239/0.6529, allocations: 0 / 475.1 MB, free: 13.27 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.01366/0.6666, allocations: 3.98 MB / 479.1 MB, free: 9.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.6667, allocations: 8.031 kB / 479.1 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2321/0.8988, allocations: 13.95 MB / 493 MB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/0.9173, allocations: 5.28 MB / 498.3 MB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/0.9178, allocations: 209.2 kB / 498.5 MB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.9193, allocations: 291.6 kB / 498.8 MB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3826/1.302, allocations: 6.971 MB / 0.4939 GB, free: 125.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003025/1.302, allocations: 59.48 kB / 0.494 GB, free: 125.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006076/1.303, allocations: 127.6 kB / 0.4941 GB, free: 125.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003244/1.306, allocations: 0.9944 MB / 0.495 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/1.325, allocations: 5.017 MB / 0.4999 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04353/1.368, allocations: 27.5 MB / 0.5268 GB, free: 98.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/1.373, allocations: 0.7231 MB / 0.5275 GB, free: 97.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/1.373, allocations: 18.06 kB / 0.5275 GB, free: 97.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.373, allocations: 43.17 kB / 0.5276 GB, free: 97.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.367e-06/1.373, allocations: 3.781 kB / 0.5276 GB, free: 97.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01407/1.387, allocations: 2.251 MB / 0.5298 GB, free: 95.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.387, allocations: 236 kB / 0.53 GB, free: 94.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.397, allocations: 4.847 MB / 0.5347 GB, free: 89.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/1.398, allocations: 33.55 kB / 0.5348 GB, free: 89.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002754/1.4, allocations: 2.758 MB / 0.5375 GB, free: 87.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/1.401, allocations: 199.3 kB / 0.5376 GB, free: 86.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.401, allocations: 68 kB / 0.5377 GB, free: 86.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/1.401, allocations: 449.4 kB / 0.5381 GB, free: 86.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/1.403, allocations: 0.7836 MB / 0.5389 GB, free: 85.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003136/1.406, allocations: 3.362 MB / 0.5422 GB, free: 81.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/1.41, allocations: 1.53 MB / 0.5437 GB, free: 79.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.591e-05/1.41, allocations: 28 kB / 0.5437 GB, free: 79.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01034/1.42, allocations: 4.003 MB / 0.5476 GB, free: 75.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/1.42, allocations: 44 kB / 0.5477 GB, free: 75.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.42, allocations: 96.12 kB / 0.5478 GB, free: 75.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/1.421, allocations: 136 kB / 0.5479 GB, free: 75.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004571/1.425, allocations: 0.8499 MB / 0.5487 GB, free: 74.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00015/1.425, allocations: 179.3 kB / 0.5489 GB, free: 74.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005164/1.43, allocations: 0.5645 MB / 0.5494 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005374/1.431, allocations: 233.3 kB / 0.5497 GB, free: 73.39 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.003351/1.434, allocations: 1.602 MB / 0.5512 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.436, allocations: 387.1 kB / 0.5516 GB, free: 71.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/1.436, allocations: 397.4 kB / 0.552 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.436, allocations: 8 kB / 0.552 GB, free: 70.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.436, allocations: 0 / 0.552 GB, free: 70.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.436, allocations: 0 / 0.552 GB, free: 70.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009591/1.446, allocations: 4.814 MB / 0.5567 GB, free: 65.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.446, allocations: 12 kB / 0.5567 GB, free: 65.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/1.447, allocations: 115.8 kB / 0.5568 GB, free: 65.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-05/1.447, allocations: 20 kB / 0.5568 GB, free: 65.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/1.447, allocations: 28 kB / 0.5568 GB, free: 65.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.361e-05/1.447, allocations: 32.59 kB / 0.5569 GB, free: 65.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/1.447, allocations: 27.94 kB / 0.5569 GB, free: 65.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/1.449, allocations: 3.278 MB / 0.5601 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.451, allocations: 0.5077 MB / 0.5606 GB, free: 61.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008614/1.452, allocations: 28 kB / 0.5606 GB, free: 61.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.454, allocations: 43.97 kB / 0.5607 GB, free: 61.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.454, allocations: 91.55 kB / 0.5608 GB, free: 61.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/1.454, allocations: 32 kB / 0.5608 GB, free: 61.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008161/1.462, allocations: 3.613 MB / 0.5643 GB, free: 57.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.462, allocations: 0 / 0.5643 GB, free: 57.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004891/1.467, allocations: 0.8638 MB / 0.5652 GB, free: 56.56 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.0004101/1.467, allocations: 161.5 kB / 0.5653 GB, free: 56.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00439/1.472, allocations: 1.872 MB / 0.5671 GB, free: 54.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.472, allocations: 8.062 kB / 0.5671 GB, free: 54.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/1.472, allocations: 266.4 kB / 0.5674 GB, free: 54.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/1.477, allocations: 0.6196 MB / 0.568 GB, free: 53.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.493, allocations: 8.367 MB / 0.5762 GB, free: 45.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004873/1.498, allocations: 2.942 MB / 0.5791 GB, free: 42.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00526/1.504, allocations: 1.172 MB / 0.5802 GB, free: 40.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/1.505, allocations: 215.4 kB / 0.5804 GB, free: 40.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/1.505, allocations: 0 / 0.5804 GB, free: 40.74 MB / 426.7 MB Notification: Performance of Templates: time 0.09328/1.598, allocations: 29.27 MB / 0.609 GB, free: 11.57 MB / 426.7 MB