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.1_cpp_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.084/2.084, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.804e-05/4.794e-05, allocations: 11.92 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3562, allocations: 48.7 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.09542/0.4517, allocations: 55.75 MB / 380.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.039/0.4908, allocations: 12.16 MB / 392.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0144/0.5052, allocations: 299.2 kB / 393.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.5168, allocations: 2.932 MB / 396 MB, free: 8.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03179/0.5486, allocations: 8.161 MB / 404.1 MB, free: 88 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005376/0.5541, allocations: 0.9011 MB / 405 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05033/0.6045, allocations: 17.05 MB / 422.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008292/0.6128, allocations: 3.867 MB / 426 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.6159, allocations: 1.032 MB / 427 MB, free: 9.191 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.6199, allocations: 1.723 MB / 428.7 MB, free: 7.465 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.6224, allocations: 0.5814 MB / 429.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.6235, allocations: 136 kB / 429.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003358/0.6268, allocations: 1.863 MB / 431.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.6286, allocations: 312 kB / 431.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009129/0.6378, allocations: 5.44 MB / 437 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-05/0.6379, allocations: 4 kB / 437 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.6379, allocations: 0 / 437 MB, free: 15.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002451/0.6382, allocations: 0 / 437 MB, free: 15.12 MB / 378.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.01302/0.6512, allocations: 3.984 MB / 441 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.6513, allocations: 12.03 kB / 441 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2304/0.8817, allocations: 13.95 MB / 455 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.8982, allocations: 5.28 MB / 460.3 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.8986, allocations: 209.2 kB / 460.5 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.8999, allocations: 287.7 kB / 460.8 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.9209, allocations: 6.975 MB / 467.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.9212, allocations: 55.47 kB / 467.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006268/0.9218, allocations: 127.9 kB / 467.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002771/0.9246, allocations: 1.002 MB / 468.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.943, allocations: 5.01 MB / 473.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3231/1.266, allocations: 27.47 MB / 0.4896 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00449/1.271, allocations: 0.7418 MB / 0.4904 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.328e-05/1.271, allocations: 5.578 kB / 0.4904 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/1.271, allocations: 46.67 kB / 0.4904 GB, free: 113.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 3.046e-06/1.271, allocations: 1.312 kB / 0.4904 GB, free: 113.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.01449/1.285, allocations: 2.257 MB / 0.4926 GB, free: 112.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/1.286, allocations: 242.1 kB / 0.4929 GB, free: 112.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/1.298, allocations: 4.85 MB / 0.4976 GB, free: 110.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.298, allocations: 31.95 kB / 0.4976 GB, free: 110.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.301, allocations: 2.539 MB / 0.5001 GB, free: 108.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/1.302, allocations: 192.8 kB / 0.5003 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/1.302, allocations: 69.34 kB / 0.5004 GB, free: 108.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002623/1.302, allocations: 458.2 kB / 0.5008 GB, free: 108 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.304, allocations: 0.7748 MB / 0.5015 GB, free: 107.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/1.308, allocations: 3.365 MB / 0.5048 GB, free: 103.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/1.312, allocations: 1.531 MB / 0.5063 GB, free: 103 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/1.312, allocations: 27.06 kB / 0.5064 GB, free: 103 MB / 410.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.0101/1.322, allocations: 3.766 MB / 0.51 GB, free: 101.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/1.323, allocations: 47.47 kB / 0.5101 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/1.323, allocations: 95.81 kB / 0.5102 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/1.323, allocations: 134.5 kB / 0.5103 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/1.327, allocations: 0.8513 MB / 0.5111 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001504/1.328, allocations: 181.6 kB / 0.5113 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005293/1.333, allocations: 0.5616 MB / 0.5119 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005902/1.334, allocations: 232.9 kB / 0.5121 GB, free: 100.5 MB / 410.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.003547/1.337, allocations: 1.603 MB / 0.5136 GB, free: 99.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.338, allocations: 384 kB / 0.514 GB, free: 99.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.339, allocations: 398 kB / 0.5144 GB, free: 99.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.339, allocations: 11.06 kB / 0.5144 GB, free: 99.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.339, allocations: 4 kB / 0.5144 GB, free: 99.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.339, allocations: 7.859 kB / 0.5144 GB, free: 99.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.35, allocations: 4.807 MB / 0.5191 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.35, allocations: 12 kB / 0.5191 GB, free: 94.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.35, allocations: 115.8 kB / 0.5192 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/1.35, allocations: 24.06 kB / 0.5192 GB, free: 94.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/1.351, allocations: 28 kB / 0.5193 GB, free: 94.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.008e-05/1.351, allocations: 27.88 kB / 0.5193 GB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-05/1.351, allocations: 23.88 kB / 0.5193 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/1.353, allocations: 3.28 MB / 0.5225 GB, free: 90.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.355, allocations: 0.5388 MB / 0.5231 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.356, allocations: 35.98 kB / 0.5231 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/1.358, allocations: 43.97 kB / 0.5231 GB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.358, allocations: 83.62 kB / 0.5232 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/1.358, allocations: 32 kB / 0.5232 GB, free: 89.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00805/1.366, allocations: 3.613 MB / 0.5268 GB, free: 85.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.366, allocations: 0 / 0.5268 GB, free: 85.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004896/1.371, allocations: 0.8611 MB / 0.5276 GB, free: 85.02 MB / 410.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.0004987/1.372, allocations: 159.1 kB / 0.5278 GB, free: 84.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004315/1.376, allocations: 1.879 MB / 0.5296 GB, free: 83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/1.376, allocations: 0 / 0.5296 GB, free: 83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/1.377, allocations: 264.3 kB / 0.5298 GB, free: 82.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005179/1.382, allocations: 0.6297 MB / 0.5305 GB, free: 82.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.4, allocations: 8.781 MB / 0.539 GB, free: 73.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005302/1.405, allocations: 2.944 MB / 0.5419 GB, free: 70.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009814/1.406, allocations: 239.4 kB / 0.5421 GB, free: 69.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/1.406, allocations: 0 / 0.5421 GB, free: 69.92 MB / 410.7 MB Notification: Performance of Templates: time 0.09306/1.499, allocations: 47.45 MB / 0.5885 GB, free: 22.5 MB / 410.7 MB