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.868/1.868, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.184e-05, allocations: 4 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.0805, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4275, allocations: 81.32 MB / 381.2 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.4278, allocations: 81.19 kB / 381.3 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2657/0.6935, allocations: 59.18 MB / 440.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.35e-06/0.6936, allocations: 0 / 440.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001345/0.6937, allocations: 40 kB / 440.5 MB, free: 14.07 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.01924/0.713, allocations: 3.442 MB / 443.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.713, allocations: 8.031 kB / 443.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/0.7281, allocations: 2.356 MB / 446.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/0.7438, allocations: 4.841 MB / 451.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/0.7442, allocations: 178.2 kB / 451.3 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.7455, allocations: 233.6 kB / 451.5 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02413/0.7696, allocations: 8.433 MB / 460 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.7698, allocations: 47.61 kB / 460 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008182/0.7707, allocations: 119.9 kB / 460.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.7722, allocations: 0.734 MB / 460.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/0.7978, allocations: 9.309 MB / 470.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05448/0.8523, allocations: 37.74 MB / 0.496 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/0.8683, allocations: 4.014 MB / 0.4999 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004664/0.873, allocations: 2.207 MB / 0.5021 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.8731, allocations: 12 kB / 0.5021 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.8732, allocations: 38.56 kB / 0.5021 GB, free: 3.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 6.079e-06/0.8732, allocations: 4 kB / 0.5021 GB, free: 3.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.271/1.144, allocations: 14.48 MB / 0.5163 GB, free: 98.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002148/1.146, allocations: 3.049 MB / 0.5193 GB, free: 95.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00559/1.152, allocations: 2.616 MB / 0.5218 GB, free: 95.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004697/1.153, allocations: 44.39 kB / 0.5219 GB, free: 95.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.154, allocations: 2.056 MB / 0.5239 GB, free: 94.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009487/1.155, allocations: 0.5638 MB / 0.5244 GB, free: 93.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005825/1.156, allocations: 92.53 kB / 0.5245 GB, free: 93.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003255/1.156, allocations: 0.5101 MB / 0.525 GB, free: 93.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/1.161, allocations: 2.293 MB / 0.5272 GB, free: 93.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00631/1.167, allocations: 5.145 MB / 0.5323 GB, free: 89.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/1.174, allocations: 3.364 MB / 0.5355 GB, free: 89.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.014e-05/1.174, allocations: 29.12 kB / 0.5356 GB, free: 89.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02531/1.199, allocations: 8.87 MB / 0.5442 GB, free: 87.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/1.199, allocations: 52.06 kB / 0.5443 GB, free: 87.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01415/1.213, allocations: 4.655 MB / 0.5488 GB, free: 86.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/1.225, allocations: 2.349 MB / 0.5511 GB, free: 86.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00535/1.231, allocations: 1.163 MB / 0.5523 GB, free: 86.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009714/1.24, allocations: 8.119 MB / 0.5602 GB, free: 80.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006965/1.247, allocations: 0.5629 MB / 0.5607 GB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.249, allocations: 307 kB / 0.561 GB, free: 80.17 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.001567/1.25, allocations: 470.8 kB / 0.5615 GB, free: 79.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008246/1.251, allocations: 256.4 kB / 0.5617 GB, free: 79.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/1.252, allocations: 414.6 kB / 0.5621 GB, free: 79.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01451/1.267, allocations: 4.55 MB / 0.5666 GB, free: 77.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.222e-05/1.267, allocations: 12 kB / 0.5666 GB, free: 77.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/1.267, allocations: 6.797 kB / 0.5666 GB, free: 77.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/1.28, allocations: 5.341 MB / 0.5718 GB, free: 73.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/1.28, allocations: 0 / 0.5718 GB, free: 73.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.282, allocations: 285 kB / 0.5721 GB, free: 73.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009976/1.292, allocations: 2.364 MB / 0.5744 GB, free: 72.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000553/1.292, allocations: 47.34 kB / 0.5744 GB, free: 72.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/1.303, allocations: 8.822 MB / 0.583 GB, free: 63.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001845/1.304, allocations: 2.893 MB / 0.5859 GB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/1.324, allocations: 8.089 MB / 0.5938 GB, free: 54.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/1.325, allocations: 335 kB / 0.5941 GB, free: 53.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.326, allocations: 35.8 kB / 0.5941 GB, free: 53.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/1.33, allocations: 263.2 kB / 0.5944 GB, free: 53.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007502/1.33, allocations: 107.7 kB / 0.5945 GB, free: 53.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003474/1.331, allocations: 39.97 kB / 0.5945 GB, free: 53.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004126/1.335, allocations: 1.82 MB / 0.5963 GB, free: 51.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.133e-06/1.335, allocations: 0 / 0.5963 GB, free: 51.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006232/1.341, allocations: 0.9398 MB / 0.5972 GB, free: 50.58 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.0007965/1.342, allocations: 169.3 kB / 0.5974 GB, free: 50.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01328/1.355, allocations: 6.528 MB / 0.6037 GB, free: 43.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.844e-06/1.355, allocations: 0 / 0.6037 GB, free: 43.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007191/1.363, allocations: 3.366 MB / 0.607 GB, free: 40.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.365, allocations: 279.6 kB / 0.6073 GB, free: 40.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/1.384, allocations: 7.678 MB / 0.6148 GB, free: 32.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003709/1.387, allocations: 2.354 MB / 0.6171 GB, free: 30 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/1.389, allocations: 227.3 kB / 0.6173 GB, free: 29.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.963e-06/1.389, allocations: 4 kB / 0.6173 GB, free: 29.77 MB / 394.7 MB Notification: Performance of Templates: time 0.3861/1.775, allocations: 131.3 MB / 0.7455 GB, free: 59.42 MB / 410.7 MB