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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.667/1.667, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.103e-05, allocations: 0 / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 38.78 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.3318, allocations: 75.68 MB / 339.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.3321, allocations: 83.94 kB / 339.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4516/0.7837, allocations: 59.01 MB / 398.6 MB, free: 73.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.7838, allocations: 0 / 398.6 MB, free: 73.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.7839, allocations: 47.94 kB / 398.6 MB, free: 73.85 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.03447/0.8184, allocations: 3.436 MB / 402.1 MB, free: 70.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8185, allocations: 8.031 kB / 402.1 MB, free: 70.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.8323, allocations: 2.325 MB / 404.4 MB, free: 68.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.8466, allocations: 4.834 MB / 409.2 MB, free: 63.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.8469, allocations: 166.9 kB / 409.4 MB, free: 63.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.8482, allocations: 230.1 kB / 409.6 MB, free: 62.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/0.876, allocations: 8.456 MB / 418.1 MB, free: 53.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002376/0.8764, allocations: 47.53 kB / 418.1 MB, free: 53.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001498/0.8779, allocations: 118.6 kB / 418.2 MB, free: 53.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002401/0.8803, allocations: 0.7262 MB / 418.9 MB, free: 52.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04081/0.9212, allocations: 9.316 MB / 428.3 MB, free: 43.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07023/0.9915, allocations: 37.72 MB / 466 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02666/1.018, allocations: 4.009 MB / 470 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00742/1.026, allocations: 2.203 MB / 472.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/1.026, allocations: 27.62 kB / 472.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/1.026, allocations: 43.61 kB / 472.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 9.06e-06/1.026, allocations: 3.938 kB / 472.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.0692/1.095, allocations: 14.49 MB / 486.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003122/1.098, allocations: 3.055 MB / 489.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/1.104, allocations: 2.611 MB / 492.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004343/1.104, allocations: 45.69 kB / 492.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.107, allocations: 2.068 MB / 494.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.108, allocations: 0.567 MB / 495.1 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/1.108, allocations: 92 kB / 495.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004725/1.109, allocations: 0.5123 MB / 495.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005164/1.114, allocations: 2.282 MB / 498 MB, free: 3.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2157/1.33, allocations: 5.137 MB / 0.4913 GB, free: 92.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/1.336, allocations: 3.351 MB / 0.4946 GB, free: 92.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/1.337, allocations: 33.28 kB / 0.4946 GB, free: 92.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02496/1.362, allocations: 8.749 MB / 0.5032 GB, free: 91.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.362, allocations: 48.62 kB / 0.5032 GB, free: 91.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01318/1.375, allocations: 4.494 MB / 0.5076 GB, free: 91.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.385, allocations: 2.183 MB / 0.5097 GB, free: 91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006177/1.391, allocations: 1.194 MB / 0.5109 GB, free: 90.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007456/1.399, allocations: 7.384 MB / 0.5181 GB, free: 85.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006867/1.406, allocations: 0.5614 MB / 0.5187 GB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/1.407, allocations: 306.3 kB / 0.519 GB, free: 85.02 MB / 346.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 (581): * Single equations (assignments): 566 * 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 {1,1} * 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.001581/1.409, allocations: 472.7 kB / 0.5194 GB, free: 84.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/1.409, allocations: 251.5 kB / 0.5197 GB, free: 84.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/1.41, allocations: 415.5 kB / 0.52 GB, free: 84.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01413/1.425, allocations: 4.56 MB / 0.5245 GB, free: 83.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/1.425, allocations: 5.375 kB / 0.5245 GB, free: 83.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/1.425, allocations: 7.141 kB / 0.5245 GB, free: 83.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.436, allocations: 5.336 MB / 0.5297 GB, free: 80.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.436, allocations: 0 / 0.5297 GB, free: 80.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.439, allocations: 281.1 kB / 0.53 GB, free: 80.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009943/1.449, allocations: 2.365 MB / 0.5323 GB, free: 78.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005411/1.449, allocations: 46.3 kB / 0.5323 GB, free: 78.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.459, allocations: 8.83 MB / 0.541 GB, free: 70.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001733/1.461, allocations: 2.881 MB / 0.5438 GB, free: 67.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/1.479, allocations: 8.092 MB / 0.5517 GB, free: 59.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/1.48, allocations: 343 kB / 0.552 GB, free: 59.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/1.48, allocations: 35.98 kB / 0.552 GB, free: 59.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/1.483, allocations: 267.5 kB / 0.5523 GB, free: 58.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/1.484, allocations: 99.75 kB / 0.5524 GB, free: 58.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.484, allocations: 45.22 kB / 0.5524 GB, free: 58.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003241/1.487, allocations: 1.813 MB / 0.5542 GB, free: 56.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.084e-06/1.487, allocations: 2.531 kB / 0.5542 GB, free: 56.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00586/1.493, allocations: 0.9335 MB / 0.5551 GB, free: 56.06 MB / 346.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.0005504/1.494, allocations: 179 kB / 0.5553 GB, free: 55.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/1.506, allocations: 6.241 MB / 0.5614 GB, free: 49.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.255e-06/1.506, allocations: 3.172 kB / 0.5614 GB, free: 49.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008765/1.515, allocations: 3.353 MB / 0.5647 GB, free: 46.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.517, allocations: 283.3 kB / 0.5649 GB, free: 45.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.534, allocations: 7.389 MB / 0.5722 GB, free: 38.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004061/1.538, allocations: 2.342 MB / 0.5744 GB, free: 36.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.009816/1.548, allocations: 1.619 MB / 0.576 GB, free: 34.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/1.55, allocations: 203.3 kB / 0.5762 GB, free: 34.29 MB / 346.7 MB Notification: Performance of SimCode: time 2.774e-06/1.55, allocations: 0 / 0.5762 GB, free: 34.29 MB / 346.7 MB Notification: Performance of Templates: time 0.07672/1.627, allocations: 34.32 MB / 0.6097 GB, free: 188 kB / 346.7 MB