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 2.012/2.012, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.764e-05, allocations: 4 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.07892, allocations: 44.51 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4203, allocations: 86.93 MB / 386.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4206, allocations: 86.94 kB / 386.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2557/0.6764, allocations: 71.61 MB / 458.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.976e-06/0.6764, allocations: 4 kB / 458.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002073/0.6766, allocations: 71.94 kB / 458.5 MB, free: 13.95 MB / 346.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.01601/0.6927, allocations: 3.779 MB / 462.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6927, allocations: 8.031 kB / 462.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.7055, allocations: 2.148 MB / 464.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.7206, allocations: 4.435 MB / 468.9 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/0.721, allocations: 275.2 kB / 469.2 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.7227, allocations: 367.8 kB / 469.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/0.7457, allocations: 9.014 MB / 478.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/0.746, allocations: 55.55 kB / 478.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.7474, allocations: 175.9 kB / 478.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/0.7493, allocations: 0.8724 MB / 479.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.7688, allocations: 7.251 MB / 486.9 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.302/1.071, allocations: 43.16 MB / 0.5176 GB, free: 55.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.081, allocations: 3.143 MB / 0.5207 GB, free: 54.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002545/1.084, allocations: 1.357 MB / 0.522 GB, free: 54.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/1.095, allocations: 6.067 MB / 0.528 GB, free: 53.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.095, allocations: 50.41 kB / 0.528 GB, free: 53.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 6.878e-06/1.095, allocations: 0 / 0.528 GB, free: 53.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.0256/1.121, allocations: 8.948 MB / 0.5368 GB, free: 50.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001131/1.122, allocations: 1.61 MB / 0.5383 GB, free: 49.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006061/1.128, allocations: 3.118 MB / 0.5414 GB, free: 48.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.128, allocations: 41.52 kB / 0.5414 GB, free: 48.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.13, allocations: 2.723 MB / 0.5441 GB, free: 47.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/1.131, allocations: 0.5242 MB / 0.5446 GB, free: 47.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/1.131, allocations: 107.1 kB / 0.5447 GB, free: 47.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003527/1.132, allocations: 0.5313 MB / 0.5452 GB, free: 46.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003665/1.135, allocations: 1.825 MB / 0.547 GB, free: 46.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005413/1.141, allocations: 5.232 MB / 0.5521 GB, free: 42.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0056/1.147, allocations: 3.062 MB / 0.5551 GB, free: 42.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/1.147, allocations: 35 kB / 0.5551 GB, free: 42.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02281/1.17, allocations: 8.176 MB / 0.5631 GB, free: 41.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.17, allocations: 57.47 kB / 0.5632 GB, free: 41.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01064/1.18, allocations: 3.068 MB / 0.5662 GB, free: 40.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/1.191, allocations: 1.94 MB / 0.568 GB, free: 40.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004865/1.196, allocations: 1.226 MB / 0.5692 GB, free: 40.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008869/1.204, allocations: 5.718 MB / 0.5748 GB, free: 36.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005821/1.21, allocations: 374.1 kB / 0.5752 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.211, allocations: 335.9 kB / 0.5755 GB, free: 36.41 MB / 394.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): 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.001295/1.213, allocations: 0.5162 MB / 0.576 GB, free: 35.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/1.214, allocations: 307.5 kB / 0.5763 GB, free: 35.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006604/1.22, allocations: 2.653 MB / 0.5789 GB, free: 34.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005398/1.226, allocations: 2.246 MB / 0.5811 GB, free: 34.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.226, allocations: 7.312 kB / 0.5811 GB, free: 34.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/1.226, allocations: 3.609 kB / 0.5811 GB, free: 34.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007594/1.233, allocations: 3.353 MB / 0.5844 GB, free: 32.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/1.233, allocations: 3.812 kB / 0.5844 GB, free: 32.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.235, allocations: 208.8 kB / 0.5846 GB, free: 32.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003817/1.239, allocations: 1.032 MB / 0.5856 GB, free: 32.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/1.239, allocations: 36.66 kB / 0.5856 GB, free: 32.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006422/1.245, allocations: 4.993 MB / 0.5905 GB, free: 29.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00099/1.246, allocations: 1.475 MB / 0.5919 GB, free: 27.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009287/1.256, allocations: 4.833 MB / 0.5967 GB, free: 24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009656/1.257, allocations: 367.3 kB / 0.597 GB, free: 23.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/1.257, allocations: 29.36 kB / 0.597 GB, free: 23.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.259, allocations: 120.3 kB / 0.5971 GB, free: 23.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/1.26, allocations: 76.98 kB / 0.5972 GB, free: 23.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.26, allocations: 43.22 kB / 0.5973 GB, free: 23.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00453/1.264, allocations: 2.141 MB / 0.5993 GB, free: 21.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.77e-07/1.265, allocations: 0 / 0.5993 GB, free: 21.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00632/1.271, allocations: 0.9427 MB / 0.6003 GB, free: 20.64 MB / 394.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.0005888/1.271, allocations: 167 kB / 0.6004 GB, free: 20.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01043/1.282, allocations: 5.039 MB / 0.6054 GB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.282, allocations: 0 / 0.6054 GB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0044/1.286, allocations: 1.988 MB / 0.6073 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.289, allocations: 363.4 kB / 0.6076 GB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.305, allocations: 7.212 MB / 0.6147 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00539/1.31, allocations: 2.942 MB / 0.6176 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.311, allocations: 249.4 kB / 0.6178 GB, free: 5.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.719e-06/1.311, allocations: 0 / 0.6178 GB, free: 5.016 MB / 394.7 MB Notification: Performance of Templates: time 0.3911/1.702, allocations: 109 MB / 0.7242 GB, free: 116.1 MB / 442.7 MB