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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.136e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.3391, allocations: 81.31 MB / 345.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.3394, allocations: 83.95 kB / 345.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.595/0.9345, allocations: 71.45 MB / 416.6 MB, free: 56.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.027e-06/0.9345, allocations: 4 kB / 416.6 MB, free: 56.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002756/0.9348, allocations: 68 kB / 416.7 MB, free: 56.76 MB / 314.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.01814/0.953, allocations: 3.771 MB / 420.5 MB, free: 52.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9531, allocations: 12.03 kB / 420.5 MB, free: 52.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.9699, allocations: 2.129 MB / 422.6 MB, free: 50.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.9852, allocations: 4.428 MB / 427 MB, free: 46.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.9855, allocations: 275.2 kB / 427.3 MB, free: 46.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/0.987, allocations: 367.8 kB / 427.7 MB, free: 45.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02294/1.01, allocations: 8.965 MB / 436.6 MB, free: 35.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003518/1.01, allocations: 59.41 kB / 436.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002108/1.012, allocations: 183.8 kB / 436.9 MB, free: 35.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003088/1.016, allocations: 0.8724 MB / 437.7 MB, free: 34.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03634/1.052, allocations: 7.076 MB / 444.8 MB, free: 27.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07801/1.13, allocations: 43.17 MB / 488 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/1.153, allocations: 3.13 MB / 491.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005846/1.159, allocations: 1.365 MB / 492.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02706/1.186, allocations: 6.047 MB / 498.5 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/1.187, allocations: 47.06 kB / 498.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 1.028e-05/1.187, allocations: 4 kB / 498.6 MB, free: 3.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.2389/1.426, allocations: 8.925 MB / 0.4956 GB, free: 86.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001154/1.427, allocations: 1.605 MB / 0.4972 GB, free: 85.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006248/1.433, allocations: 3.115 MB / 0.5002 GB, free: 84.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002958/1.433, allocations: 43.97 kB / 0.5003 GB, free: 84.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.436, allocations: 2.766 MB / 0.503 GB, free: 83.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/1.436, allocations: 0.5314 MB / 0.5035 GB, free: 82.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/1.437, allocations: 106.6 kB / 0.5036 GB, free: 82.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003126/1.437, allocations: 0.539 MB / 0.5041 GB, free: 82.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/1.441, allocations: 1.805 MB / 0.5059 GB, free: 82.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/1.446, allocations: 5.191 MB / 0.5109 GB, free: 78.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005518/1.452, allocations: 3.04 MB / 0.5139 GB, free: 78.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.452, allocations: 36.31 kB / 0.514 GB, free: 78.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01736/1.469, allocations: 7.245 MB / 0.521 GB, free: 76.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-05/1.469, allocations: 57.09 kB / 0.5211 GB, free: 76.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005886/1.475, allocations: 2.377 MB / 0.5234 GB, free: 75.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004289/1.479, allocations: 1.126 MB / 0.5245 GB, free: 75.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/1.484, allocations: 1.221 MB / 0.5257 GB, free: 75.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/1.49, allocations: 4.704 MB / 0.5303 GB, free: 71.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005794/1.496, allocations: 369.1 kB / 0.5306 GB, free: 71.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009956/1.497, allocations: 339.1 kB / 0.531 GB, free: 71.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * 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 (657): * Single equations (assignments): 648 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009571/1.498, allocations: 0.5255 MB / 0.5315 GB, free: 71.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006548/1.499, allocations: 295.9 kB / 0.5318 GB, free: 71.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006718/1.506, allocations: 2.651 MB / 0.5343 GB, free: 70.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005766/1.512, allocations: 2.251 MB / 0.5365 GB, free: 69.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/1.512, allocations: 7.844 kB / 0.5366 GB, free: 69.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/1.512, allocations: 3.469 kB / 0.5366 GB, free: 69.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/1.518, allocations: 3.345 MB / 0.5398 GB, free: 66.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/1.518, allocations: 4 kB / 0.5398 GB, free: 66.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.52, allocations: 208.1 kB / 0.54 GB, free: 66.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003749/1.524, allocations: 1.039 MB / 0.541 GB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/1.524, allocations: 39.16 kB / 0.5411 GB, free: 65.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006133/1.53, allocations: 4.983 MB / 0.5459 GB, free: 61.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009174/1.531, allocations: 1.467 MB / 0.5474 GB, free: 59.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00889/1.54, allocations: 4.844 MB / 0.5521 GB, free: 55.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009754/1.541, allocations: 367.3 kB / 0.5525 GB, free: 55.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005835/1.542, allocations: 27.75 kB / 0.5525 GB, free: 55.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.543, allocations: 120 kB / 0.5526 GB, free: 54.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/1.544, allocations: 82.94 kB / 0.5527 GB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.544, allocations: 35.84 kB / 0.5527 GB, free: 54.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004043/1.548, allocations: 2.147 MB / 0.5548 GB, free: 53.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.21e-07/1.548, allocations: 0 / 0.5548 GB, free: 53.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005981/1.554, allocations: 0.921 MB / 0.5557 GB, free: 52.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (93): * Single equations (assignments): 86 * 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.0004897/1.555, allocations: 169.3 kB / 0.5559 GB, free: 51.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009697/1.564, allocations: 4.832 MB / 0.5606 GB, free: 47.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.216e-06/1.564, allocations: 0 / 0.5606 GB, free: 47.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004335/1.569, allocations: 1.957 MB / 0.5625 GB, free: 45.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.571, allocations: 345.6 kB / 0.5628 GB, free: 45.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.585, allocations: 6.813 MB / 0.5695 GB, free: 39.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004359/1.59, allocations: 2.932 MB / 0.5723 GB, free: 37.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005564/1.595, allocations: 1.665 MB / 0.574 GB, free: 36.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/1.596, allocations: 207.2 kB / 0.5742 GB, free: 36.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.764e-06/1.596, allocations: 0 / 0.5742 GB, free: 36.05 MB / 346.7 MB Notification: Performance of Templates: time 0.07893/1.675, allocations: 29.9 MB / 0.6034 GB, free: 6.77 MB / 346.7 MB