Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.784e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2603, allocations: 38.77 MB / 263.9 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.3944, allocations: 75.7 MB / 339.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.3947, allocations: 83.94 kB / 339.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4702/0.865, allocations: 59.01 MB / 398.6 MB, free: 73.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.865, allocations: 0 / 398.6 MB, free: 73.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001056/0.8651, allocations: 44 kB / 398.7 MB, free: 73.88 MB / 314.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.02641/0.8915, allocations: 3.447 MB / 402.1 MB, free: 70.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.8916, allocations: 12.03 kB / 402.1 MB, free: 70.38 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002316/0.894, allocations: 483.6 kB / 402.6 MB, free: 69.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0197/0.9137, allocations: 2.321 MB / 404.9 MB, free: 67.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/0.9313, allocations: 4.836 MB / 409.8 MB, free: 62.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.9316, allocations: 167.5 kB / 409.9 MB, free: 62.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.9331, allocations: 237.9 kB / 410.2 MB, free: 62.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.9576, allocations: 8.444 MB / 418.6 MB, free: 53.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.9578, allocations: 55.53 kB / 418.7 MB, free: 53.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006015/0.9585, allocations: 114.3 kB / 418.8 MB, free: 53.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001553/0.96, allocations: 0.7224 MB / 419.5 MB, free: 52.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/0.9878, allocations: 9.32 MB / 428.8 MB, free: 42.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04975/1.038, allocations: 37.72 MB / 466.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/1.057, allocations: 4.01 MB / 470.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005456/1.063, allocations: 2.195 MB / 472.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/1.063, allocations: 20.06 kB / 472.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/1.063, allocations: 59.5 kB / 472.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 5.11e-06/1.063, allocations: 0 / 472.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.07473/1.138, allocations: 14.49 MB / 487.3 MB, free: 15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003063/1.141, allocations: 3.059 MB / 490.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006513/1.147, allocations: 2.611 MB / 493 MB, free: 8.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000605/1.148, allocations: 41.7 kB / 493 MB, free: 8.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00238/1.15, allocations: 2.051 MB / 495.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.152, allocations: 0.5631 MB / 495.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/1.153, allocations: 99.98 kB / 495.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004295/1.153, allocations: 0.5054 MB / 496.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006553/1.16, allocations: 2.289 MB / 498.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.243/1.403, allocations: 5.135 MB / 0.4919 GB, free: 92.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008366/1.411, allocations: 3.358 MB / 0.4951 GB, free: 92.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002049/1.411, allocations: 30.47 kB / 0.4952 GB, free: 92.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03118/1.443, allocations: 8.668 MB / 0.5036 GB, free: 91.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.443, allocations: 51.06 kB / 0.5037 GB, free: 91.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01903/1.462, allocations: 4.493 MB / 0.5081 GB, free: 91.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01449/1.476, allocations: 2.179 MB / 0.5102 GB, free: 91.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007813/1.484, allocations: 1.195 MB / 0.5114 GB, free: 91.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008684/1.493, allocations: 7.377 MB / 0.5186 GB, free: 85.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008378/1.501, allocations: 0.57 MB / 0.5191 GB, free: 85.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.503, allocations: 297.2 kB / 0.5194 GB, free: 85.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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): 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 {1,1} * 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.001245/1.504, allocations: 473.1 kB / 0.5199 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007587/1.505, allocations: 250.3 kB / 0.5201 GB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/1.506, allocations: 420.8 kB / 0.5205 GB, free: 84.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01927/1.525, allocations: 4.558 MB / 0.5249 GB, free: 83.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/1.525, allocations: 3.688 kB / 0.5249 GB, free: 83.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/1.525, allocations: 10.33 kB / 0.525 GB, free: 83.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.539, allocations: 5.333 MB / 0.5302 GB, free: 80.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.539, allocations: 4 kB / 0.5302 GB, free: 80.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/1.542, allocations: 280.6 kB / 0.5304 GB, free: 80.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01541/1.557, allocations: 2.369 MB / 0.5328 GB, free: 78.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006398/1.558, allocations: 42.14 kB / 0.5328 GB, free: 78.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/1.576, allocations: 8.838 MB / 0.5414 GB, free: 70.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002688/1.579, allocations: 2.874 MB / 0.5442 GB, free: 67.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03684/1.616, allocations: 8.099 MB / 0.5521 GB, free: 59.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.617, allocations: 341.9 kB / 0.5525 GB, free: 59.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/1.618, allocations: 32.84 kB / 0.5525 GB, free: 59.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005373/1.624, allocations: 263.5 kB / 0.5527 GB, free: 59.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007994/1.624, allocations: 109 kB / 0.5528 GB, free: 58.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/1.625, allocations: 43.97 kB / 0.5529 GB, free: 58.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005211/1.63, allocations: 1.809 MB / 0.5547 GB, free: 57.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/1.63, allocations: 0 / 0.5547 GB, free: 57.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.008826/1.639, allocations: 0.9364 MB / 0.5556 GB, free: 56.14 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.02787/1.667, allocations: 8.976 MB / 0.5643 GB, free: 47.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01685/1.684, allocations: 6.279 MB / 0.5705 GB, free: 40.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.684, allocations: 4 kB / 0.5705 GB, free: 40.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009973/1.694, allocations: 3.367 MB / 0.5738 GB, free: 37.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.697, allocations: 280 kB / 0.574 GB, free: 36.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/1.727, allocations: 8.617 MB / 0.5824 GB, free: 28.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003561/1.73, allocations: 2.353 MB / 0.5847 GB, free: 26.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003203/1.734, allocations: 1.187 MB / 0.5859 GB, free: 24.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.774e-06/1.734, allocations: 0 / 0.5859 GB, free: 24.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.056/6.79, allocations: 147.3 MB / 0.7297 GB, free: 12.48 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat