Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.188e-05, allocations: 4 kB / 292.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.09298, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4743, allocations: 90.06 MB / 432.6 MB, free: 4.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4746, allocations: 90.19 kB / 432.7 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2056/0.6802, allocations: 53.48 MB / 486.2 MB, free: 3.066 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.859e-06/0.6803, allocations: 8 kB / 486.2 MB, free: 3.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000124/0.6804, allocations: 51.94 kB / 486.2 MB, free: 3.008 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.00696/0.6874, allocations: 2.455 MB / 488.7 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6874, allocations: 12.03 kB / 488.7 MB, free: 492 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.6983, allocations: 1.958 MB / 490.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/0.7025, allocations: 1.419 MB / 492.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.7028, allocations: 230 kB / 492.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.7041, allocations: 299.8 kB / 492.6 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02481/0.7289, allocations: 8.929 MB / 0.4898 GB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.7291, allocations: 59.45 kB / 0.4898 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007483/0.7299, allocations: 155.9 kB / 0.49 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/0.7316, allocations: 0.8008 MB / 0.4908 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.7533, allocations: 6.999 MB / 0.4976 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3115/1.065, allocations: 38.37 MB / 0.5351 GB, free: 92.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02499/1.09, allocations: 5.341 MB / 0.5403 GB, free: 91.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/1.092, allocations: 0.9301 MB / 0.5412 GB, free: 91.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006786/1.099, allocations: 3.705 MB / 0.5448 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.099, allocations: 51.52 kB / 0.5449 GB, free: 89.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=111): time 5.627e-06/1.099, allocations: 0 / 0.5449 GB, free: 89.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=111): time 0.0444/1.143, allocations: 8.201 MB / 0.5529 GB, free: 89.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.143, allocations: 194.1 kB / 0.5531 GB, free: 89.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005539/1.149, allocations: 2.689 MB / 0.5557 GB, free: 89.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/1.149, allocations: 38.36 kB / 0.5557 GB, free: 89.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.151, allocations: 2.439 MB / 0.5581 GB, free: 87.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005941/1.151, allocations: 0.4916 MB / 0.5586 GB, free: 87.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/1.152, allocations: 105.5 kB / 0.5587 GB, free: 87.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003315/1.152, allocations: 0.5311 MB / 0.5592 GB, free: 87.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.155, allocations: 1.463 MB / 0.5606 GB, free: 87.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/1.16, allocations: 4.973 MB / 0.5655 GB, free: 82.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00505/1.165, allocations: 2.725 MB / 0.5681 GB, free: 82.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/1.165, allocations: 40.73 kB / 0.5682 GB, free: 82.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01333/1.179, allocations: 5.74 MB / 0.5738 GB, free: 82.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.179, allocations: 62.94 kB / 0.5739 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001366/1.179, allocations: 124.9 kB / 0.574 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/1.179, allocations: 188.7 kB / 0.5742 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007234/1.186, allocations: 1.524 MB / 0.5756 GB, free: 81.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002387/1.187, allocations: 250.3 kB / 0.5759 GB, free: 81.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005069/1.192, allocations: 0.7536 MB / 0.5766 GB, free: 81.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009684/1.193, allocations: 340.6 kB / 0.5769 GB, free: 81.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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.groundColor[3],world.groundColor[2],world.groundColor[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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009322/1.194, allocations: 0.5283 MB / 0.5775 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/1.194, allocations: 255.5 kB / 0.5777 GB, free: 81.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.196, allocations: 0.7336 MB / 0.5784 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/1.196, allocations: 14.61 kB / 0.5784 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.971e-06/1.196, allocations: 3.938 kB / 0.5784 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.196, allocations: 8.547 kB / 0.5784 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008394/1.204, allocations: 3.227 MB / 0.5816 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.204, allocations: 0 / 0.5816 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/1.208, allocations: 479.5 kB / 0.582 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/1.208, allocations: 3.406 kB / 0.5821 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/1.208, allocations: 40.05 kB / 0.5821 GB, free: 79.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.733e-06/1.208, allocations: 7.031 kB / 0.5821 GB, free: 79.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/1.208, allocations: 4 kB / 0.5821 GB, free: 79.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/1.212, allocations: 2.639 MB / 0.5847 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007172/1.213, allocations: 308.1 kB / 0.585 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005284/1.213, allocations: 33.95 kB / 0.585 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.215, allocations: 48.88 kB / 0.5851 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/1.215, allocations: 56.11 kB / 0.5851 GB, free: 77.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.215, allocations: 32.34 kB / 0.5851 GB, free: 77.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003728/1.219, allocations: 1.812 MB / 0.5869 GB, free: 77.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.256e-06/1.219, allocations: 0 / 0.5869 GB, free: 77.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005323/1.224, allocations: 0.8402 MB / 0.5877 GB, free: 77.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004622/1.225, allocations: 188 kB / 0.5879 GB, free: 76.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00648/1.231, allocations: 3.183 MB / 0.591 GB, free: 75.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.167e-06/1.231, allocations: 448 / 0.591 GB, free: 75.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.233, allocations: 0.6244 MB / 0.5916 GB, free: 75.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.234, allocations: 230.6 kB / 0.5918 GB, free: 74.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.248, allocations: 6.545 MB / 0.5982 GB, free: 69.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/1.251, allocations: 2.46 MB / 0.6006 GB, free: 67.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009428/1.252, allocations: 232.9 kB / 0.6009 GB, free: 67.07 MB / 442.7 MB Notification: Performance of SimCode: time 2.578e-06/1.252, allocations: 0 / 0.6009 GB, free: 67.07 MB / 442.7 MB Notification: Performance of Templates: time 0.05771/1.31, allocations: 38.84 MB / 0.6388 GB, free: 30.94 MB / 442.7 MB