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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.511e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 44.49 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.3783, allocations: 80.66 MB / 374.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3786, allocations: 91.88 kB / 374.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4407/0.8193, allocations: 58.38 MB / 433.2 MB, free: 90.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.897e-06/0.8194, allocations: 0 / 433.2 MB, free: 90.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001319/0.8195, allocations: 47.58 kB / 433.3 MB, free: 90.56 MB / 362.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.01938/0.8389, allocations: 3.437 MB / 436.7 MB, free: 89.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.839, allocations: 11.19 kB / 436.7 MB, free: 89.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.8536, allocations: 2.347 MB / 439.1 MB, free: 89.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.8678, allocations: 4.851 MB / 443.9 MB, free: 88.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.868, allocations: 72.66 kB / 444 MB, free: 88.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.8691, allocations: 142.7 kB / 444.1 MB, free: 88.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009888/0.879, allocations: 5.531 MB / 449.7 MB, free: 88.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.8929, allocations: 7.804 MB / 457.5 MB, free: 85.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/0.8931, allocations: 46.12 kB / 457.5 MB, free: 85.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009193/0.8941, allocations: 27.62 kB / 457.5 MB, free: 85.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001395/0.8955, allocations: 0.7324 MB / 458.3 MB, free: 84.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03993/0.9354, allocations: 36.56 MB / 494.8 MB, free: 51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004885/0.9404, allocations: 3.164 MB / 498 MB, free: 47.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.9439, allocations: 2.163 MB / 0.4884 GB, free: 45.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.9441, allocations: 11.83 kB / 0.4885 GB, free: 45.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.9441, allocations: 55.55 kB / 0.4885 GB, free: 45.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 5.749e-06/0.9441, allocations: 0 / 0.4885 GB, free: 45.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=136): time 0.04057/0.9847, allocations: 13.54 MB / 0.5017 GB, free: 31.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.9848, allocations: 178.7 kB / 0.5019 GB, free: 31.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/0.9892, allocations: 2.292 MB / 0.5041 GB, free: 29.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004641/0.9897, allocations: 29.7 kB / 0.5042 GB, free: 29.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.9912, allocations: 2.112 MB / 0.5062 GB, free: 27.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009754/0.9922, allocations: 0.5477 MB / 0.5068 GB, free: 26.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006284/0.9928, allocations: 4 kB / 0.5068 GB, free: 26.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003785/0.9932, allocations: 0.5175 MB / 0.5073 GB, free: 25.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004363/0.9976, allocations: 2.235 MB / 0.5095 GB, free: 23.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005972/1.004, allocations: 5.215 MB / 0.5145 GB, free: 16.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0059/1.01, allocations: 3.344 MB / 0.5178 GB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-05/1.01, allocations: 36 kB / 0.5178 GB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0232/1.033, allocations: 8.653 MB / 0.5263 GB, free: 4.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.261e-05/1.033, allocations: 55.95 kB / 0.5264 GB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01299/1.046, allocations: 4.595 MB / 0.5308 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/1.057, allocations: 2.324 MB / 0.5331 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005394/1.063, allocations: 1.201 MB / 0.5343 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.074, allocations: 7.827 MB / 0.5419 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006661/1.081, allocations: 495 kB / 0.5424 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.083, allocations: 315.8 kB / 0.5427 GB, free: 3.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * 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 (596): * Single equations (assignments): 581 * 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.001233/1.084, allocations: 362.1 kB / 0.543 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007952/1.085, allocations: 233 kB / 0.5433 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/1.086, allocations: 389.6 kB / 0.5436 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01482/1.101, allocations: 4.514 MB / 0.548 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.205e-05/1.101, allocations: 4 kB / 0.548 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/1.101, allocations: 3.984 kB / 0.5481 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/1.115, allocations: 5.003 MB / 0.5529 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.115, allocations: 0 / 0.5529 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.117, allocations: 279.5 kB / 0.5532 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/1.128, allocations: 2.343 MB / 0.5555 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000582/1.129, allocations: 31.95 kB / 0.5555 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2355/1.364, allocations: 8.617 MB / 0.5639 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00185/1.366, allocations: 2.766 MB / 0.5666 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/1.386, allocations: 7.988 MB / 0.5744 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/1.387, allocations: 311.3 kB / 0.5747 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008886/1.388, allocations: 15.2 kB / 0.5748 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00318/1.391, allocations: 248.2 kB / 0.575 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007383/1.392, allocations: 109.4 kB / 0.5751 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003397/1.392, allocations: 45.45 kB / 0.5751 GB, free: 100.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003243/1.395, allocations: 1.527 MB / 0.5766 GB, free: 100.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.329e-06/1.395, allocations: 2 kB / 0.5766 GB, free: 100.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006161/1.401, allocations: 0.8657 MB / 0.5775 GB, free: 100.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.0008307/1.402, allocations: 154.9 kB / 0.5776 GB, free: 100.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0131/1.415, allocations: 6.488 MB / 0.584 GB, free: 99.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.247e-06/1.415, allocations: 0 / 0.584 GB, free: 99.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007226/1.423, allocations: 3.343 MB / 0.5872 GB, free: 98.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.425, allocations: 234.6 kB / 0.5874 GB, free: 98.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.443, allocations: 7.613 MB / 0.5949 GB, free: 96.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004775/1.448, allocations: 2.346 MB / 0.5972 GB, free: 95.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.449, allocations: 220.5 kB / 0.5974 GB, free: 95.01 MB / 394.7 MB Notification: Performance of SimCode: time 1.978e-06/1.449, allocations: 0 / 0.5974 GB, free: 95.01 MB / 394.7 MB Notification: Performance of Templates: time 0.3912/1.841, allocations: 130.6 MB / 0.7249 GB, free: 122.2 MB / 410.7 MB