Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.171e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 50.42 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5376/0.6535, allocations: 88.76 MB / 431.4 MB, free: 5.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6539, allocations: 85.62 kB / 431.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2899/0.9438, allocations: 60.78 MB / 492.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9439, allocations: 4 kB / 492.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001321/0.944, allocations: 44 kB / 492.3 MB, free: 12.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.02717/0.9712, allocations: 3.441 MB / 495.8 MB, free: 9.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.9713, allocations: 12.03 kB / 495.8 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00181/0.9731, allocations: 489.2 kB / 496.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02083/0.994, allocations: 2.352 MB / 498.6 MB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01913/1.013, allocations: 4.574 MB / 0.4914 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/1.013, allocations: 176.4 kB / 0.4915 GB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/1.015, allocations: 227.8 kB / 0.4918 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/1.044, allocations: 8.46 MB / 0.5 GB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/1.044, allocations: 51.56 kB / 0.5001 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008543/1.045, allocations: 115.9 kB / 0.5002 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/1.047, allocations: 0.7263 MB / 0.5009 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03242/1.08, allocations: 9.325 MB / 0.51 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4128/1.492, allocations: 37.77 MB / 0.5469 GB, free: 91.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0217/1.514, allocations: 4.013 MB / 0.5508 GB, free: 90.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005337/1.52, allocations: 2.205 MB / 0.553 GB, free: 90.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/1.52, allocations: 14.69 kB / 0.553 GB, free: 90.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.52, allocations: 53.97 kB / 0.553 GB, free: 90.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 5.34e-06/1.52, allocations: 0 / 0.553 GB, free: 90.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=136): time 0.0694/1.589, allocations: 14.41 MB / 0.5671 GB, free: 88.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002412/1.592, allocations: 3.036 MB / 0.5701 GB, free: 85.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005538/1.597, allocations: 2.619 MB / 0.5726 GB, free: 85.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005843/1.598, allocations: 41 kB / 0.5727 GB, free: 85.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.6, allocations: 2.057 MB / 0.5747 GB, free: 84.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.601, allocations: 0.5696 MB / 0.5752 GB, free: 83.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/1.602, allocations: 90.69 kB / 0.5753 GB, free: 83.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000336/1.602, allocations: 0.5115 MB / 0.5758 GB, free: 83.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00569/1.608, allocations: 2.301 MB / 0.5781 GB, free: 82.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007615/1.615, allocations: 5.163 MB / 0.5831 GB, free: 78.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007612/1.623, allocations: 3.369 MB / 0.5864 GB, free: 77.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.786e-05/1.623, allocations: 32.38 kB / 0.5864 GB, free: 77.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.03306/1.656, allocations: 8.903 MB / 0.5951 GB, free: 74.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/1.656, allocations: 45.94 kB / 0.5952 GB, free: 74.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02062/1.677, allocations: 4.664 MB / 0.5997 GB, free: 73.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/1.694, allocations: 2.347 MB / 0.602 GB, free: 73.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/1.701, allocations: 1.165 MB / 0.6031 GB, free: 73.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.713, allocations: 8.124 MB / 0.6111 GB, free: 65.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008509/1.721, allocations: 0.5687 MB / 0.6116 GB, free: 65.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.723, allocations: 308.8 kB / 0.6119 GB, free: 65.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 18 (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 (578): * Single equations (assignments): 563 * 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.001185/1.724, allocations: 466.8 kB / 0.6124 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009093/1.725, allocations: 252.7 kB / 0.6126 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/1.726, allocations: 419.2 kB / 0.613 GB, free: 64.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01956/1.745, allocations: 4.562 MB / 0.6175 GB, free: 60.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.472e-05/1.746, allocations: 7.844 kB / 0.6175 GB, free: 60.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/1.746, allocations: 7.891 kB / 0.6175 GB, free: 60.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/1.759, allocations: 5.323 MB / 0.6227 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/1.76, allocations: 6.531 kB / 0.6227 GB, free: 56.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/1.763, allocations: 283.5 kB / 0.623 GB, free: 56.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01801/1.781, allocations: 2.37 MB / 0.6253 GB, free: 53.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008039/1.782, allocations: 44.66 kB / 0.6253 GB, free: 53.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/1.801, allocations: 8.826 MB / 0.6339 GB, free: 44.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003022/1.804, allocations: 2.879 MB / 0.6367 GB, free: 41.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03742/1.841, allocations: 8.096 MB / 0.6446 GB, free: 33.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.842, allocations: 333.6 kB / 0.645 GB, free: 32.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001653/1.844, allocations: 32.61 kB / 0.645 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005959/1.85, allocations: 268.2 kB / 0.6453 GB, free: 32.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001164/1.851, allocations: 103.8 kB / 0.6454 GB, free: 32.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004388/1.852, allocations: 48.97 kB / 0.6454 GB, free: 32.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006091/1.858, allocations: 1.809 MB / 0.6472 GB, free: 30.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.858, allocations: 4 kB / 0.6472 GB, free: 30.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009566/1.868, allocations: 0.9382 MB / 0.6481 GB, free: 29.62 MB / 442.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.03391/1.902, allocations: 9.006 MB / 0.6569 GB, free: 20.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01725/1.919, allocations: 6.527 MB / 0.6633 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.919, allocations: 3.938 kB / 0.6633 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01055/1.929, allocations: 3.36 MB / 0.6665 GB, free: 10.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/1.932, allocations: 282.9 kB / 0.6668 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/1.962, allocations: 8.633 MB / 0.6752 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004296/1.967, allocations: 2.349 MB / 0.6775 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004058/1.971, allocations: 1.194 MB / 0.6787 GB, free: 13.99 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/1.971, allocations: 0 / 0.6787 GB, free: 13.99 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.919/6.89, allocations: 148.1 MB / 0.8233 GB, free: 31.67 MB / 458.7 MB