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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.099e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5122, allocations: 93.76 MB / 410.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5125, allocations: 86.08 kB / 410.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.322/0.8345, allocations: 73.55 MB / 484.3 MB, free: 7.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.8345, allocations: 0 / 484.3 MB, free: 7.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001962/0.8347, allocations: 68 kB / 484.4 MB, free: 7.711 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01533/0.8501, allocations: 3.85 MB / 488.2 MB, free: 3.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8501, allocations: 12.03 kB / 488.3 MB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.8628, allocations: 2.155 MB / 490.4 MB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.8778, allocations: 4.502 MB / 494.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.8782, allocations: 287.3 kB / 495.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.8797, allocations: 371.8 kB / 495.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.9025, allocations: 9.215 MB / 0.4929 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.9027, allocations: 51.5 kB / 0.493 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007171/0.9034, allocations: 183.9 kB / 0.4932 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001673/0.9051, allocations: 0.9116 MB / 0.4941 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.9241, allocations: 7.288 MB / 0.5012 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2847/1.209, allocations: 43.9 MB / 0.5441 GB, free: 72.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.219, allocations: 3.407 MB / 0.5474 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/1.222, allocations: 1.412 MB / 0.5488 GB, free: 71.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/1.234, allocations: 6.873 MB / 0.5555 GB, free: 69.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.234, allocations: 44.75 kB / 0.5555 GB, free: 69.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 5.944e-06/1.234, allocations: 0 / 0.5555 GB, free: 69.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=139): time 0.0291/1.263, allocations: 9.356 MB / 0.5647 GB, free: 66.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00113/1.264, allocations: 1.612 MB / 0.5662 GB, free: 65.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00538/1.269, allocations: 3.139 MB / 0.5693 GB, free: 64.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/1.27, allocations: 47.58 kB / 0.5693 GB, free: 64.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.271, allocations: 2.806 MB / 0.5721 GB, free: 63.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/1.272, allocations: 0.5712 MB / 0.5726 GB, free: 63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/1.272, allocations: 107.9 kB / 0.5727 GB, free: 63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003095/1.273, allocations: 0.5315 MB / 0.5733 GB, free: 62.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/1.276, allocations: 1.85 MB / 0.5751 GB, free: 62.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004852/1.281, allocations: 5.253 MB / 0.5802 GB, free: 57.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005411/1.286, allocations: 3.107 MB / 0.5832 GB, free: 56.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.029e-05/1.286, allocations: 33.59 kB / 0.5833 GB, free: 56.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.02201/1.308, allocations: 8.02 MB / 0.5911 GB, free: 54.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/1.308, allocations: 69.12 kB / 0.5912 GB, free: 54.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01066/1.319, allocations: 3.133 MB / 0.5942 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/1.33, allocations: 1.945 MB / 0.5961 GB, free: 53.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005058/1.335, allocations: 1.246 MB / 0.5973 GB, free: 53.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/1.343, allocations: 5.686 MB / 0.6029 GB, free: 49.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/1.349, allocations: 372.6 kB / 0.6032 GB, free: 49.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007685/1.35, allocations: 340.4 kB / 0.6036 GB, free: 49.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (674): * Single equations (assignments): 665 * 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.0008642/1.351, allocations: 0.5268 MB / 0.6041 GB, free: 48.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005747/1.351, allocations: 306.8 kB / 0.6044 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006371/1.358, allocations: 2.734 MB / 0.607 GB, free: 47.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005695/1.363, allocations: 2.321 MB / 0.6093 GB, free: 47.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.363, allocations: 3.938 kB / 0.6093 GB, free: 47.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/1.363, allocations: 7.266 kB / 0.6093 GB, free: 47.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/1.38, allocations: 7.828 MB / 0.617 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.38, allocations: 0 / 0.617 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.382, allocations: 226.6 kB / 0.6172 GB, free: 42.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/1.385, allocations: 1.042 MB / 0.6182 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.385, allocations: 35.08 kB / 0.6182 GB, free: 41.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005764/1.391, allocations: 4.945 MB / 0.6231 GB, free: 37.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008987/1.392, allocations: 1.478 MB / 0.6245 GB, free: 35.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008617/1.401, allocations: 5.048 MB / 0.6294 GB, free: 31.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000899/1.402, allocations: 367.9 kB / 0.6298 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/1.402, allocations: 32.47 kB / 0.6298 GB, free: 30.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.404, allocations: 132.9 kB / 0.6299 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/1.404, allocations: 91.25 kB / 0.63 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.404, allocations: 40.52 kB / 0.6301 GB, free: 30.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003678/1.408, allocations: 2.164 MB / 0.6322 GB, free: 28.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.013e-06/1.408, allocations: 0 / 0.6322 GB, free: 28.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01151/1.42, allocations: 0.9667 MB / 0.6331 GB, free: 27.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (105): * Single equations (assignments): 98 * 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.0009144/1.421, allocations: 176.7 kB / 0.6333 GB, free: 27.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03145/1.452, allocations: 4.902 MB / 0.6381 GB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.452, allocations: 4.062 kB / 0.6381 GB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02011/1.472, allocations: 1.979 MB / 0.64 GB, free: 21.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/1.477, allocations: 353.8 kB / 0.6404 GB, free: 21.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03603/1.513, allocations: 6.965 MB / 0.6472 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0036/1.517, allocations: 2.991 MB / 0.6501 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005041/1.522, allocations: 1.702 MB / 0.6517 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/1.523, allocations: 215.4 kB / 0.6519 GB, free: 10.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.711e-06/1.523, allocations: 4 kB / 0.6519 GB, free: 10.59 MB / 426.7 MB Notification: Performance of Templates: time 0.323/1.846, allocations: 32.38 MB / 0.6836 GB, free: 106.5 MB / 442.7 MB