Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.692/1.692, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.663e-05, allocations: 7.984 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2747, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4147, allocations: 75.24 MB / 339.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/0.4152, allocations: 83.89 kB / 339.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4416/0.8568, allocations: 51.25 MB / 390.4 MB, free: 80.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.8568, allocations: 0 / 390.4 MB, free: 80.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.87e-05/0.857, allocations: 52.81 kB / 390.5 MB, free: 80.94 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.00661/0.8636, allocations: 2.41 MB / 392.9 MB, free: 79.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.8637, allocations: 8.031 kB / 392.9 MB, free: 79.33 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001562/0.8652, allocations: 0.556 MB / 393.5 MB, free: 78.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/0.8797, allocations: 1.953 MB / 395.4 MB, free: 76.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.884, allocations: 1.394 MB / 396.8 MB, free: 75.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.8842, allocations: 220.3 kB / 397 MB, free: 75.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.8855, allocations: 306.5 kB / 397.3 MB, free: 74.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0288/0.9143, allocations: 8.796 MB / 406.1 MB, free: 65.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.9145, allocations: 59.47 kB / 406.2 MB, free: 65.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009495/0.9155, allocations: 150.3 kB / 406.3 MB, free: 65.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/0.9175, allocations: 0.796 MB / 407.1 MB, free: 64.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02677/0.9443, allocations: 6.884 MB / 414 MB, free: 57.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0498/0.9942, allocations: 38.03 MB / 452 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03746/1.032, allocations: 5.211 MB / 457.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/1.034, allocations: 0.9041 MB / 458.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007172/1.041, allocations: 3.345 MB / 461.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.041, allocations: 50.69 kB / 461.5 MB, free: 8.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 5.571e-06/1.041, allocations: 0 / 461.5 MB, free: 8.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.07006/1.111, allocations: 8.048 MB / 469.6 MB, free: 368 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/1.111, allocations: 191.9 kB / 469.8 MB, free: 132 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/1.119, allocations: 2.661 MB / 472.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.119, allocations: 37.7 kB / 472.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002828/1.122, allocations: 2.403 MB / 474.9 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009181/1.123, allocations: 480.3 kB / 475.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006719/1.123, allocations: 104 kB / 475.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0007024/1.124, allocations: 0.5847 MB / 476 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00438/1.129, allocations: 1.444 MB / 477.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007793/1.136, allocations: 4.933 MB / 482.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006807/1.143, allocations: 2.691 MB / 485.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/1.143, allocations: 36 kB / 485.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01771/1.161, allocations: 5.741 MB / 490.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.161, allocations: 64 kB / 490.9 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002087/1.162, allocations: 124 kB / 491.1 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/1.162, allocations: 188 kB / 491.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/1.172, allocations: 1.501 MB / 492.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003141/1.173, allocations: 243.1 kB / 493 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005886/1.179, allocations: 0.75 MB / 493.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.18, allocations: 340 kB / 494.1 MB, free: 6.004 MB / 346.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.001602/1.182, allocations: 0.5306 MB / 494.6 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/1.182, allocations: 256.7 kB / 494.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/1.185, allocations: 0.693 MB / 495.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.915e-05/1.185, allocations: 12 kB / 495.6 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.185, allocations: 7.984 kB / 495.6 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/1.185, allocations: 8.359 kB / 495.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0073/1.192, allocations: 2.271 MB / 497.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.192, allocations: 0 / 497.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005275/1.197, allocations: 467.4 kB / 498.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/1.197, allocations: 7.938 kB / 498.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/1.198, allocations: 35.97 kB / 498.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/1.198, allocations: 7.953 kB / 498.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.198, allocations: 0 / 498.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2434/1.441, allocations: 2.564 MB / 0.4892 GB, free: 98.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/1.442, allocations: 309 kB / 0.4895 GB, free: 98.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/1.443, allocations: 27.09 kB / 0.4895 GB, free: 98.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.445, allocations: 49.44 kB / 0.4895 GB, free: 98.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.445, allocations: 55.45 kB / 0.4896 GB, free: 98.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.445, allocations: 33.12 kB / 0.4896 GB, free: 98.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00463/1.45, allocations: 1.789 MB / 0.4914 GB, free: 98.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.45, allocations: 3.969 kB / 0.4914 GB, free: 98.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006119/1.456, allocations: 0.8198 MB / 0.4922 GB, free: 98.41 MB / 346.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.005459/1.462, allocations: 3.513 MB / 0.4956 GB, free: 96.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007263/1.469, allocations: 3.146 MB / 0.4987 GB, free: 96.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.469, allocations: 0 / 0.4987 GB, free: 96.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.471, allocations: 0.5891 MB / 0.4993 GB, free: 96.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/1.473, allocations: 238.1 kB / 0.4995 GB, free: 96.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02346/1.496, allocations: 7.108 MB / 0.5064 GB, free: 94.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00519/1.501, allocations: 2.421 MB / 0.5088 GB, free: 93.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007709/1.509, allocations: 1.624 MB / 0.5104 GB, free: 93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002916/1.512, allocations: 1.19 MB / 0.5115 GB, free: 92.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.854e-06/1.512, allocations: 0 / 0.5115 GB, free: 92.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/1.639, allocations: 49.77 MB / 0.5601 GB, free: 49.24 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.64, allocations: 182.6 kB / 0.5603 GB, free: 49.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/5.597, allocations: 0 / 0.5603 GB, free: 49.02 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat