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 1.993/1.993, allocations: 194.9 MB / 211.2 MB, free: 9.117 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.869e-05, allocations: 4 kB / 258.8 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3269, allocations: 44.51 MB / 303.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01799/0.345, allocations: 11 MB / 314.3 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.3555, allocations: 3.621 MB / 317.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.3579, allocations: 51.88 kB / 318 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.36, allocations: 0.5211 MB / 318.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.367, allocations: 1.788 MB / 320.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.3687, allocations: 419.2 kB / 320.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003655/0.3724, allocations: 1.279 MB / 322 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.3732, allocations: 392.8 kB / 322.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.3744, allocations: 0.5144 MB / 322.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.3764, allocations: 0.9275 MB / 323.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.3788, allocations: 0.7919 MB / 324.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008945/0.3798, allocations: 92 kB / 324.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.3815, allocations: 0.9468 MB / 325.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008148/0.3824, allocations: 148 kB / 325.8 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005328/0.3877, allocations: 3.034 MB / 328.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3878, allocations: 0 / 328.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3878, allocations: 4 kB / 328.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.388, allocations: 0 / 328.8 MB, free: 4.184 MB / 266.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.01024/0.3982, allocations: 2.7 MB / 331.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.3983, allocations: 12.02 kB / 331.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.4155, allocations: 2.258 MB / 333.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/0.4216, allocations: 2.081 MB / 335.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.4218, allocations: 114.6 kB / 336 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.424, allocations: 299.5 kB / 336.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/0.4522, allocations: 8.604 MB / 344.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.4524, allocations: 35.59 kB / 344.9 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006176/0.4531, allocations: 79.84 kB / 345 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004216/0.4573, allocations: 1.397 MB / 346.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03403/0.4914, allocations: 9.893 MB / 356.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05799/0.5494, allocations: 30.61 MB / 386.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/0.5721, allocations: 4.51 MB / 391.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.5724, allocations: 12 kB / 391.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.5724, allocations: 50.5 kB / 391.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 5.4e-06/0.5725, allocations: 0 / 391.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.08909/0.6616, allocations: 18.93 MB / 410.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003432/0.665, allocations: 3.081 MB / 413.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007437/0.6725, allocations: 2.896 MB / 416.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008157/0.6734, allocations: 41.7 kB / 416.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002479/0.6759, allocations: 2.058 MB / 418.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001522/0.6775, allocations: 0.5671 MB / 419 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009046/0.6784, allocations: 92 kB / 419.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000536/0.679, allocations: 0.5133 MB / 419.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007975/0.687, allocations: 2.637 MB / 422.3 MB, free: 4.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2681/0.9552, allocations: 5.553 MB / 427.8 MB, free: 102.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.9656, allocations: 3.689 MB / 431.5 MB, free: 101.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001886/0.9658, allocations: 27.66 kB / 431.5 MB, free: 101.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=633) (initialization): time 0.05614/1.022, allocations: 11.69 MB / 443.2 MB, free: 98.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.022, allocations: 52.88 kB / 443.3 MB, free: 98.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04193/1.064, allocations: 7.045 MB / 450.3 MB, free: 92.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04171/1.106, allocations: 4.558 MB / 454.9 MB, free: 87.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007639/1.114, allocations: 1.232 MB / 456.1 MB, free: 86.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02712/1.141, allocations: 12.07 MB / 468.2 MB, free: 73.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008113/1.149, allocations: 0.582 MB / 468.8 MB, free: 73.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.15, allocations: 305.3 kB / 469.1 MB, free: 72.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * 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 {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.004309/1.155, allocations: 1.392 MB / 470.4 MB, free: 71.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008225/1.156, allocations: 262.2 kB / 470.7 MB, free: 71.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/1.157, allocations: 415.2 kB / 471.1 MB, free: 70.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0211/1.178, allocations: 5.008 MB / 476.1 MB, free: 65.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-05/1.178, allocations: 8 kB / 476.1 MB, free: 65.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/1.178, allocations: 7.984 kB / 476.1 MB, free: 65.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.192, allocations: 5.382 MB / 481.5 MB, free: 60.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/1.192, allocations: 4 kB / 481.5 MB, free: 60.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003678/1.196, allocations: 364.7 kB / 481.9 MB, free: 60.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/1.212, allocations: 2.39 MB / 484.3 MB, free: 57.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006842/1.212, allocations: 43.95 kB / 484.3 MB, free: 57.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/1.226, allocations: 9.003 MB / 493.3 MB, free: 48.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002359/1.229, allocations: 2.913 MB / 496.2 MB, free: 44.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02867/1.258, allocations: 8.839 MB / 0.4932 GB, free: 36.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/1.259, allocations: 348.7 kB / 0.4936 GB, free: 35.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/1.26, allocations: 34.48 kB / 0.4936 GB, free: 35.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004572/1.265, allocations: 319.4 kB / 0.4939 GB, free: 35.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009527/1.266, allocations: 103.8 kB / 0.494 GB, free: 35.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/1.266, allocations: 55.95 kB / 0.494 GB, free: 35.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004632/1.271, allocations: 2.031 MB / 0.496 GB, free: 33.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.271, allocations: 0 / 0.496 GB, free: 33.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006593/1.277, allocations: 1.02 MB / 0.497 GB, free: 32.18 MB / 362.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.001111/1.279, allocations: 203.2 kB / 0.4972 GB, free: 31.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02039/1.299, allocations: 7.331 MB / 0.5044 GB, free: 24.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.299, allocations: 0 / 0.5044 GB, free: 24.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01105/1.31, allocations: 3.633 MB / 0.5079 GB, free: 20.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.313, allocations: 293.7 kB / 0.5082 GB, free: 20.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/1.334, allocations: 9.531 MB / 0.5175 GB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004527/1.339, allocations: 2.344 MB / 0.5198 GB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/1.341, allocations: 247.3 kB / 0.52 GB, free: 8.266 MB / 362.7 MB Notification: Performance of SimCode: time 2.024e-06/1.341, allocations: 3.938 kB / 0.52 GB, free: 8.262 MB / 362.7 MB Notification: Performance of Templates: time 0.5029/1.844, allocations: 137.6 MB / 0.6545 GB, free: 36.29 MB / 394.7 MB