Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.845e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08392/0.08397, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.4612, allocations: 81.32 MB / 381.2 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4615, allocations: 85.66 kB / 381.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2187/0.6802, allocations: 59.18 MB / 440.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.67e-06/0.6803, allocations: 3.984 kB / 440.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001079/0.6804, allocations: 43.94 kB / 440.5 MB, free: 13.58 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01775/0.6982, allocations: 3.445 MB / 444 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6982, allocations: 8.031 kB / 444 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/0.7127, allocations: 2.348 MB / 446.3 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.7281, allocations: 4.849 MB / 451.2 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.7284, allocations: 169.2 kB / 451.3 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.7297, allocations: 234 kB / 451.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.7525, allocations: 8.44 MB / 460 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/0.7527, allocations: 51.55 kB / 460 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006898/0.7534, allocations: 119.9 kB / 460.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001488/0.7549, allocations: 0.7262 MB / 460.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.7799, allocations: 9.313 MB / 470.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05355/0.8335, allocations: 37.73 MB / 0.496 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.849, allocations: 4.025 MB / 0.5 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004461/0.8535, allocations: 2.201 MB / 0.5021 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.912e-05/0.8537, allocations: 8 kB / 0.5021 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.8537, allocations: 42.56 kB / 0.5022 GB, free: 3.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.445e-06/0.8537, allocations: 0 / 0.5022 GB, free: 3.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.3427/1.196, allocations: 14.49 MB / 0.5163 GB, free: 98.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001923/1.198, allocations: 3.048 MB / 0.5193 GB, free: 95.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0048/1.203, allocations: 2.614 MB / 0.5218 GB, free: 94.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004637/1.204, allocations: 44.17 kB / 0.5219 GB, free: 94.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.205, allocations: 2.074 MB / 0.5239 GB, free: 93.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007398/1.206, allocations: 0.5681 MB / 0.5245 GB, free: 93.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/1.206, allocations: 93.8 kB / 0.5245 GB, free: 93.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/1.206, allocations: 0.5025 MB / 0.525 GB, free: 93.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005442/1.212, allocations: 2.295 MB / 0.5273 GB, free: 93.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009592/1.222, allocations: 5.152 MB / 0.5323 GB, free: 89.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007704/1.229, allocations: 3.36 MB / 0.5356 GB, free: 89.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.772e-05/1.229, allocations: 36.45 kB / 0.5356 GB, free: 89.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02513/1.255, allocations: 8.951 MB / 0.5444 GB, free: 87.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/1.255, allocations: 50.91 kB / 0.5444 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01418/1.269, allocations: 4.648 MB / 0.549 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/1.28, allocations: 2.354 MB / 0.5513 GB, free: 86.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/1.285, allocations: 1.152 MB / 0.5524 GB, free: 85.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009249/1.294, allocations: 8.129 MB / 0.5603 GB, free: 79.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007297/1.301, allocations: 0.5589 MB / 0.5609 GB, free: 79.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/1.303, allocations: 309.4 kB / 0.5612 GB, free: 79.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 560 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001074/1.304, allocations: 458.9 kB / 0.5616 GB, free: 79.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000799/1.305, allocations: 257.3 kB / 0.5618 GB, free: 79.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.306, allocations: 416.3 kB / 0.5622 GB, free: 79.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01347/1.319, allocations: 4.559 MB / 0.5667 GB, free: 77.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/1.319, allocations: 4 kB / 0.5667 GB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/1.319, allocations: 11.5 kB / 0.5667 GB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.33, allocations: 5.341 MB / 0.5719 GB, free: 73.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.33, allocations: 0 / 0.5719 GB, free: 73.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.333, allocations: 286.2 kB / 0.5722 GB, free: 73.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/1.343, allocations: 2.367 MB / 0.5745 GB, free: 71.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005263/1.343, allocations: 50.12 kB / 0.5746 GB, free: 71.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009966/1.353, allocations: 8.827 MB / 0.5832 GB, free: 63.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001767/1.355, allocations: 2.886 MB / 0.586 GB, free: 60.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/1.373, allocations: 8.076 MB / 0.5939 GB, free: 53.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000969/1.374, allocations: 332.5 kB / 0.5942 GB, free: 53.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.375, allocations: 35.98 kB / 0.5942 GB, free: 53.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.378, allocations: 278.4 kB / 0.5945 GB, free: 52.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007115/1.379, allocations: 95.83 kB / 0.5946 GB, free: 52.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/1.379, allocations: 47.95 kB / 0.5946 GB, free: 52.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003738/1.383, allocations: 1.816 MB / 0.5964 GB, free: 50.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.099e-06/1.383, allocations: 4 kB / 0.5964 GB, free: 50.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006074/1.389, allocations: 0.9334 MB / 0.5973 GB, free: 50.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006799/1.39, allocations: 177.4 kB / 0.5975 GB, free: 49.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01275/1.403, allocations: 6.517 MB / 0.6039 GB, free: 43.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.64e-06/1.403, allocations: 0 / 0.6039 GB, free: 43.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006899/1.41, allocations: 3.357 MB / 0.6071 GB, free: 39.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.412, allocations: 276.8 kB / 0.6074 GB, free: 39.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.429, allocations: 7.384 MB / 0.6146 GB, free: 32.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002878/1.432, allocations: 2.352 MB / 0.6169 GB, free: 29.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005083/1.437, allocations: 1.626 MB / 0.6185 GB, free: 28.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.438, allocations: 191.3 kB / 0.6187 GB, free: 27.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.755e-06/1.438, allocations: 0 / 0.6187 GB, free: 27.96 MB / 394.7 MB Notification: Performance of Templates: time 0.07961/1.517, allocations: 35.56 MB / 0.6534 GB, free: 8.711 MB / 410.7 MB