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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.757/1.757, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.777e-05, allocations: 4 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07905/0.07909, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4134, allocations: 86.93 MB / 386.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4137, allocations: 84.91 kB / 386.9 MB, free: 20.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2541/0.6678, allocations: 71.64 MB / 458.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.6679, allocations: 0 / 458.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001742/0.668, allocations: 68 kB / 458.6 MB, free: 13.43 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.01462/0.6827, allocations: 3.775 MB / 462.4 MB, free: 9.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6827, allocations: 12.03 kB / 462.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.6956, allocations: 2.14 MB / 464.5 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.7107, allocations: 4.443 MB / 469 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/0.7111, allocations: 279.2 kB / 469.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.7127, allocations: 363.8 kB / 469.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/0.7377, allocations: 8.969 MB / 478.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003118/0.7381, allocations: 47.56 kB / 478.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001781/0.7399, allocations: 187.9 kB / 478.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002872/0.7428, allocations: 0.8723 MB / 479.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0342/0.7771, allocations: 7.072 MB / 486.7 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3156/1.093, allocations: 43.16 MB / 0.5175 GB, free: 55.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009891/1.103, allocations: 3.131 MB / 0.5206 GB, free: 54.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/1.105, allocations: 1.362 MB / 0.5219 GB, free: 54.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/1.116, allocations: 6.064 MB / 0.5278 GB, free: 53.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.116, allocations: 45.81 kB / 0.5278 GB, free: 53.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 5.442e-06/1.116, allocations: 0 / 0.5278 GB, free: 53.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.02698/1.143, allocations: 8.947 MB / 0.5366 GB, free: 50.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001102/1.144, allocations: 1.612 MB / 0.5382 GB, free: 49.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005422/1.15, allocations: 3.112 MB / 0.5412 GB, free: 48.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002816/1.15, allocations: 45.39 kB / 0.5412 GB, free: 48.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.152, allocations: 2.768 MB / 0.5439 GB, free: 47.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/1.152, allocations: 0.5244 MB / 0.5445 GB, free: 47.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/1.153, allocations: 108.7 kB / 0.5446 GB, free: 47.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003092/1.153, allocations: 0.5249 MB / 0.5451 GB, free: 46.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/1.157, allocations: 1.827 MB / 0.5469 GB, free: 46.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/1.162, allocations: 5.199 MB / 0.5519 GB, free: 42.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005521/1.168, allocations: 3.066 MB / 0.5549 GB, free: 42.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.772e-05/1.168, allocations: 35.09 kB / 0.555 GB, free: 42.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02386/1.192, allocations: 7.931 MB / 0.5627 GB, free: 41.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.192, allocations: 57.47 kB / 0.5628 GB, free: 41.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01118/1.203, allocations: 3.071 MB / 0.5658 GB, free: 40.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01848/1.222, allocations: 1.94 MB / 0.5677 GB, free: 40.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008711/1.23, allocations: 1.225 MB / 0.5688 GB, free: 40.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.246, allocations: 5.706 MB / 0.5744 GB, free: 36.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009894/1.256, allocations: 368.4 kB / 0.5748 GB, free: 36.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.257, allocations: 344.2 kB / 0.5751 GB, free: 36.29 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.001448/1.259, allocations: 0.515 MB / 0.5756 GB, free: 35.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.26, allocations: 307.3 kB / 0.5759 GB, free: 35.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.271, allocations: 2.664 MB / 0.5785 GB, free: 34.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009614/1.281, allocations: 2.252 MB / 0.5807 GB, free: 34.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/1.281, allocations: 3.875 kB / 0.5807 GB, free: 34.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/1.281, allocations: 11.27 kB / 0.5807 GB, free: 34.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.291, allocations: 3.345 MB / 0.584 GB, free: 32.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/1.291, allocations: 7.562 kB / 0.584 GB, free: 32.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002498/1.294, allocations: 201.8 kB / 0.5842 GB, free: 32.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006948/1.301, allocations: 1.038 MB / 0.5852 GB, free: 32.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003854/1.301, allocations: 35.55 kB / 0.5852 GB, free: 32.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.312, allocations: 4.984 MB / 0.5901 GB, free: 29.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001662/1.314, allocations: 1.476 MB / 0.5915 GB, free: 27.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.33, allocations: 4.834 MB / 0.5963 GB, free: 23.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009261/1.331, allocations: 361.8 kB / 0.5966 GB, free: 23.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/1.332, allocations: 23.28 kB / 0.5966 GB, free: 23.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.333, allocations: 130.1 kB / 0.5967 GB, free: 23.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/1.334, allocations: 80.45 kB / 0.5968 GB, free: 23.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.334, allocations: 36.03 kB / 0.5969 GB, free: 23.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003892/1.338, allocations: 2.145 MB / 0.599 GB, free: 21.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.061e-06/1.338, allocations: 0 / 0.599 GB, free: 21.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006893/1.345, allocations: 0.9364 MB / 0.5999 GB, free: 20.39 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.0005427/1.345, allocations: 164.3 kB / 0.6 GB, free: 20.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009863/1.355, allocations: 4.864 MB / 0.6048 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.106e-06/1.355, allocations: 0 / 0.6048 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004279/1.359, allocations: 1.965 MB / 0.6067 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.362, allocations: 361.4 kB / 0.607 GB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.376, allocations: 6.793 MB / 0.6137 GB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/1.38, allocations: 2.933 MB / 0.6165 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005265/1.385, allocations: 1.671 MB / 0.6182 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008141/1.386, allocations: 206.8 kB / 0.6184 GB, free: 4.324 MB / 394.7 MB Notification: Performance of SimCode: time 1.839e-06/1.386, allocations: 0 / 0.6184 GB, free: 4.324 MB / 394.7 MB Notification: Performance of Templates: time 0.08879/1.475, allocations: 31.7 MB / 0.6493 GB, free: 7.293 MB / 426.7 MB