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_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.612e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08577, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.494, allocations: 92.58 MB / 414.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4943, allocations: 72.48 kB / 414.4 MB, free: 2.594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8416/1.336, allocations: 142.4 MB / 0.5437 GB, free: 68.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.5e-06/1.336, allocations: 0 / 0.5437 GB, free: 68.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005597/1.337, allocations: 161.8 kB / 0.5439 GB, free: 68.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.04414/1.381, allocations: 8.676 MB / 0.5524 GB, free: 65.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.381, allocations: 7.688 kB / 0.5524 GB, free: 65.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04259/1.423, allocations: 7.696 MB / 0.5599 GB, free: 65.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03193/1.455, allocations: 10.93 MB / 0.5705 GB, free: 64.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006431/1.456, allocations: 0.5594 MB / 0.5711 GB, free: 64.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/1.459, allocations: 0.763 MB / 0.5718 GB, free: 64.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04637/1.506, allocations: 17.36 MB / 0.5888 GB, free: 60.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004691/1.506, allocations: 108.3 kB / 0.5889 GB, free: 60.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002697/1.509, allocations: 355.7 kB / 0.5892 GB, free: 60.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003128/1.512, allocations: 1.597 MB / 0.5908 GB, free: 60.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03767/1.55, allocations: 13.75 MB / 0.6042 GB, free: 57.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.105/1.655, allocations: 79.01 MB / 0.6814 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2958/1.951, allocations: 7.137 MB / 0.6883 GB, free: 77.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006102/1.957, allocations: 3.209 MB / 0.6915 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03232/1.989, allocations: 14.67 MB / 0.7058 GB, free: 74.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.989, allocations: 72.05 kB / 0.7059 GB, free: 74.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 8.21e-06/1.989, allocations: 0 / 0.7059 GB, free: 74.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.08512/2.074, allocations: 22.98 MB / 0.7283 GB, free: 70.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004224/2.079, allocations: 6.241 MB / 0.7344 GB, free: 64.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01348/2.092, allocations: 5.756 MB / 0.74 GB, free: 63.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006924/2.093, allocations: 71.08 kB / 0.7401 GB, free: 63.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003807/2.097, allocations: 5.062 MB / 0.745 GB, free: 61.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/2.099, allocations: 1.185 MB / 0.7462 GB, free: 60.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/2.1, allocations: 190.9 kB / 0.7464 GB, free: 60.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00076/2.101, allocations: 0.7263 MB / 0.7471 GB, free: 60.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008416/2.109, allocations: 3.791 MB / 0.7508 GB, free: 59.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/2.121, allocations: 9.523 MB / 0.7601 GB, free: 50.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/2.133, allocations: 5.9 MB / 0.7659 GB, free: 48.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/2.133, allocations: 62.47 kB / 0.7659 GB, free: 48.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03749/2.17, allocations: 14.35 MB / 0.7799 GB, free: 44.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/2.17, allocations: 96.53 kB / 0.78 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0175/2.188, allocations: 6.707 MB / 0.7866 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/2.2, allocations: 2.837 MB / 0.7893 GB, free: 41.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/2.21, allocations: 2.36 MB / 0.7917 GB, free: 41.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/2.222, allocations: 11.27 MB / 0.8027 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/2.234, allocations: 0.8548 MB / 0.8035 GB, free: 29.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002266/2.236, allocations: 0.5899 MB / 0.8041 GB, free: 28.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003174/2.239, allocations: 0.8654 MB / 0.8049 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/2.241, allocations: 0.586 MB / 0.8055 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/2.261, allocations: 7.533 MB / 0.8128 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01738/2.278, allocations: 6.689 MB / 0.8194 GB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-05/2.278, allocations: 12 kB / 0.8194 GB, free: 16.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.618e-05/2.278, allocations: 15.05 kB / 0.8194 GB, free: 16.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/2.296, allocations: 7.428 MB / 0.8266 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.511e-05/2.296, allocations: 4 kB / 0.8267 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004323/2.301, allocations: 0.6001 MB / 0.8272 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/2.313, allocations: 3.131 MB / 0.8303 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008316/2.314, allocations: 92.44 kB / 0.8304 GB, free: 7.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/2.332, allocations: 13.99 MB / 0.844 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006332/2.339, allocations: 6.012 MB / 0.8499 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3323/2.671, allocations: 11.65 MB / 0.8613 GB, free: 78.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007876/2.679, allocations: 1.126 MB / 0.8624 GB, free: 78.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003891/2.683, allocations: 78.56 kB / 0.8625 GB, free: 78.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/2.695, allocations: 372.3 kB / 0.8628 GB, free: 78.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002104/2.697, allocations: 219.3 kB / 0.863 GB, free: 78.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001093/2.698, allocations: 90.67 kB / 0.8631 GB, free: 78.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02052/2.719, allocations: 4.005 MB / 0.867 GB, free: 78.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.967e-06/2.719, allocations: 0 / 0.867 GB, free: 78.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01311/2.732, allocations: 2.009 MB / 0.869 GB, free: 78.12 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (233): * Single equations (assignments): 216 * 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.001149/2.733, allocations: 242.8 kB / 0.8692 GB, free: 78.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02287/2.756, allocations: 10.41 MB / 0.8794 GB, free: 76.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.66e-06/2.756, allocations: 0 / 0.8794 GB, free: 76.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0119/2.768, allocations: 5.264 MB / 0.8845 GB, free: 75.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006009/2.774, allocations: 0.8237 MB / 0.8853 GB, free: 75.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/2.814, allocations: 17.25 MB / 0.9022 GB, free: 71.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/2.826, allocations: 5.397 MB / 0.9075 GB, free: 70.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002552/2.829, allocations: 491.9 kB / 0.9079 GB, free: 70.17 MB / 458.7 MB Notification: Performance of SimCode: time 1.77e-06/2.829, allocations: 0 / 0.9079 GB, free: 70.17 MB / 458.7 MB Notification: Performance of Templates: time 1.528/4.357, allocations: 0.4989 GB / 1.407 GB, free: 113.9 MB / 490.7 MB