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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.61/1.61, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.066e-05, allocations: 4 kB / 225 MB, free: 2.82 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 38.77 MB / 263.8 MB, free: 9.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.3614, allocations: 75.69 MB / 339.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.3618, allocations: 83.95 kB / 339.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4103/0.7721, allocations: 58.99 MB / 398.5 MB, free: 74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.528e-06/0.7721, allocations: 0 / 398.5 MB, free: 74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.873e-05/0.7722, allocations: 44 kB / 398.6 MB, free: 73.96 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.0163/0.7885, allocations: 3.444 MB / 402 MB, free: 70.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7886, allocations: 12.03 kB / 402 MB, free: 70.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.8019, allocations: 2.32 MB / 404.3 MB, free: 68.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/0.8155, allocations: 4.828 MB / 409.2 MB, free: 63.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.8158, allocations: 174.3 kB / 409.3 MB, free: 63.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.8169, allocations: 232.2 kB / 409.6 MB, free: 62.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/0.8363, allocations: 8.447 MB / 418 MB, free: 53.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.8365, allocations: 55.47 kB / 418.1 MB, free: 53.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/0.837, allocations: 119.1 kB / 418.2 MB, free: 53.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001154/0.8382, allocations: 0.7341 MB / 418.9 MB, free: 52.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/0.8596, allocations: 9.31 MB / 428.2 MB, free: 43.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03893/0.8986, allocations: 37.72 MB / 466 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/0.9128, allocations: 4.013 MB / 470 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004826/0.9177, allocations: 2.199 MB / 472.2 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.9179, allocations: 8 kB / 472.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.9179, allocations: 47.56 kB / 472.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 6.002e-06/0.9179, allocations: 4 kB / 472.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.05506/0.973, allocations: 14.49 MB / 486.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003093/0.9761, allocations: 3.051 MB / 489.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006024/0.9822, allocations: 2.614 MB / 492.4 MB, free: 9.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/0.9827, allocations: 41.7 kB / 492.4 MB, free: 9.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.985, allocations: 2.051 MB / 494.5 MB, free: 7.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.9862, allocations: 0.5709 MB / 495.1 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/0.9868, allocations: 88 kB / 495.1 MB, free: 6.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004816/0.9873, allocations: 0.5133 MB / 495.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00532/0.9927, allocations: 2.289 MB / 497.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2034/1.196, allocations: 5.129 MB / 0.4913 GB, free: 91.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006605/1.203, allocations: 3.359 MB / 0.4946 GB, free: 91.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/1.203, allocations: 35.5 kB / 0.4946 GB, free: 91.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02429/1.227, allocations: 8.673 MB / 0.5031 GB, free: 91.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.227, allocations: 46.38 kB / 0.5031 GB, free: 91.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01314/1.241, allocations: 4.491 MB / 0.5075 GB, free: 90.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009859/1.25, allocations: 2.177 MB / 0.5096 GB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005747/1.256, allocations: 1.199 MB / 0.5108 GB, free: 90.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007322/1.264, allocations: 7.38 MB / 0.518 GB, free: 84.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/1.27, allocations: 0.571 MB / 0.5186 GB, free: 84.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.271, allocations: 298.8 kB / 0.5188 GB, free: 84.69 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.001033/1.272, allocations: 466.5 kB / 0.5193 GB, free: 84.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/1.273, allocations: 252.7 kB / 0.5195 GB, free: 84.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009622/1.274, allocations: 422.9 kB / 0.5199 GB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01372/1.288, allocations: 4.549 MB / 0.5244 GB, free: 83.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.091e-05/1.288, allocations: 7.562 kB / 0.5244 GB, free: 83.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/1.288, allocations: 6.562 kB / 0.5244 GB, free: 83.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.299, allocations: 5.339 MB / 0.5296 GB, free: 79.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.299, allocations: 0 / 0.5296 GB, free: 79.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.301, allocations: 289.3 kB / 0.5299 GB, free: 79.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009734/1.311, allocations: 2.363 MB / 0.5322 GB, free: 78.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004689/1.311, allocations: 49.69 kB / 0.5322 GB, free: 78.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.322, allocations: 8.825 MB / 0.5408 GB, free: 70 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001729/1.323, allocations: 2.878 MB / 0.5437 GB, free: 66.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/1.341, allocations: 8.098 MB / 0.5516 GB, free: 59.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/1.342, allocations: 342.9 kB / 0.5519 GB, free: 58.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/1.343, allocations: 38.33 kB / 0.5519 GB, free: 58.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/1.345, allocations: 263.5 kB / 0.5522 GB, free: 58.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/1.346, allocations: 103.8 kB / 0.5523 GB, free: 58.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.346, allocations: 39.97 kB / 0.5523 GB, free: 58.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003455/1.35, allocations: 1.82 MB / 0.5541 GB, free: 56.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.68e-07/1.35, allocations: 0 / 0.5541 GB, free: 56.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005642/1.355, allocations: 0.9313 MB / 0.555 GB, free: 55.63 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.0006101/1.356, allocations: 166.9 kB / 0.5552 GB, free: 55.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01285/1.369, allocations: 6.277 MB / 0.5613 GB, free: 49.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.19e-06/1.369, allocations: 0 / 0.5613 GB, free: 49.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006815/1.376, allocations: 3.377 MB / 0.5646 GB, free: 45.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.378, allocations: 279 kB / 0.5649 GB, free: 45.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.395, allocations: 7.678 MB / 0.5724 GB, free: 37.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/1.398, allocations: 2.343 MB / 0.5746 GB, free: 35.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/1.399, allocations: 235.3 kB / 0.5749 GB, free: 35.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.725e-06/1.399, allocations: 0 / 0.5749 GB, free: 35.12 MB / 346.7 MB Notification: Performance of Templates: time 0.3448/1.744, allocations: 130.9 MB / 0.7027 GB, free: 42.84 MB / 362.7 MB