Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.842e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.296, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.4307, allocations: 86.27 MB / 380.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.431, allocations: 91.88 kB / 380.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4835/0.9145, allocations: 70.01 MB / 450.5 MB, free: 88.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.999e-06/0.9146, allocations: 0 / 450.5 MB, free: 88.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001823/0.9148, allocations: 69.81 kB / 450.6 MB, free: 88.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01534/0.9301, allocations: 3.782 MB / 454.3 MB, free: 86.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.9302, allocations: 10.06 kB / 454.3 MB, free: 86.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/0.9428, allocations: 2.143 MB / 456.5 MB, free: 86.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.9569, allocations: 4.44 MB / 460.9 MB, free: 84.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.9571, allocations: 115.3 kB / 461 MB, free: 84.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.9587, allocations: 211.9 kB / 461.3 MB, free: 84.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01072/0.9694, allocations: 5.187 MB / 466.4 MB, free: 80.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.9855, allocations: 8.107 MB / 474.5 MB, free: 71.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.9857, allocations: 51.47 kB / 474.6 MB, free: 71.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008077/0.9865, allocations: 35.94 kB / 474.6 MB, free: 71.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00131/0.9878, allocations: 0.8767 MB / 475.5 MB, free: 70.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/1.033, allocations: 42.18 MB / 0.5056 GB, free: 27.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/1.036, allocations: 2.288 MB / 0.5078 GB, free: 24.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/1.038, allocations: 1.278 MB / 0.509 GB, free: 23.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.842e-05/1.038, allocations: 12.47 kB / 0.5091 GB, free: 23.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/1.038, allocations: 47.11 kB / 0.5091 GB, free: 23.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 6.188e-06/1.038, allocations: 8 kB / 0.5091 GB, free: 23.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.021/1.059, allocations: 8.527 MB / 0.5174 GB, free: 14.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.059, allocations: 137.1 kB / 0.5176 GB, free: 14.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/1.064, allocations: 2.766 MB / 0.5203 GB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/1.065, allocations: 29.7 kB / 0.5203 GB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/1.067, allocations: 2.797 MB / 0.523 GB, free: 9.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006912/1.067, allocations: 0.5324 MB / 0.5235 GB, free: 8.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/1.068, allocations: 0 / 0.5235 GB, free: 8.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003448/1.068, allocations: 0.5462 MB / 0.5241 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/1.071, allocations: 1.776 MB / 0.5258 GB, free: 6.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005671/1.077, allocations: 5.309 MB / 0.531 GB, free: 15.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006544/1.084, allocations: 3.055 MB / 0.534 GB, free: 11.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.084, allocations: 36 kB / 0.534 GB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02464/1.109, allocations: 7.648 MB / 0.5415 GB, free: 4.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.109, allocations: 60 kB / 0.5415 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01167/1.12, allocations: 3.029 MB / 0.5445 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/1.132, allocations: 1.936 MB / 0.5464 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005257/1.137, allocations: 1.275 MB / 0.5476 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.148, allocations: 5.566 MB / 0.5531 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/1.153, allocations: 271.3 kB / 0.5533 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.155, allocations: 352 kB / 0.5537 GB, free: 7.531 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.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 (687): * Single equations (assignments): 678 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.156, allocations: 428.7 kB / 0.5541 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007409/1.157, allocations: 280.3 kB / 0.5543 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007078/1.164, allocations: 2.57 MB / 0.5568 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006022/1.17, allocations: 2.206 MB / 0.559 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.17, allocations: 288 / 0.559 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-05/1.17, allocations: 15.91 kB / 0.559 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3076/1.478, allocations: 5.061 MB / 0.564 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.478, allocations: 4.938 kB / 0.564 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.479, allocations: 219.2 kB / 0.5642 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003904/1.483, allocations: 1.018 MB / 0.5652 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/1.483, allocations: 16.88 kB / 0.5652 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/1.49, allocations: 4.894 MB / 0.57 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009846/1.491, allocations: 1.416 MB / 0.5713 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00991/1.501, allocations: 4.84 MB / 0.5761 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/1.502, allocations: 344.3 kB / 0.5764 GB, free: 99.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006705/1.503, allocations: 13.12 kB / 0.5764 GB, free: 99.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.505, allocations: 106 kB / 0.5765 GB, free: 99.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/1.505, allocations: 78.31 kB / 0.5766 GB, free: 99.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.505, allocations: 40.39 kB / 0.5766 GB, free: 99.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003918/1.509, allocations: 1.827 MB / 0.5784 GB, free: 99.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.268e-06/1.509, allocations: 6.281 kB / 0.5784 GB, free: 99.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006256/1.515, allocations: 0.8467 MB / 0.5792 GB, free: 99.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005797/1.516, allocations: 152.5 kB / 0.5794 GB, free: 99.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009969/1.526, allocations: 4.883 MB / 0.5842 GB, free: 98.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.986e-06/1.526, allocations: 3.406 kB / 0.5842 GB, free: 98.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004447/1.531, allocations: 1.981 MB / 0.5861 GB, free: 97.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.533, allocations: 305.8 kB / 0.5864 GB, free: 97.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.549, allocations: 7.193 MB / 0.5934 GB, free: 94.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005166/1.554, allocations: 2.939 MB / 0.5963 GB, free: 93.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.555, allocations: 244.3 kB / 0.5965 GB, free: 93.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.591e-06/1.555, allocations: 4 kB / 0.5965 GB, free: 93.58 MB / 394.7 MB Notification: Performance of Templates: time 0.1311/1.686, allocations: 107.6 MB / 0.7016 GB, free: 13.45 MB / 410.7 MB