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_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.672e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1365, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.44/0.5765, allocations: 58.18 MB / 469.1 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03908/0.6157, allocations: 12.69 MB / 481.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01644/0.6322, allocations: 311.2 kB / 482.1 MB, free: 344 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.6439, allocations: 3.006 MB / 485.1 MB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03371/0.6777, allocations: 8.473 MB / 493.6 MB, free: 4.824 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.683, allocations: 0.8894 MB / 494.5 MB, free: 3.934 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1191/0.8021, allocations: 47.46 MB / 0.5292 GB, free: 4.438 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008153/0.8103, allocations: 3.87 MB / 0.533 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.8131, allocations: 1.032 MB / 0.534 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.817, allocations: 1.707 MB / 0.5357 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.8194, allocations: 0.5853 MB / 0.5363 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009336/0.8204, allocations: 132 kB / 0.5364 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003226/0.8237, allocations: 1.851 MB / 0.5382 GB, free: 11.21 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.8254, allocations: 308 kB / 0.5385 GB, free: 10.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008899/0.8343, allocations: 5.412 MB / 0.5438 GB, free: 5.484 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8344, allocations: 0 / 0.5438 GB, free: 5.484 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.8344, allocations: 0 / 0.5438 GB, free: 5.484 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002325/0.8347, allocations: 0 / 0.5438 GB, free: 5.484 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.0129/0.8476, allocations: 3.968 MB / 0.5477 GB, free: 1.453 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.8476, allocations: 12.03 kB / 0.5477 GB, free: 1.441 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2486/1.096, allocations: 13.95 MB / 0.5613 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.117, allocations: 4.514 MB / 0.5657 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004186/1.117, allocations: 205.2 kB / 0.5659 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/1.119, allocations: 287.7 kB / 0.5662 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02057/1.139, allocations: 6.98 MB / 0.573 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002719/1.139, allocations: 59.45 kB / 0.573 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005464/1.14, allocations: 127.9 kB / 0.5732 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002692/1.143, allocations: 1.006 MB / 0.5741 GB, free: 5.672 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/1.161, allocations: 5.018 MB / 0.579 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05049/1.211, allocations: 27.51 MB / 0.6059 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/1.216, allocations: 0.7271 MB / 0.6066 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.485e-05/1.216, allocations: 12.14 kB / 0.6066 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/1.216, allocations: 46.62 kB / 0.6067 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 3.797e-06/1.216, allocations: 0 / 0.6067 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.01218/1.228, allocations: 1.98 MB / 0.6086 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/1.229, allocations: 243.3 kB / 0.6088 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3587/1.587, allocations: 4.805 MB / 0.6135 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.587, allocations: 35.33 kB / 0.6136 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003377/1.591, allocations: 2.526 MB / 0.616 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/1.591, allocations: 196.6 kB / 0.6162 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/1.591, allocations: 73.5 kB / 0.6163 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003526/1.592, allocations: 458.3 kB / 0.6167 GB, free: 173.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/1.603, allocations: 0.7796 MB / 0.6175 GB, free: 173 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/1.617, allocations: 3.391 MB / 0.6208 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005295/1.622, allocations: 1.535 MB / 0.6223 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.622, allocations: 27.19 kB / 0.6223 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.01491/1.637, allocations: 3.784 MB / 0.626 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.637, allocations: 48.09 kB / 0.6261 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/1.638, allocations: 95.39 kB / 0.6262 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/1.638, allocations: 135.5 kB / 0.6263 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/1.643, allocations: 0.8619 MB / 0.6271 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002129/1.643, allocations: 182.9 kB / 0.6273 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005233/1.648, allocations: 0.5686 MB / 0.6279 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007059/1.649, allocations: 236.4 kB / 0.6281 GB, free: 166.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],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 (449): * Single equations (assignments): 449 * 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.003941/1.653, allocations: 1.597 MB / 0.6296 GB, free: 166 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.654, allocations: 378.6 kB / 0.63 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.655, allocations: 408.7 kB / 0.6304 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.655, allocations: 10.56 kB / 0.6304 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.655, allocations: 6.344 kB / 0.6304 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.655, allocations: 3.719 kB / 0.6304 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.666, allocations: 4.782 MB / 0.6351 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/1.666, allocations: 13.38 kB / 0.6351 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/1.667, allocations: 115.1 kB / 0.6352 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-05/1.667, allocations: 19.56 kB / 0.6352 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/1.667, allocations: 28.73 kB / 0.6352 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/1.667, allocations: 27.58 kB / 0.6353 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-05/1.667, allocations: 24.06 kB / 0.6353 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/1.67, allocations: 3.268 MB / 0.6385 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.671, allocations: 0.5135 MB / 0.639 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/1.672, allocations: 31.67 kB / 0.639 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.675, allocations: 42.3 kB / 0.6391 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/1.675, allocations: 85.23 kB / 0.6391 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/1.675, allocations: 34.06 kB / 0.6392 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008973/1.684, allocations: 3.578 MB / 0.6427 GB, free: 158 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.102e-06/1.684, allocations: 4 kB / 0.6427 GB, free: 158 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005432/1.689, allocations: 0.8555 MB / 0.6435 GB, free: 157.9 MB / 0.5105 GB 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.0005011/1.69, allocations: 156.2 kB / 0.6437 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004484/1.694, allocations: 1.886 MB / 0.6455 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.694, allocations: 3.969 kB / 0.6455 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/1.695, allocations: 262.2 kB / 0.6458 GB, free: 157 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/1.7, allocations: 0.6279 MB / 0.6464 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/1.717, allocations: 8.748 MB / 0.6549 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004528/1.722, allocations: 2.926 MB / 0.6578 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000854/1.723, allocations: 247.4 kB / 0.658 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/1.723, allocations: 0 / 0.658 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.09163/1.815, allocations: 47.22 MB / 0.7041 GB, free: 99.45 MB / 0.5105 GB