Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.062e-05, allocations: 4 kB / 255.4 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 44.52 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6053, allocations: 80.64 MB / 380.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.6057, allocations: 84.81 kB / 380.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1963/0.802, allocations: 51.28 MB / 432 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.8021, allocations: 0 / 432 MB, free: 13.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.8022, allocations: 53.03 kB / 432 MB, free: 13.13 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.008519/0.8107, allocations: 2.41 MB / 434.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.8108, allocations: 9.625 kB / 434.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002262/0.8131, allocations: 0.5617 MB / 435 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.8289, allocations: 1.954 MB / 437 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/0.8342, allocations: 1.392 MB / 438.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.8345, allocations: 224.5 kB / 438.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.8361, allocations: 296.6 kB / 438.9 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/0.87, allocations: 8.83 MB / 447.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/0.8702, allocations: 59.47 kB / 447.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009439/0.8712, allocations: 155.4 kB / 447.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/0.8736, allocations: 0.789 MB / 448.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/0.9043, allocations: 7.037 MB / 455.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06207/0.9664, allocations: 38.02 MB / 493.7 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03959/1.006, allocations: 5.237 MB / 499 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/1.009, allocations: 0.9 MB / 499.9 MB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008507/1.017, allocations: 3.34 MB / 0.4914 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/1.017, allocations: 50.59 kB / 0.4915 GB, free: 6.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=104): time 5.691e-06/1.017, allocations: 0 / 0.4915 GB, free: 6.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.07371/1.091, allocations: 8.06 MB / 0.4993 GB, free: 14.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.091, allocations: 195.8 kB / 0.4995 GB, free: 13.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007485/1.099, allocations: 2.657 MB / 0.5021 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/1.099, allocations: 37.7 kB / 0.5022 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003029/1.102, allocations: 2.405 MB / 0.5045 GB, free: 8.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/1.103, allocations: 478.3 kB / 0.505 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/1.104, allocations: 108 kB / 0.5051 GB, free: 8.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007491/1.105, allocations: 0.5808 MB / 0.5056 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004417/1.109, allocations: 1.447 MB / 0.5071 GB, free: 6.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2808/1.39, allocations: 4.968 MB / 0.5119 GB, free: 113.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007048/1.397, allocations: 2.685 MB / 0.5145 GB, free: 113.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/1.397, allocations: 36.72 kB / 0.5146 GB, free: 113.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01779/1.415, allocations: 6.101 MB / 0.5205 GB, free: 113.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.415, allocations: 59.03 kB / 0.5206 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/1.415, allocations: 127.7 kB / 0.5207 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/1.416, allocations: 182 kB / 0.5209 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/1.426, allocations: 1.506 MB / 0.5223 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002383/1.426, allocations: 243.9 kB / 0.5226 GB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/1.432, allocations: 0.7568 MB / 0.5233 GB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009894/1.433, allocations: 341.5 kB / 0.5236 GB, free: 112.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 27 (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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 668 * 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.0008666/1.434, allocations: 0.5152 MB / 0.5241 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006254/1.434, allocations: 248.3 kB / 0.5244 GB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/1.436, allocations: 0.7054 MB / 0.5251 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/1.436, allocations: 11.98 kB / 0.5251 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.436, allocations: 3.688 kB / 0.5251 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/1.436, allocations: 4.219 kB / 0.5251 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006145/1.443, allocations: 2.27 MB / 0.5273 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/1.443, allocations: 0 / 0.5273 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005131/1.448, allocations: 467.1 kB / 0.5277 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/1.448, allocations: 3.281 kB / 0.5278 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/1.448, allocations: 38.72 kB / 0.5278 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/1.448, allocations: 4.359 kB / 0.5278 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/1.448, allocations: 3.953 kB / 0.5278 GB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/1.452, allocations: 2.568 MB / 0.5303 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/1.453, allocations: 305.7 kB / 0.5306 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005486/1.454, allocations: 30.59 kB / 0.5306 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/1.456, allocations: 54.39 kB / 0.5307 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/1.456, allocations: 54.16 kB / 0.5307 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/1.456, allocations: 38.14 kB / 0.5308 GB, free: 111.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004473/1.461, allocations: 1.792 MB / 0.5325 GB, free: 111 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.461, allocations: 384 / 0.5325 GB, free: 111 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005636/1.467, allocations: 0.8121 MB / 0.5333 GB, free: 110.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (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],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.004827/1.471, allocations: 3.515 MB / 0.5367 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007556/1.479, allocations: 3.314 MB / 0.54 GB, free: 109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.479, allocations: 1.812 kB / 0.54 GB, free: 109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.48, allocations: 0.5947 MB / 0.5406 GB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.482, allocations: 227.6 kB / 0.5408 GB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/1.503, allocations: 7.114 MB / 0.5477 GB, free: 106 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003389/1.506, allocations: 2.42 MB / 0.5501 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007475/1.514, allocations: 1.638 MB / 0.5517 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002797/1.517, allocations: 1.19 MB / 0.5528 GB, free: 103.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.041e-06/1.517, allocations: 0 / 0.5528 GB, free: 103.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/1.674, allocations: 50.2 MB / 0.6019 GB, free: 65.86 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.675, allocations: 181.5 kB / 0.602 GB, free: 65.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.15/5.824, allocations: 64 / 0.602 GB, free: 65.63 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat