Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.745e-05, allocations: 3.984 kB / 292.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 50.42 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4631/0.5697, allocations: 94.09 MB / 436.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.5702, allocations: 87.14 kB / 436.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08/1.65, allocations: 186 MB / 0.6082 GB, free: 80.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.65, allocations: 0 / 0.6082 GB, free: 80.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005021/1.651, allocations: 160.3 kB / 0.6084 GB, free: 80.78 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.04039/1.691, allocations: 8.3 MB / 0.6165 GB, free: 73.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.691, allocations: 12.03 kB / 0.6165 GB, free: 73.13 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007808/1.699, allocations: 1.443 MB / 0.6179 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04448/1.744, allocations: 4.697 MB / 0.6225 GB, free: 67.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03993/1.784, allocations: 12.27 MB / 0.6345 GB, free: 54.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008919/1.785, allocations: 0.6184 MB / 0.6351 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005339/1.79, allocations: 0.8535 MB / 0.6359 GB, free: 53.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1107/1.901, allocations: 27.27 MB / 0.6626 GB, free: 24.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007278/1.902, allocations: 138.8 kB / 0.6627 GB, free: 24.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004369/1.906, allocations: 391.8 kB / 0.6631 GB, free: 24.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006131/1.912, allocations: 2.105 MB / 0.6651 GB, free: 21.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4788/2.391, allocations: 28.62 MB / 0.6931 GB, free: 68.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2185/2.61, allocations: 111.1 MB / 0.8015 GB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1315/2.741, allocations: 19.22 MB / 0.8203 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02107/2.762, allocations: 9.296 MB / 0.8294 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009985/2.763, allocations: 379 kB / 0.8297 GB, free: 7.027 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/2.763, allocations: 70.45 kB / 0.8298 GB, free: 6.953 MB / 458.7 MB Notification: Performance of pre-optimization done (n=305): time 7.954e-06/2.763, allocations: 0 / 0.8298 GB, free: 6.953 MB / 458.7 MB Notification: Performance of matching and sorting (n=404): time 1.113/3.876, allocations: 114.6 MB / 0.9418 GB, free: 93.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002444/3.878, allocations: 3.122 MB / 0.9448 GB, free: 90.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/3.894, allocations: 6.394 MB / 0.9511 GB, free: 84.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001687/3.895, allocations: 93.86 kB / 0.9512 GB, free: 84.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004768/3.9, allocations: 5.544 MB / 0.9566 GB, free: 79.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003106/3.903, allocations: 1.549 MB / 0.9581 GB, free: 78.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002186/3.905, allocations: 209.9 kB / 0.9583 GB, free: 78.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007144/3.906, allocations: 0.768 MB / 0.959 GB, free: 77.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01662/3.923, allocations: 7.549 MB / 0.9664 GB, free: 69.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02058/3.943, allocations: 13.56 MB / 0.9796 GB, free: 53.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02071/3.964, allocations: 9.829 MB / 0.9892 GB, free: 44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001961/3.964, allocations: 67.38 kB / 0.9893 GB, free: 43.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=1410) (initialization): time 0.1426/4.107, allocations: 33.44 MB / 1.022 GB, free: 10.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/4.107, allocations: 100 kB / 1.022 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4457/4.553, allocations: 14.95 MB / 1.037 GB, free: 88.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09067/4.644, allocations: 13.84 MB / 1.05 GB, free: 88.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01729/4.661, allocations: 2.593 MB / 1.053 GB, free: 88.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1476/4.809, allocations: 52.62 MB / 1.104 GB, free: 71.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02226/4.831, allocations: 1.442 MB / 1.105 GB, free: 71.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003286/4.834, allocations: 0.6354 MB / 1.106 GB, free: 71.61 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.005276/4.84, allocations: 0.9351 MB / 1.107 GB, free: 71.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002515/4.842, allocations: 0.6717 MB / 1.108 GB, free: 71.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/4.847, allocations: 1.312 MB / 1.109 GB, free: 70.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1321/4.979, allocations: 24.99 MB / 1.133 GB, free: 58.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.637e-05/4.98, allocations: 34.44 kB / 1.133 GB, free: 58.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/4.98, allocations: 18.42 kB / 1.133 GB, free: 58.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.186/5.166, allocations: 46.81 MB / 1.179 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.55e-05/5.166, allocations: 4 kB / 1.179 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01186/5.178, allocations: 0.7097 MB / 1.18 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1131/5.291, allocations: 13.28 MB / 1.193 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001908/5.293, allocations: 113.4 kB / 1.193 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4948/5.788, allocations: 49.18 MB / 1.241 GB, free: 99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002408/5.79, allocations: 2.949 MB / 1.244 GB, free: 96.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1413/5.932, allocations: 36.14 MB / 1.279 GB, free: 84.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002634/5.934, allocations: 0.7159 MB / 1.28 GB, free: 84.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003673/5.938, allocations: 80.56 kB / 1.28 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01395/5.952, allocations: 0.8167 MB / 1.281 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002956/5.955, allocations: 312.3 kB / 1.281 GB, free: 84.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001604/5.957, allocations: 125.8 kB / 1.281 GB, free: 84.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01263/5.969, allocations: 4.494 MB / 1.285 GB, free: 83.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/5.969, allocations: 0 / 1.285 GB, free: 83.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01896/5.988, allocations: 2.912 MB / 1.288 GB, free: 82.78 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.1437/6.132, allocations: 37.39 MB / 1.325 GB, free: 55.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04091/6.173, allocations: 18.15 MB / 1.343 GB, free: 37.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.33e-05/6.173, allocations: 0 / 1.343 GB, free: 37.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01918/6.192, allocations: 8.301 MB / 1.351 GB, free: 29.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008837/6.201, allocations: 0.8731 MB / 1.352 GB, free: 28.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4763/6.678, allocations: 26.5 MB / 1.377 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01865/6.696, allocations: 6.245 MB / 1.384 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01159/6.708, allocations: 4.15 MB / 1.388 GB, free: 100.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.024e-06/6.708, allocations: 0.8438 kB / 1.388 GB, free: 100.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.16/14.87, allocations: 411.3 MB / 1.789 GB, free: 127.9 MB / 0.5105 GB