Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies,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.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 269 MB / 284.1 MB, free: 3.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.181e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies): time 0.4647/0.5924, allocations: 85.66 MB / 496.6 MB, free: 1.898 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05673/0.6492, allocations: 18.17 MB / 0.5027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02359/0.6729, allocations: 462.8 kB / 0.5031 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01708/0.69, allocations: 4.448 MB / 0.5075 GB, free: 10.76 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04864/0.7387, allocations: 12.09 MB / 0.5193 GB, free: 14.63 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007988/0.7467, allocations: 1.178 MB / 0.5204 GB, free: 13.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1244/0.8712, allocations: 48.8 MB / 0.5681 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01798/0.8892, allocations: 8.684 MB / 0.5766 GB, free: 3.871 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.8934, allocations: 1.664 MB / 0.5782 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005439/0.8989, allocations: 2.49 MB / 0.5806 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.9028, allocations: 1.089 MB / 0.5817 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.9047, allocations: 220 kB / 0.5819 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.004985/0.9097, allocations: 3.047 MB / 0.5849 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.9125, allocations: 0.543 MB / 0.5854 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.9289, allocations: 10.64 MB / 0.5958 GB, free: 140 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9289, allocations: 0 / 0.5958 GB, free: 140 kB / 0.4948 GB Notification: Performance of FrontEnd: time 3.186e-06/0.929, allocations: 0 / 0.5958 GB, free: 140 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004533/0.9294, allocations: 0 / 0.5958 GB, free: 140 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.02626/0.9557, allocations: 7.421 MB / 0.603 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.9558, allocations: 12.03 kB / 0.603 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8759/1.832, allocations: 16.07 MB / 0.6187 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/1.85, allocations: 5.755 MB / 0.6244 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006682/1.851, allocations: 490.2 kB / 0.6248 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00524/1.856, allocations: 1.004 MB / 0.6258 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05426/1.91, allocations: 18.13 MB / 0.6435 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003996/1.911, allocations: 83.23 kB / 0.6436 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002249/1.913, allocations: 301.8 kB / 0.6439 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006137/1.919, allocations: 2.756 MB / 0.6466 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04883/1.968, allocations: 15.37 MB / 0.6616 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/2.088, allocations: 69.76 MB / 0.7297 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03739/2.125, allocations: 7.807 MB / 0.7373 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03877/2.164, allocations: 17.42 MB / 0.7543 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/2.164, allocations: 64.56 kB / 0.7544 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=303): time 7.234e-06/2.164, allocations: 0 / 0.7544 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.1295/2.293, allocations: 29.52 MB / 0.7832 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005068/2.299, allocations: 6.333 MB / 0.7894 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/2.312, allocations: 6.317 MB / 0.7956 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/2.314, allocations: 73.7 kB / 0.7957 GB, free: 15.71 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005898/2.319, allocations: 5.09 MB / 0.8006 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00266/2.322, allocations: 1.333 MB / 0.8019 GB, free: 9.309 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/2.324, allocations: 199.5 kB / 0.8021 GB, free: 9.117 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001054/2.325, allocations: 0.7325 MB / 0.8028 GB, free: 8.375 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01223/2.337, allocations: 4.24 MB / 0.807 GB, free: 4.129 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4101/2.747, allocations: 10.01 MB / 0.8167 GB, free: 159.6 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/2.764, allocations: 6.303 MB / 0.8229 GB, free: 157.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004323/2.765, allocations: 57.69 kB / 0.823 GB, free: 157.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1312) (initialization): time 0.09787/2.863, allocations: 19.79 MB / 0.8423 GB, free: 152.3 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/2.863, allocations: 96.84 kB / 0.8424 GB, free: 152.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0681/2.931, allocations: 11.41 MB / 0.8535 GB, free: 149.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07126/3.002, allocations: 7.582 MB / 0.8609 GB, free: 146 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/3.017, allocations: 2.368 MB / 0.8632 GB, free: 145.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05762/3.074, allocations: 21.87 MB / 0.8846 GB, free: 122.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02019/3.095, allocations: 0.8716 MB / 0.8855 GB, free: 122 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003158/3.098, allocations: 0.5924 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.01203/3.11, allocations: 3.417 MB / 0.8894 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002171/3.112, allocations: 0.5975 MB / 0.89 GB, free: 117.9 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03243/3.145, allocations: 8.054 MB / 0.8978 GB, free: 109.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02448/3.169, allocations: 7.182 MB / 0.9048 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/3.169, allocations: 8 kB / 0.9048 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.416e-05/3.169, allocations: 11.95 kB / 0.9048 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05593/3.225, allocations: 19.86 MB / 0.9242 GB, free: 82.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.893e-05/3.225, allocations: 8.031 kB / 0.9242 GB, free: 82.45 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006545/3.232, allocations: 0.6748 MB / 0.9249 GB, free: 81.77 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01724/3.249, allocations: 3.203 MB / 0.928 GB, free: 78.52 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009443/3.25, allocations: 107.9 kB / 0.9281 GB, free: 78.42 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02606/3.276, allocations: 14.33 MB / 0.9421 GB, free: 63.38 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005196/3.282, allocations: 6.093 MB / 0.9481 GB, free: 56.79 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0346/3.316, allocations: 13.13 MB / 0.9609 GB, free: 43.71 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/3.318, allocations: 0.6719 MB / 0.9616 GB, free: 43.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002606/3.321, allocations: 92.91 kB / 0.9616 GB, free: 42.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00748/3.329, allocations: 375.4 kB / 0.962 GB, free: 42.58 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/3.33, allocations: 253.5 kB / 0.9622 GB, free: 42.33 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005817/3.331, allocations: 104.9 kB / 0.9623 GB, free: 42.23 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01061/3.341, allocations: 4.451 MB / 0.9667 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.233e-06/3.342, allocations: 0 / 0.9667 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01302/3.355, allocations: 2.203 MB / 0.9688 GB, free: 35.6 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.001399/3.356, allocations: 274.2 kB / 0.9691 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03176/3.388, allocations: 11.94 MB / 0.9808 GB, free: 23.16 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/3.388, allocations: 4.875 kB / 0.9808 GB, free: 23.16 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01693/3.405, allocations: 5.593 MB / 0.9862 GB, free: 17.3 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007378/3.412, allocations: 0.8661 MB / 0.9871 GB, free: 16.43 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4167/3.829, allocations: 24.09 MB / 1.011 GB, free: 166.1 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01504/3.844, allocations: 5.536 MB / 1.016 GB, free: 165.2 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003908/3.848, allocations: 0.5013 MB / 1.017 GB, free: 165.2 MB / 0.5418 GB Notification: Performance of SimCode: time 1.493e-06/3.848, allocations: 0 / 1.017 GB, free: 165.2 MB / 0.5418 GB Notification: Performance of Templates: time 1.591/5.439, allocations: 0.5163 GB / 1.533 GB, free: 90.75 MB / 0.5574 GB