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.752/1.752, allocations: 171.1 MB / 186.3 MB, free: 1.336 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.804e-05, allocations: 4 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0816/0.08165, allocations: 38.76 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01769/0.0994, allocations: 11.02 MB / 277.9 MB, free: 6.059 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009998/0.1095, allocations: 3.582 MB / 281.5 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.1117, allocations: 51.88 kB / 281.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.1137, allocations: 0.5288 MB / 282.1 MB, free: 1.887 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007184/0.121, allocations: 1.784 MB / 283.9 MB, free: 100 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.1227, allocations: 419.3 kB / 284.3 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00392/0.1267, allocations: 1.291 MB / 285.6 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007179/0.1275, allocations: 384.8 kB / 285.9 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.1285, allocations: 0.5222 MB / 286.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.1305, allocations: 0.9197 MB / 287.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.1329, allocations: 0.788 MB / 288.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007733/0.1338, allocations: 84 kB / 288.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001597/0.1354, allocations: 0.9507 MB / 289.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.1361, allocations: 148 kB / 289.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005261/0.1414, allocations: 3.017 MB / 292.4 MB, free: 7.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1415, allocations: 0 / 292.4 MB, free: 7.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1415, allocations: 0 / 292.4 MB, free: 7.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001301/0.1416, allocations: 0 / 292.4 MB, free: 7.547 MB / 250.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.009941/0.1516, allocations: 2.707 MB / 295.1 MB, free: 4.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.1517, allocations: 15.97 kB / 295.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/0.1685, allocations: 2.204 MB / 297.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/0.1743, allocations: 2.081 MB / 299.4 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.1745, allocations: 110.6 kB / 299.5 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.1766, allocations: 311.5 kB / 299.8 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2357/0.4124, allocations: 8.586 MB / 308.4 MB, free: 24.87 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.4126, allocations: 31.72 kB / 308.4 MB, free: 24.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005145/0.4131, allocations: 74.88 kB / 308.5 MB, free: 24.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004162/0.4173, allocations: 1.398 MB / 309.9 MB, free: 24.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03071/0.448, allocations: 9.895 MB / 319.8 MB, free: 18.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05152/0.4996, allocations: 30.57 MB / 350.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02306/0.5227, allocations: 4.507 MB / 354.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.523, allocations: 27.06 kB / 354.9 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.5231, allocations: 50.55 kB / 354.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 6.072e-06/0.5231, allocations: 0 / 354.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.0881/0.6112, allocations: 18.93 MB / 373.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003376/0.6146, allocations: 3.08 MB / 376.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007106/0.6218, allocations: 2.892 MB / 379.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007196/0.6226, allocations: 43.42 kB / 379.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.625, allocations: 2.056 MB / 381.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.6265, allocations: 0.5664 MB / 382.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.6276, allocations: 98.03 kB / 382.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005371/0.6282, allocations: 0.5173 MB / 383.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007658/0.6358, allocations: 2.586 MB / 385.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/0.6462, allocations: 5.498 MB / 391.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/0.656, allocations: 3.635 MB / 394.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.613e-05/0.6561, allocations: 28.56 kB / 394.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=633) (initialization): time 0.03777/0.6939, allocations: 9.88 MB / 404.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.6941, allocations: 48 kB / 404.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0232/0.7173, allocations: 5.226 MB / 410 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/0.7346, allocations: 2.577 MB / 412.6 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008202/0.7428, allocations: 1.228 MB / 413.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/0.7581, allocations: 8.603 MB / 422.4 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007841/0.7659, allocations: 0.5732 MB / 423 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/0.7673, allocations: 312.7 kB / 423.3 MB, free: 7.574 MB / 346.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): 4 * Torn equation systems: 4 * 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: 0 * 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: 2 {3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004048/0.7714, allocations: 1.376 MB / 424.7 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008748/0.7723, allocations: 252.7 kB / 424.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.7736, allocations: 419.1 kB / 425.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02294/0.7966, allocations: 5.015 MB / 430.3 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.223e-05/0.7967, allocations: 7.938 kB / 430.3 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-05/0.7967, allocations: 3.984 kB / 430.3 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2398/1.037, allocations: 5.366 MB / 435.7 MB, free: 106.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/1.037, allocations: 1.562 kB / 435.7 MB, free: 106.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/1.041, allocations: 373.2 kB / 436.1 MB, free: 106.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/1.057, allocations: 2.389 MB / 438.5 MB, free: 105.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006719/1.058, allocations: 47.3 kB / 438.5 MB, free: 105.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/1.073, allocations: 8.999 MB / 447.5 MB, free: 99.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002377/1.075, allocations: 2.925 MB / 450.4 MB, free: 96.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02878/1.104, allocations: 8.843 MB / 459.3 MB, free: 94.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.105, allocations: 342 kB / 459.6 MB, free: 93.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/1.107, allocations: 39.61 kB / 459.6 MB, free: 93.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004536/1.111, allocations: 317.5 kB / 460 MB, free: 93.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009317/1.112, allocations: 109.6 kB / 460.1 MB, free: 93.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.112, allocations: 51.19 kB / 460.1 MB, free: 93.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004253/1.117, allocations: 2.038 MB / 462.1 MB, free: 92.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.117, allocations: 0 / 462.1 MB, free: 92.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006807/1.124, allocations: 0.9839 MB / 463.1 MB, free: 92.88 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.0009133/1.124, allocations: 177.2 kB / 463.3 MB, free: 92.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0231/1.148, allocations: 7.24 MB / 470.5 MB, free: 86.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.148, allocations: 0 / 470.5 MB, free: 86.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01518/1.163, allocations: 3.623 MB / 474.2 MB, free: 82.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.166, allocations: 286.2 kB / 474.4 MB, free: 82.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.184, allocations: 9.526 MB / 484 MB, free: 73.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/1.187, allocations: 2.362 MB / 486.3 MB, free: 70.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/1.189, allocations: 235.3 kB / 486.6 MB, free: 70.53 MB / 346.7 MB Notification: Performance of SimCode: time 1.754e-06/1.189, allocations: 4 kB / 486.6 MB, free: 70.52 MB / 346.7 MB Notification: Performance of Templates: time 0.4786/1.668, allocations: 136 MB / 0.608 GB, free: 75.19 MB / 362.7 MB