Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.673e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5318, allocations: 88.37 MB / 405.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.5321, allocations: 82.7 kB / 405.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2341/0.7662, allocations: 52.66 MB / 458.1 MB, free: 1.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.7663, allocations: 0 / 458.1 MB, free: 1.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.7665, allocations: 56 kB / 458.2 MB, free: 1.672 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.008392/0.7749, allocations: 2.457 MB / 460.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.775, allocations: 8.031 kB / 460.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002472/0.7774, allocations: 0.5712 MB / 461.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.7932, allocations: 1.958 MB / 463.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/0.7984, allocations: 1.419 MB / 464.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.7988, allocations: 226 kB / 464.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.8005, allocations: 311.8 kB / 465.1 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03421/0.8347, allocations: 8.921 MB / 474 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002381/0.835, allocations: 55.47 kB / 474.1 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/0.8364, allocations: 163.8 kB / 474.2 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002605/0.839, allocations: 0.8008 MB / 475.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/0.8696, allocations: 6.995 MB / 482 MB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06047/0.9301, allocations: 38.38 MB / 0.5082 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3069/1.237, allocations: 5.342 MB / 0.5134 GB, free: 121 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/1.24, allocations: 0.9298 MB / 0.5144 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008182/1.248, allocations: 3.7 MB / 0.518 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/1.248, allocations: 48.08 kB / 0.518 GB, free: 119.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=111): time 5.491e-06/1.248, allocations: 1.906 kB / 0.518 GB, free: 119.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=111): time 0.07171/1.32, allocations: 8.198 MB / 0.526 GB, free: 119.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/1.32, allocations: 201.6 kB / 0.5262 GB, free: 118.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/1.326, allocations: 2.684 MB / 0.5288 GB, free: 118.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/1.326, allocations: 38.17 kB / 0.5289 GB, free: 118.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.328, allocations: 2.422 MB / 0.5312 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007151/1.329, allocations: 0.4926 MB / 0.5317 GB, free: 117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004955/1.329, allocations: 107.5 kB / 0.5318 GB, free: 117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003366/1.33, allocations: 0.5363 MB / 0.5323 GB, free: 116.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003398/1.333, allocations: 1.465 MB / 0.5338 GB, free: 116.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006037/1.339, allocations: 4.971 MB / 0.5386 GB, free: 112 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005745/1.345, allocations: 2.716 MB / 0.5413 GB, free: 112 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.345, allocations: 35.84 kB / 0.5413 GB, free: 112 MB / 426.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01526/1.361, allocations: 5.801 MB / 0.547 GB, free: 111.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.361, allocations: 61.56 kB / 0.547 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/1.361, allocations: 127.8 kB / 0.5472 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/1.361, allocations: 186.9 kB / 0.5473 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.371, allocations: 1.517 MB / 0.5488 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002526/1.372, allocations: 246.1 kB / 0.5491 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/1.377, allocations: 0.7594 MB / 0.5498 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.378, allocations: 344.2 kB / 0.5501 GB, free: 110.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009997/1.379, allocations: 0.5264 MB / 0.5506 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/1.38, allocations: 246 kB / 0.5509 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/1.382, allocations: 0.7403 MB / 0.5516 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/1.382, allocations: 14.69 kB / 0.5516 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.382, allocations: 3.906 kB / 0.5516 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.382, allocations: 2.766 kB / 0.5516 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008391/1.39, allocations: 3.227 MB / 0.5548 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.39, allocations: 0 / 0.5548 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005012/1.395, allocations: 482.2 kB / 0.5552 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/1.395, allocations: 3.5 kB / 0.5552 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.396, allocations: 38.97 kB / 0.5553 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/1.396, allocations: 4.562 kB / 0.5553 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.396, allocations: 0 / 0.5553 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/1.4, allocations: 2.656 MB / 0.5579 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/1.401, allocations: 302.2 kB / 0.5582 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/1.401, allocations: 31.42 kB / 0.5582 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.403, allocations: 54.02 kB / 0.5582 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.403, allocations: 55.22 kB / 0.5583 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/1.403, allocations: 37.8 kB / 0.5583 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00371/1.407, allocations: 1.807 MB / 0.5601 GB, free: 106.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.407, allocations: 0 / 0.5601 GB, free: 106.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005529/1.412, allocations: 0.843 MB / 0.5609 GB, free: 106.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005019/1.418, allocations: 3.602 MB / 0.5644 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007206/1.425, allocations: 3.192 MB / 0.5675 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.425, allocations: 0 / 0.5675 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/1.426, allocations: 0.6153 MB / 0.5681 GB, free: 99.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.428, allocations: 236.5 kB / 0.5684 GB, free: 99.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.449, allocations: 7.218 MB / 0.5754 GB, free: 93.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.453, allocations: 2.45 MB / 0.5778 GB, free: 91.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007212/1.461, allocations: 1.644 MB / 0.5794 GB, free: 90.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/1.463, allocations: 1.215 MB / 0.5806 GB, free: 89.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/1.463, allocations: 4 kB / 0.5806 GB, free: 89.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/1.582, allocations: 50.72 MB / 0.6301 GB, free: 40.37 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/1.582, allocations: 180.2 kB / 0.6303 GB, free: 40.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.496/6.078, allocations: 4 kB / 0.6303 GB, free: 40.14 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat