Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.306e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09226, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4678, allocations: 94.07 MB / 436.6 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4681, allocations: 88.55 kB / 436.7 MB, free: 260 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9923/1.46, allocations: 186 MB / 0.6081 GB, free: 81.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.048e-06/1.46, allocations: 0 / 0.6081 GB, free: 81.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004423/1.461, allocations: 158.5 kB / 0.6083 GB, free: 81.09 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2889 * Number of variables: 2889 Notification: Performance of Generate backend data structure: time 0.02841/1.489, allocations: 8.291 MB / 0.6164 GB, free: 73.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.489, allocations: 8.031 kB / 0.6164 GB, free: 73.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0306/1.52, allocations: 4.696 MB / 0.621 GB, free: 68.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03074/1.551, allocations: 12.29 MB / 0.633 GB, free: 56.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007475/1.552, allocations: 0.6206 MB / 0.6336 GB, free: 55.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003917/1.556, allocations: 0.8463 MB / 0.6344 GB, free: 55.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08261/1.638, allocations: 27.27 MB / 0.661 GB, free: 26.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000639/1.639, allocations: 126.8 kB / 0.6612 GB, free: 26.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003618/1.643, allocations: 403.6 kB / 0.6615 GB, free: 25.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004412/1.647, allocations: 2.098 MB / 0.6636 GB, free: 23.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3599/2.007, allocations: 28.62 MB / 0.6915 GB, free: 69.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1602/2.167, allocations: 111.1 MB / 0.8 GB, free: 5.035 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09119/2.258, allocations: 19.18 MB / 0.8187 GB, free: 1.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04183/2.3, allocations: 10.73 MB / 0.8292 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/2.301, allocations: 379.6 kB / 0.8296 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/2.301, allocations: 72.75 kB / 0.8296 GB, free: 13.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=305): time 8.408e-06/2.301, allocations: 0 / 0.8296 GB, free: 13.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=404): time 0.8285/3.13, allocations: 114.5 MB / 0.9415 GB, free: 96.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002114/3.132, allocations: 3.126 MB / 0.9445 GB, free: 93.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/3.146, allocations: 6.399 MB / 0.9508 GB, free: 87.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001335/3.147, allocations: 88.12 kB / 0.9509 GB, free: 87.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004113/3.152, allocations: 5.547 MB / 0.9563 GB, free: 82.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002562/3.154, allocations: 1.546 MB / 0.9578 GB, free: 81.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/3.156, allocations: 220.5 kB / 0.958 GB, free: 81.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008527/3.157, allocations: 0.7586 MB / 0.9587 GB, free: 80.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01383/3.171, allocations: 7.553 MB / 0.9661 GB, free: 74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01837/3.189, allocations: 13.56 MB / 0.9794 GB, free: 58.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/3.207, allocations: 9.821 MB / 0.989 GB, free: 48.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001653/3.207, allocations: 64 kB / 0.989 GB, free: 48.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=1410) (initialization): time 0.09841/3.305, allocations: 33.44 MB / 1.022 GB, free: 15.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/3.305, allocations: 102 kB / 1.022 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3334/3.639, allocations: 14.95 MB / 1.036 GB, free: 89.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06307/3.702, allocations: 13.84 MB / 1.05 GB, free: 89.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01226/3.714, allocations: 2.588 MB / 1.052 GB, free: 89.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09892/3.813, allocations: 52.62 MB / 1.104 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01725/3.831, allocations: 1.437 MB / 1.105 GB, free: 74.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002891/3.834, allocations: 0.6399 MB / 1.106 GB, free: 74.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 89 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1229 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 66,(6,100.0%) 36,(3,100.0%) 2} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.004378/3.838, allocations: 0.9362 MB / 1.107 GB, free: 73.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/3.841, allocations: 0.67 MB / 1.107 GB, free: 73.72 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/3.845, allocations: 1.316 MB / 1.109 GB, free: 72.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07773/3.923, allocations: 25 MB / 1.133 GB, free: 62.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/3.923, allocations: 28 kB / 1.133 GB, free: 62.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-05/3.923, allocations: 18.89 kB / 1.133 GB, free: 62.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1231/4.046, allocations: 46.8 MB / 1.179 GB, free: 17.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-05/4.046, allocations: 4 kB / 1.179 GB, free: 17.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004561/4.051, allocations: 0.7123 MB / 1.18 GB, free: 16.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05669/4.107, allocations: 13.28 MB / 1.193 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00145/4.109, allocations: 111.9 kB / 1.193 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3987/4.508, allocations: 49.19 MB / 1.241 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002101/4.51, allocations: 2.948 MB / 1.244 GB, free: 98.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1009/4.611, allocations: 36.13 MB / 1.279 GB, free: 87.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/4.613, allocations: 0.7175 MB / 1.28 GB, free: 87.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002823/4.616, allocations: 78.66 kB / 1.28 GB, free: 87.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009028/4.625, allocations: 0.8151 MB / 1.28 GB, free: 87.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002316/4.627, allocations: 317.3 kB / 1.281 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001215/4.629, allocations: 128 kB / 1.281 GB, free: 87.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01092/4.64, allocations: 4.483 MB / 1.285 GB, free: 86.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.225e-06/4.64, allocations: 0 / 1.285 GB, free: 86.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01568/4.655, allocations: 2.913 MB / 1.288 GB, free: 85.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,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 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/4.657, allocations: 255.6 kB / 1.288 GB, free: 85.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0333/4.69, allocations: 18.14 MB / 1.306 GB, free: 71.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/4.69, allocations: 6.062 kB / 1.306 GB, free: 71.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01497/4.705, allocations: 8.3 MB / 1.314 GB, free: 64.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00635/4.712, allocations: 0.8738 MB / 1.315 GB, free: 63.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06161/4.773, allocations: 23.66 MB / 1.338 GB, free: 44.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/4.787, allocations: 6.244 MB / 1.344 GB, free: 39.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003544/4.79, allocations: 0.4985 MB / 1.345 GB, free: 39.22 MB / 490.7 MB Notification: Performance of SimCode: time 2.366e-06/4.791, allocations: 4 kB / 1.345 GB, free: 39.22 MB / 490.7 MB Notification: Performance of Templates: time 1.119/5.91, allocations: 359.6 MB / 1.696 GB, free: 53.73 MB / 0.5105 GB