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_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 270.1 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.505e-05/4.519e-05, allocations: 7.938 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5632, allocations: 108.6 MB / 0.5068 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.5635, allocations: 75.97 kB / 0.5068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007/1.57, allocations: 148 MB / 0.6514 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.598e-06/1.57, allocations: 0 / 0.6514 GB, free: 106 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004535/1.571, allocations: 169.1 kB / 0.6515 GB, free: 106 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.05629/1.627, allocations: 8.847 MB / 0.6602 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.627, allocations: 10.44 kB / 0.6602 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05053/1.678, allocations: 7.777 MB / 0.6678 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03109/1.709, allocations: 10.43 MB / 0.678 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006651/1.709, allocations: 0.5853 MB / 0.6785 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00305/1.713, allocations: 0.7983 MB / 0.6793 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0585/1.771, allocations: 18.08 MB / 0.697 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007162/1.772, allocations: 102.8 kB / 0.6971 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003685/1.776, allocations: 373.5 kB / 0.6974 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005307/1.781, allocations: 1.682 MB / 0.6991 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05986/1.841, allocations: 14.37 MB / 0.7131 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2041/2.045, allocations: 81.13 MB / 0.7923 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03251/2.078, allocations: 7.513 MB / 0.7997 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006802/2.084, allocations: 3.371 MB / 0.8029 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3566/2.441, allocations: 17.02 MB / 0.8196 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/2.441, allocations: 74.89 kB / 0.8196 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 8.389e-06/2.441, allocations: 0 / 0.8196 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.0823/2.524, allocations: 23.94 MB / 0.843 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004123/2.528, allocations: 6.257 MB / 0.8491 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/2.539, allocations: 5.73 MB / 0.8547 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00068/2.54, allocations: 75.14 kB / 0.8548 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003869/2.544, allocations: 5.342 MB / 0.86 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001674/2.546, allocations: 1.33 MB / 0.8613 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000843/2.547, allocations: 198.4 kB / 0.8615 GB, free: 96.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000555/2.547, allocations: 0.7292 MB / 0.8622 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007953/2.555, allocations: 3.904 MB / 0.866 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/2.566, allocations: 9.664 MB / 0.8755 GB, free: 85.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/2.578, allocations: 6.033 MB / 0.8814 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001639/2.578, allocations: 55.91 kB / 0.8814 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04409/2.622, allocations: 15.82 MB / 0.8969 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.622, allocations: 93.56 kB / 0.8969 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02461/2.647, allocations: 7.859 MB / 0.9046 GB, free: 76.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03513/2.682, allocations: 3.907 MB / 0.9084 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/2.697, allocations: 2.367 MB / 0.9108 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/2.714, allocations: 13.54 MB / 0.924 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/2.726, allocations: 0.8752 MB / 0.9248 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/2.728, allocations: 0.6045 MB / 0.9254 GB, free: 61.79 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.002815/2.731, allocations: 0.8764 MB / 0.9263 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/2.732, allocations: 0.5978 MB / 0.9269 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/2.751, allocations: 7.763 MB / 0.9344 GB, free: 54.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01687/2.768, allocations: 6.905 MB / 0.9412 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.751e-05/2.768, allocations: 10.5 kB / 0.9412 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/2.768, allocations: 13.88 kB / 0.9412 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0545/2.823, allocations: 19.39 MB / 0.9601 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/2.823, allocations: 7.797 kB / 0.9602 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004318/2.827, allocations: 0.6608 MB / 0.9608 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01179/2.839, allocations: 3.132 MB / 0.9639 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007846/2.84, allocations: 107.9 kB / 0.964 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/2.856, allocations: 14 MB / 0.9776 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003681/2.859, allocations: 6.026 MB / 0.9835 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02916/2.888, allocations: 12.7 MB / 0.9959 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/2.892, allocations: 0.6494 MB / 0.9966 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002989/2.895, allocations: 83.97 kB / 0.9966 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006412/2.901, allocations: 390.9 kB / 0.997 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/2.903, allocations: 245.5 kB / 0.9972 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004472/2.903, allocations: 99.94 kB / 0.9973 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01033/2.914, allocations: 3.983 MB / 1.001 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.44e-07/2.914, allocations: 0 / 1.001 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01289/2.926, allocations: 2.092 MB / 1.003 GB, free: 5.195 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.001006/2.928, allocations: 257.7 kB / 1.004 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3901/3.318, allocations: 11.03 MB / 1.014 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/3.318, allocations: 4.188 kB / 1.014 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01302/3.331, allocations: 5.378 MB / 1.02 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006146/3.337, allocations: 0.8469 MB / 1.02 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04459/3.382, allocations: 16.93 MB / 1.037 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01776/3.399, allocations: 5.522 MB / 1.042 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.03958/3.439, allocations: 3.035 MB / 1.045 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004483/3.444, allocations: 431.8 kB / 1.046 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of SimCode: time 3.083e-06/3.444, allocations: 0 / 1.046 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.2367/3.68, allocations: 75.11 MB / 1.119 GB, free: 95.98 MB / 0.5573 GB