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_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 270 MB / 283.6 MB, free: 1.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/3.508e-05, allocations: 4 kB / 348.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.321, allocations: 61.87 MB / 410.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.489, allocations: 108.6 MB / 0.5067 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4893, allocations: 79.95 kB / 0.5068 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8254/1.315, allocations: 148 MB / 0.6513 GB, free: 5.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.315, allocations: 0 / 0.6513 GB, free: 5.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005278/1.315, allocations: 164 kB / 0.6515 GB, free: 5.07 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: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04397/1.359, allocations: 8.852 MB / 0.6601 GB, free: 12.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.359, allocations: 12.03 kB / 0.6601 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.045/1.404, allocations: 7.774 MB / 0.6677 GB, free: 4.328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03383/1.438, allocations: 10.43 MB / 0.6779 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008191/1.439, allocations: 0.5818 MB / 0.6785 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/1.442, allocations: 0.7925 MB / 0.6793 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05779/1.5, allocations: 18.08 MB / 0.6969 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004232/1.501, allocations: 111 kB / 0.697 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00197/1.503, allocations: 371.8 kB / 0.6974 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003281/1.506, allocations: 1.679 MB / 0.699 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04197/1.548, allocations: 14.36 MB / 0.7131 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5965/2.144, allocations: 81.14 MB / 0.7923 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0278/2.172, allocations: 7.522 MB / 0.7996 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005679/2.178, allocations: 3.358 MB / 0.8029 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02955/2.208, allocations: 17.03 MB / 0.8195 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/2.208, allocations: 70.09 kB / 0.8196 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 7.371e-06/2.208, allocations: 3.938 kB / 0.8196 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.08353/2.291, allocations: 23.95 MB / 0.843 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003945/2.295, allocations: 6.258 MB / 0.8491 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/2.306, allocations: 5.738 MB / 0.8547 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006705/2.307, allocations: 76.14 kB / 0.8548 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003654/2.31, allocations: 5.343 MB / 0.86 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/2.312, allocations: 1.328 MB / 0.8613 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000807/2.313, allocations: 199.6 kB / 0.8615 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005635/2.313, allocations: 0.7274 MB / 0.8622 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007275/2.321, allocations: 3.901 MB / 0.866 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/2.333, allocations: 9.662 MB / 0.8754 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/2.345, allocations: 6.038 MB / 0.8813 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001929/2.346, allocations: 60 kB / 0.8814 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04714/2.393, allocations: 15.83 MB / 0.8969 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/2.393, allocations: 99.59 kB / 0.897 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02487/2.418, allocations: 7.86 MB / 0.9046 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02107/2.439, allocations: 3.964 MB / 0.9085 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/2.449, allocations: 2.363 MB / 0.9108 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/2.471, allocations: 13.54 MB / 0.924 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/2.484, allocations: 0.9457 MB / 0.925 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007059/2.492, allocations: 0.8634 MB / 0.9258 GB, free: 0 / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * 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 (1240): * Single equations (assignments): 1215 * 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.3533/2.845, allocations: 0.8753 MB / 0.9267 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/2.847, allocations: 0.5964 MB / 0.9272 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/2.868, allocations: 7.781 MB / 0.9348 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01864/2.886, allocations: 6.903 MB / 0.9416 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.263e-05/2.887, allocations: 11.41 kB / 0.9416 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.058e-05/2.887, allocations: 17 kB / 0.9416 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06946/2.956, allocations: 19.37 MB / 0.9605 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.257e-05/2.956, allocations: 3.812 kB / 0.9605 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009076/2.965, allocations: 0.6579 MB / 0.9612 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01235/2.978, allocations: 3.131 MB / 0.9642 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008402/2.979, allocations: 106.6 kB / 0.9643 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/2.996, allocations: 14 MB / 0.978 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003754/3, allocations: 6.017 MB / 0.9839 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02643/3.026, allocations: 12.7 MB / 0.9963 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/3.028, allocations: 0.6393 MB / 0.9969 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00201/3.03, allocations: 88.94 kB / 0.997 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005383/3.035, allocations: 393 kB / 0.9974 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/3.037, allocations: 247.1 kB / 0.9976 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004967/3.037, allocations: 102.1 kB / 0.9977 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009269/3.046, allocations: 3.98 MB / 1.002 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.057e-06/3.046, allocations: 2.625 kB / 1.002 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01234/3.059, allocations: 2.089 MB / 1.004 GB, free: 106.1 MB / 0.5573 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 (269): * Single equations (assignments): 252 * 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 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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.001116/3.06, allocations: 264.3 kB / 1.004 GB, free: 106 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02274/3.083, allocations: 11.04 MB / 1.015 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.124e-06/3.083, allocations: 0 / 1.015 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0122/3.095, allocations: 5.378 MB / 1.02 GB, free: 99.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005895/3.101, allocations: 0.8577 MB / 1.021 GB, free: 99.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/3.136, allocations: 16.92 MB / 1.037 GB, free: 86.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/3.148, allocations: 5.52 MB / 1.043 GB, free: 82.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0107/3.159, allocations: 3.033 MB / 1.046 GB, free: 80.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/3.161, allocations: 430.8 kB / 1.046 GB, free: 79.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.598e-06/3.161, allocations: 0 / 1.046 GB, free: 79.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.1851/3.346, allocations: 75.12 MB / 1.119 GB, free: 12.15 MB / 0.5573 GB