Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.375e-05, allocations: 7.984 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 44.52 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5473, allocations: 81.31 MB / 381.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.5477, allocations: 82.52 kB / 381.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2401/0.7878, allocations: 59.22 MB / 440.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.789e-06/0.7878, allocations: 0 / 440.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001449/0.788, allocations: 43.94 kB / 440.6 MB, free: 5.895 MB / 330.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.02736/0.8154, allocations: 3.448 MB / 444.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.8154, allocations: 8.031 kB / 444.1 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001902/0.8174, allocations: 488 kB / 444.6 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/0.8383, allocations: 2.359 MB / 446.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02014/0.8585, allocations: 4.841 MB / 451.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.8589, allocations: 168.5 kB / 451.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/0.8606, allocations: 235.8 kB / 452.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02991/0.8905, allocations: 8.463 MB / 460.6 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.8908, allocations: 51.56 kB / 460.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008328/0.8916, allocations: 118 kB / 460.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001986/0.8936, allocations: 0.7337 MB / 461.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03251/0.9262, allocations: 9.449 MB / 471 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06418/0.9904, allocations: 37.74 MB / 0.4968 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02148/1.012, allocations: 4.028 MB / 0.5007 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00568/1.018, allocations: 2.187 MB / 0.5028 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/1.018, allocations: 14.66 kB / 0.5029 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/1.018, allocations: 54.48 kB / 0.5029 GB, free: 10.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 6.773e-06/1.018, allocations: 0 / 0.5029 GB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.3444/1.362, allocations: 14.48 MB / 0.5171 GB, free: 113.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002585/1.365, allocations: 3.05 MB / 0.52 GB, free: 110.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006896/1.372, allocations: 2.615 MB / 0.5226 GB, free: 110.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006191/1.373, allocations: 44.58 kB / 0.5226 GB, free: 110.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.375, allocations: 2.075 MB / 0.5247 GB, free: 109.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.377, allocations: 0.563 MB / 0.5252 GB, free: 109.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008581/1.377, allocations: 94.38 kB / 0.5253 GB, free: 109.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005044/1.378, allocations: 0.5036 MB / 0.5258 GB, free: 109.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006647/1.385, allocations: 2.293 MB / 0.528 GB, free: 109.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008594/1.393, allocations: 5.174 MB / 0.5331 GB, free: 105.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007855/1.401, allocations: 3.363 MB / 0.5364 GB, free: 105.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.401, allocations: 32.62 kB / 0.5364 GB, free: 105.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03342/1.435, allocations: 9.243 MB / 0.5454 GB, free: 104.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/1.435, allocations: 54.91 kB / 0.5455 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0205/1.455, allocations: 4.654 MB / 0.55 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01642/1.472, allocations: 2.351 MB / 0.5523 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007597/1.48, allocations: 1.161 MB / 0.5534 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/1.491, allocations: 8.12 MB / 0.5614 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008836/1.5, allocations: 0.5638 MB / 0.5619 GB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.502, allocations: 309.5 kB / 0.5622 GB, free: 96.86 MB / 410.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 (575): * Single equations (assignments): 560 * 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.00149/1.503, allocations: 469.5 kB / 0.5627 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009459/1.504, allocations: 256.6 kB / 0.5629 GB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.506, allocations: 409.9 kB / 0.5633 GB, free: 96.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02022/1.526, allocations: 4.565 MB / 0.5678 GB, free: 95.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.132e-05/1.526, allocations: 3.562 kB / 0.5678 GB, free: 95.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/1.526, allocations: 13.66 kB / 0.5678 GB, free: 95.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/1.542, allocations: 5.335 MB / 0.573 GB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/1.542, allocations: 3.5 kB / 0.573 GB, free: 92.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/1.545, allocations: 279 kB / 0.5733 GB, free: 92.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01592/1.561, allocations: 2.372 MB / 0.5756 GB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000674/1.562, allocations: 43.95 kB / 0.5756 GB, free: 92.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/1.575, allocations: 8.827 MB / 0.5842 GB, free: 84.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002186/1.577, allocations: 2.893 MB / 0.5871 GB, free: 81.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02695/1.604, allocations: 8.09 MB / 0.595 GB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.605, allocations: 341.2 kB / 0.5953 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.607, allocations: 39.48 kB / 0.5953 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004528/1.611, allocations: 261.3 kB / 0.5956 GB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000877/1.612, allocations: 100.6 kB / 0.5957 GB, free: 73.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.612, allocations: 52.22 kB / 0.5957 GB, free: 73.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00433/1.617, allocations: 1.814 MB / 0.5975 GB, free: 72.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.525e-06/1.617, allocations: 0 / 0.5975 GB, free: 72.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006658/1.623, allocations: 0.94 MB / 0.5984 GB, free: 71.32 MB / 410.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.651, allocations: 8.979 MB / 0.6072 GB, free: 63.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01716/1.669, allocations: 6.673 MB / 0.6137 GB, free: 56.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.669, allocations: 0 / 0.6137 GB, free: 56.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01028/1.679, allocations: 3.388 MB / 0.617 GB, free: 53.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.682, allocations: 282.4 kB / 0.6173 GB, free: 53.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.711, allocations: 8.337 MB / 0.6254 GB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/1.714, allocations: 2.35 MB / 0.6277 GB, free: 42.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007403/1.722, allocations: 1.624 MB / 0.6293 GB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003281/1.725, allocations: 1.151 MB / 0.6304 GB, free: 39.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/1.725, allocations: 0 / 0.6304 GB, free: 39.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4717/2.197, allocations: 66.28 MB / 0.6951 GB, free: 101.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/2.197, allocations: 198.9 kB / 0.6953 GB, free: 101 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/6.793, allocations: 3.938 kB / 0.6953 GB, free: 101 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat