Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.035e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.4515/0.5831, allocations: 85.67 MB / 496.6 MB, free: 1.836 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05679/0.6399, allocations: 18.16 MB / 0.5027 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02215/0.6621, allocations: 462.8 kB / 0.5031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01638/0.6785, allocations: 4.448 MB / 0.5075 GB, free: 10.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04732/0.7259, allocations: 12.1 MB / 0.5193 GB, free: 14.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007792/0.7337, allocations: 1.178 MB / 0.5204 GB, free: 13.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1235/0.8573, allocations: 48.79 MB / 0.5681 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0186/0.8759, allocations: 8.68 MB / 0.5766 GB, free: 3.816 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/0.8805, allocations: 1.672 MB / 0.5782 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.8862, allocations: 2.49 MB / 0.5806 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/0.8904, allocations: 1.085 MB / 0.5817 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.002226/0.8927, allocations: 220 kB / 0.5819 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.005343/0.898, allocations: 3.047 MB / 0.5849 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.003023/0.9011, allocations: 0.5469 MB / 0.5854 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.918, allocations: 10.64 MB / 0.5958 GB, free: 76 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9181, allocations: 0 / 0.5958 GB, free: 76 kB / 0.4948 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9181, allocations: 0 / 0.5958 GB, free: 76 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004845/0.9186, allocations: 0 / 0.5958 GB, free: 76 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.02664/0.9452, allocations: 7.421 MB / 0.603 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9453, allocations: 8.031 kB / 0.6031 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9077/1.853, allocations: 16.07 MB / 0.6188 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02629/1.879, allocations: 5.751 MB / 0.6244 GB, free: 168.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007275/1.88, allocations: 495.9 kB / 0.6248 GB, free: 168 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006224/1.886, allocations: 0.9959 MB / 0.6258 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07518/1.962, allocations: 18.14 MB / 0.6435 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004038/1.962, allocations: 82.05 kB / 0.6436 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0024/1.964, allocations: 305.1 kB / 0.6439 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006328/1.971, allocations: 2.754 MB / 0.6466 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04925/2.02, allocations: 15.37 MB / 0.6616 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1163/2.137, allocations: 69.77 MB / 0.7297 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03716/2.174, allocations: 7.801 MB / 0.7373 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03633/2.21, allocations: 17.41 MB / 0.7543 GB, free: 43.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/2.21, allocations: 68.56 kB / 0.7544 GB, free: 43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=303): time 8.285e-06/2.21, allocations: 0 / 0.7544 GB, free: 43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.129/2.339, allocations: 29.52 MB / 0.7832 GB, free: 13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004893/2.344, allocations: 6.337 MB / 0.7894 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01415/2.358, allocations: 6.312 MB / 0.7956 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/2.36, allocations: 73.7 kB / 0.7957 GB, free: 15.66 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.006011/2.366, allocations: 5.093 MB / 0.8006 GB, free: 10.57 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/2.368, allocations: 1.325 MB / 0.8019 GB, free: 9.254 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/2.37, allocations: 196 kB / 0.8021 GB, free: 9.062 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0009992/2.371, allocations: 0.7404 MB / 0.8028 GB, free: 8.312 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01209/2.383, allocations: 4.236 MB / 0.807 GB, free: 4.07 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3882/2.771, allocations: 10.01 MB / 0.8168 GB, free: 159.7 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/2.789, allocations: 6.302 MB / 0.8229 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004757/2.789, allocations: 58.22 kB / 0.823 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1312) (initialization): time 0.1006/2.89, allocations: 19.8 MB / 0.8423 GB, free: 152.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/2.89, allocations: 93.22 kB / 0.8424 GB, free: 152.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0687/2.959, allocations: 11.41 MB / 0.8535 GB, free: 149.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07158/3.031, allocations: 7.588 MB / 0.8609 GB, free: 146.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/3.045, allocations: 2.365 MB / 0.8632 GB, free: 145.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05055/3.096, allocations: 21.88 MB / 0.8846 GB, free: 122.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01465/3.11, allocations: 0.874 MB / 0.8855 GB, free: 122 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002609/3.113, allocations: 0.5961 MB / 0.886 GB, free: 121.4 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],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.groundColor[3],world.groundColor[2],world.groundColor[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 (1236): * Single equations (assignments): 1211 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00986/3.123, allocations: 3.407 MB / 0.8894 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/3.125, allocations: 0.6014 MB / 0.89 GB, free: 117.8 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02762/3.152, allocations: 8.05 MB / 0.8978 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02535/3.178, allocations: 7.172 MB / 0.9048 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.602e-05/3.178, allocations: 8.656 kB / 0.9048 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/3.178, allocations: 23.94 kB / 0.9049 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05883/3.237, allocations: 19.85 MB / 0.9242 GB, free: 82.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-05/3.237, allocations: 4.984 kB / 0.9242 GB, free: 82.41 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006701/3.244, allocations: 0.6787 MB / 0.9249 GB, free: 81.73 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01742/3.261, allocations: 3.211 MB / 0.928 GB, free: 78.47 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/3.262, allocations: 110.8 kB / 0.9281 GB, free: 78.36 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/3.285, allocations: 14.32 MB / 0.9421 GB, free: 63.33 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004897/3.29, allocations: 6.096 MB / 0.9481 GB, free: 56.75 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03577/3.326, allocations: 13.13 MB / 0.9609 GB, free: 43.66 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/3.328, allocations: 0.6712 MB / 0.9616 GB, free: 42.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002724/3.331, allocations: 87.95 kB / 0.9617 GB, free: 42.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007473/3.339, allocations: 383.4 kB / 0.962 GB, free: 42.53 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/3.34, allocations: 250.9 kB / 0.9623 GB, free: 42.28 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008832/3.341, allocations: 99.94 kB / 0.9624 GB, free: 42.18 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01062/3.352, allocations: 4.459 MB / 0.9667 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.162e-06/3.352, allocations: 0 / 0.9667 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01325/3.365, allocations: 2.205 MB / 0.9689 GB, free: 35.55 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 254 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/3.366, allocations: 265.5 kB / 0.9691 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03227/3.399, allocations: 11.94 MB / 0.9808 GB, free: 23.11 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/3.399, allocations: 4.125 kB / 0.9808 GB, free: 23.11 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01716/3.416, allocations: 5.583 MB / 0.9862 GB, free: 17.27 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007592/3.424, allocations: 0.8717 MB / 0.9871 GB, free: 16.39 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4194/3.843, allocations: 24.1 MB / 1.011 GB, free: 166.5 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01577/3.859, allocations: 5.538 MB / 1.016 GB, free: 165.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003585/3.863, allocations: 0.5035 MB / 1.017 GB, free: 165.7 MB / 0.5418 GB Notification: Performance of SimCode: time 1.472e-06/3.863, allocations: 0.5 kB / 1.017 GB, free: 165.7 MB / 0.5418 GB Notification: Performance of Templates: time 1.647/5.51, allocations: 0.5163 GB / 1.533 GB, free: 90.69 MB / 0.5574 GB