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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.882e-05, allocations: 7.938 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2088, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.3322, allocations: 81.31 MB / 345.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.3325, allocations: 83.95 kB / 345.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4391/0.7716, allocations: 71.44 MB / 416.6 MB, free: 56.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7717, allocations: 0 / 416.6 MB, free: 56.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001949/0.7719, allocations: 72 kB / 416.7 MB, free: 56.8 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.01406/0.786, allocations: 3.771 MB / 420.4 MB, free: 52.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.786, allocations: 8.031 kB / 420.4 MB, free: 52.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.7987, allocations: 2.137 MB / 422.6 MB, free: 50.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.8116, allocations: 4.436 MB / 427 MB, free: 46.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.8119, allocations: 275.2 kB / 427.3 MB, free: 46.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.8134, allocations: 367.9 kB / 427.6 MB, free: 45.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.8328, allocations: 8.957 MB / 436.6 MB, free: 35.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.833, allocations: 63.45 kB / 436.7 MB, free: 35.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/0.8341, allocations: 183.9 kB / 436.8 MB, free: 35.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/0.8355, allocations: 0.8685 MB / 437.7 MB, free: 34.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.8517, allocations: 7.076 MB / 444.8 MB, free: 27.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05343/0.9051, allocations: 43.17 MB / 488 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.9158, allocations: 3.13 MB / 491.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.9186, allocations: 1.369 MB / 492.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0133/0.9319, allocations: 6.043 MB / 498.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/0.9321, allocations: 55 kB / 498.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.311e-06/0.9321, allocations: 0 / 498.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.2288/1.161, allocations: 8.926 MB / 0.4956 GB, free: 86.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001156/1.162, allocations: 1.611 MB / 0.4972 GB, free: 85.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006314/1.168, allocations: 3.113 MB / 0.5002 GB, free: 84.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/1.169, allocations: 39.44 kB / 0.5002 GB, free: 84.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001958/1.171, allocations: 2.727 MB / 0.5029 GB, free: 83.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006635/1.171, allocations: 0.5209 MB / 0.5034 GB, free: 82.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/1.172, allocations: 104.2 kB / 0.5035 GB, free: 82.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003501/1.172, allocations: 0.5455 MB / 0.504 GB, free: 82.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/1.176, allocations: 1.806 MB / 0.5058 GB, free: 82.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005384/1.181, allocations: 5.188 MB / 0.5109 GB, free: 78.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/1.187, allocations: 3.046 MB / 0.5138 GB, free: 78.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.187, allocations: 32.31 kB / 0.5139 GB, free: 78.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01983/1.207, allocations: 7.148 MB / 0.5209 GB, free: 76.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/1.207, allocations: 57.69 kB / 0.5209 GB, free: 76.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01116/1.218, allocations: 2.375 MB / 0.5232 GB, free: 75.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007759/1.226, allocations: 1.129 MB / 0.5243 GB, free: 75.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/1.236, allocations: 1.222 MB / 0.5255 GB, free: 75.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.248, allocations: 4.701 MB / 0.5301 GB, free: 71.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/1.259, allocations: 372.4 kB / 0.5305 GB, free: 71.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/1.261, allocations: 335.9 kB / 0.5308 GB, free: 71.61 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.01624/1.277, allocations: 0.5229 MB / 0.5313 GB, free: 71.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/1.279, allocations: 297.4 kB / 0.5316 GB, free: 71.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.292, allocations: 2.657 MB / 0.5342 GB, free: 70.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005762/1.297, allocations: 2.245 MB / 0.5364 GB, free: 69.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.297, allocations: 6.672 kB / 0.5364 GB, free: 69.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/1.297, allocations: 6.578 kB / 0.5364 GB, free: 69.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006992/1.304, allocations: 3.347 MB / 0.5397 GB, free: 66.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.304, allocations: 4 kB / 0.5397 GB, free: 66.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.306, allocations: 207.9 kB / 0.5399 GB, free: 66.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/1.31, allocations: 1.048 MB / 0.5409 GB, free: 65.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/1.31, allocations: 34.23 kB / 0.5409 GB, free: 65.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006122/1.316, allocations: 4.983 MB / 0.5458 GB, free: 61.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009492/1.317, allocations: 1.467 MB / 0.5472 GB, free: 59.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/1.326, allocations: 4.843 MB / 0.5519 GB, free: 55.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/1.327, allocations: 368.5 kB / 0.5523 GB, free: 55.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/1.328, allocations: 27.14 kB / 0.5523 GB, free: 55.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.33, allocations: 122.1 kB / 0.5524 GB, free: 55.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/1.33, allocations: 80.61 kB / 0.5525 GB, free: 55.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.33, allocations: 35.7 kB / 0.5526 GB, free: 54.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004151/1.334, allocations: 2.146 MB / 0.5546 GB, free: 53.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.211e-06/1.334, allocations: 0 / 0.5546 GB, free: 53.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005806/1.34, allocations: 0.9292 MB / 0.5556 GB, free: 52.17 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.0005021/1.341, allocations: 171.2 kB / 0.5557 GB, free: 52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009969/1.351, allocations: 4.837 MB / 0.5604 GB, free: 47.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.469e-06/1.351, allocations: 0 / 0.5604 GB, free: 47.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004534/1.355, allocations: 1.96 MB / 0.5624 GB, free: 45.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.358, allocations: 349.7 kB / 0.5627 GB, free: 45.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.374, allocations: 7.204 MB / 0.5697 GB, free: 39.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/1.378, allocations: 2.94 MB / 0.5726 GB, free: 37.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.379, allocations: 246.9 kB / 0.5728 GB, free: 36.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.835e-06/1.379, allocations: 0 / 0.5728 GB, free: 36.79 MB / 346.7 MB Notification: Performance of Templates: time 0.3414/1.72, allocations: 107.5 MB / 0.6778 GB, free: 64.99 MB / 362.7 MB