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_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 270.1 MB / 283.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.338e-05/6.341e-05, allocations: 7.984 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1559, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.6672, allocations: 108.6 MB / 0.5068 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.6675, allocations: 71.97 kB / 0.5068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8844/1.552, allocations: 148.1 MB / 0.6514 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.415e-06/1.552, allocations: 0 / 0.6514 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004859/1.552, allocations: 161.7 kB / 0.6516 GB, free: 106.3 MB / 0.5105 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.04309/1.596, allocations: 8.851 MB / 0.6602 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.596, allocations: 9.156 kB / 0.6602 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04166/1.637, allocations: 7.774 MB / 0.6678 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02972/1.667, allocations: 10.44 MB / 0.678 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006427/1.668, allocations: 0.587 MB / 0.6786 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003057/1.671, allocations: 0.7938 MB / 0.6794 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04427/1.715, allocations: 18.08 MB / 0.697 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000459/1.716, allocations: 105.4 kB / 0.6971 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002805/1.718, allocations: 375.9 kB / 0.6975 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003073/1.721, allocations: 1.682 MB / 0.6991 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03722/1.759, allocations: 14.37 MB / 0.7131 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/1.864, allocations: 81.13 MB / 0.7924 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02853/1.893, allocations: 7.512 MB / 0.7997 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006922/1.9, allocations: 3.367 MB / 0.803 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3552/2.255, allocations: 17.02 MB / 0.8196 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/2.255, allocations: 70.31 kB / 0.8197 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 8.442e-06/2.255, allocations: 0.6562 kB / 0.8197 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.08536/2.341, allocations: 23.95 MB / 0.8431 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003946/2.344, allocations: 6.256 MB / 0.8492 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/2.357, allocations: 5.735 MB / 0.8548 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007315/2.357, allocations: 75.17 kB / 0.8549 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004134/2.362, allocations: 5.346 MB / 0.8601 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001806/2.363, allocations: 1.324 MB / 0.8614 GB, free: 96.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009803/2.364, allocations: 201.4 kB / 0.8616 GB, free: 96.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006089/2.365, allocations: 0.7262 MB / 0.8623 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008083/2.373, allocations: 3.9 MB / 0.8661 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/2.384, allocations: 9.671 MB / 0.8755 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/2.396, allocations: 6.037 MB / 0.8814 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001712/2.396, allocations: 61.31 kB / 0.8815 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.05048/2.446, allocations: 15.81 MB / 0.8969 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/2.446, allocations: 92.06 kB / 0.897 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02293/2.469, allocations: 7.868 MB / 0.9047 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01881/2.488, allocations: 3.901 MB / 0.9085 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009938/2.498, allocations: 2.368 MB / 0.9108 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/2.515, allocations: 13.54 MB / 0.924 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.527, allocations: 0.8747 MB / 0.9249 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00228/2.53, allocations: 0.5982 MB / 0.9255 GB, free: 62 MB / 0.5261 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.003282/2.533, allocations: 0.8806 MB / 0.9263 GB, free: 61.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/2.535, allocations: 0.597 MB / 0.9269 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/2.555, allocations: 7.774 MB / 0.9345 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01759/2.573, allocations: 6.898 MB / 0.9412 GB, free: 48.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.345e-05/2.573, allocations: 8 kB / 0.9412 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-05/2.573, allocations: 18.58 kB / 0.9413 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04805/2.621, allocations: 19.38 MB / 0.9602 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/2.621, allocations: 6.625 kB / 0.9602 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004446/2.626, allocations: 0.6637 MB / 0.9608 GB, free: 33.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/2.638, allocations: 3.139 MB / 0.9639 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008639/2.639, allocations: 101.7 kB / 0.964 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/2.656, allocations: 14.01 MB / 0.9777 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004001/2.661, allocations: 6.024 MB / 0.9836 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/2.688, allocations: 12.7 MB / 0.996 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/2.69, allocations: 0.6456 MB / 0.9966 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002184/2.692, allocations: 83.97 kB / 0.9967 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005716/2.698, allocations: 391.3 kB / 0.9971 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001259/2.699, allocations: 245.5 kB / 0.9973 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005527/2.7, allocations: 99.94 kB / 0.9974 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01116/2.711, allocations: 3.987 MB / 1.001 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.215e-06/2.711, allocations: 0 / 1.001 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0133/2.725, allocations: 2.095 MB / 1.003 GB, free: 5.379 MB / 0.5417 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.001229/2.726, allocations: 259.6 kB / 1.004 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3533/3.079, allocations: 11.03 MB / 1.014 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/3.079, allocations: 5.219 kB / 1.014 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/3.092, allocations: 5.372 MB / 1.02 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006268/3.099, allocations: 0.8522 MB / 1.02 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04219/3.141, allocations: 16.93 MB / 1.037 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/3.153, allocations: 5.518 MB / 1.042 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01164/3.165, allocations: 3.036 MB / 1.045 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/3.168, allocations: 431.8 kB / 1.046 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of SimCode: time 2.051e-06/3.168, allocations: 4 kB / 1.046 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1845/3.352, allocations: 75.11 MB / 1.119 GB, free: 96.88 MB / 0.5573 GB