Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.651e-05, allocations: 4 kB / 225.1 MB, free: 2.125 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2528, allocations: 38.77 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.4186, allocations: 82.39 MB / 346.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.4189, allocations: 79.95 kB / 346.3 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5564/0.9753, allocations: 83.58 MB / 429.9 MB, free: 43.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.9754, allocations: 0 / 429.9 MB, free: 43.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002129/0.9756, allocations: 76 kB / 430 MB, free: 43.46 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: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01319/0.9888, allocations: 3.802 MB / 433.8 MB, free: 39.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.9889, allocations: 8.031 kB / 433.8 MB, free: 39.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002826/0.9917, allocations: 0.7374 MB / 434.5 MB, free: 38.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/1.011, allocations: 2.432 MB / 437 MB, free: 36.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/1.029, allocations: 5.036 MB / 442 MB, free: 31.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/1.029, allocations: 319.9 kB / 442.3 MB, free: 30.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/1.031, allocations: 411.8 kB / 442.7 MB, free: 30.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0268/1.058, allocations: 9.797 MB / 452.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/1.059, allocations: 63.41 kB / 452.6 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/1.06, allocations: 199.9 kB / 452.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/1.063, allocations: 0.9901 MB / 453.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/1.085, allocations: 7.535 MB / 461.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3399/1.425, allocations: 45.37 MB / 0.4948 GB, free: 46.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/1.435, allocations: 2.702 MB / 0.4974 GB, free: 45.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/1.437, allocations: 0.8181 MB / 0.4982 GB, free: 45.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008916/1.446, allocations: 3.459 MB / 0.5016 GB, free: 44.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.446, allocations: 50.72 kB / 0.5017 GB, free: 44.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 5.951e-06/1.446, allocations: 0 / 0.5017 GB, free: 44.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03388/1.48, allocations: 8.194 MB / 0.5097 GB, free: 41.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/1.48, allocations: 148.8 kB / 0.5098 GB, free: 41.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007678/1.488, allocations: 3.422 MB / 0.5131 GB, free: 41.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.488, allocations: 43.89 kB / 0.5132 GB, free: 41.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002837/1.491, allocations: 3.082 MB / 0.5162 GB, free: 39.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009175/1.492, allocations: 0.5823 MB / 0.5168 GB, free: 39.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006714/1.492, allocations: 112.2 kB / 0.5169 GB, free: 39.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004116/1.493, allocations: 0.5536 MB / 0.5174 GB, free: 38.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/1.497, allocations: 1.468 MB / 0.5188 GB, free: 38.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00636/1.503, allocations: 5.177 MB / 0.5239 GB, free: 33.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006282/1.509, allocations: 2.759 MB / 0.5266 GB, free: 33.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/1.51, allocations: 39.19 kB / 0.5266 GB, free: 33.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01658/1.526, allocations: 6.394 MB / 0.5329 GB, free: 33.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.526, allocations: 62.5 kB / 0.5329 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/1.527, allocations: 134.5 kB / 0.5331 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/1.527, allocations: 194.4 kB / 0.5333 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008628/1.536, allocations: 1.379 MB / 0.5346 GB, free: 33.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002615/1.536, allocations: 267.3 kB / 0.5349 GB, free: 33.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006965/1.543, allocations: 374 kB / 0.5352 GB, free: 33.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.544, allocations: 357.8 kB / 0.5356 GB, free: 33.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (726): * Single equations (assignments): 723 * 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.001698/1.546, allocations: 0.5525 MB / 0.5361 GB, free: 33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008021/1.547, allocations: 330.1 kB / 0.5364 GB, free: 32.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/1.55, allocations: 1.175 MB / 0.5376 GB, free: 32.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/1.55, allocations: 17.72 kB / 0.5376 GB, free: 32.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.55, allocations: 0 / 0.5376 GB, free: 32.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.55, allocations: 12.33 kB / 0.5376 GB, free: 32.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.565, allocations: 5.622 MB / 0.5431 GB, free: 29.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.565, allocations: 17.81 kB / 0.5431 GB, free: 29.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/1.567, allocations: 267.3 kB / 0.5433 GB, free: 29.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.799e-05/1.567, allocations: 29.78 kB / 0.5434 GB, free: 29.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/1.567, allocations: 47.97 kB / 0.5434 GB, free: 29.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.123e-05/1.567, allocations: 41.31 kB / 0.5435 GB, free: 29.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-05/1.567, allocations: 27.5 kB / 0.5435 GB, free: 29.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005736/1.573, allocations: 5.106 MB / 0.5485 GB, free: 25.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.575, allocations: 0.5195 MB / 0.549 GB, free: 25.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009683/1.576, allocations: 55.23 kB / 0.549 GB, free: 25.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.579, allocations: 84.64 kB / 0.5491 GB, free: 25.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/1.579, allocations: 143.6 kB / 0.5492 GB, free: 24.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.579, allocations: 60 kB / 0.5493 GB, free: 24.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006089/1.586, allocations: 2.37 MB / 0.5516 GB, free: 22.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.586, allocations: 0 / 0.5516 GB, free: 22.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006782/1.592, allocations: 0.8664 MB / 0.5525 GB, free: 21.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.006804/1.599, allocations: 10.05 MB / 0.5623 GB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007865/1.607, allocations: 3.47 MB / 0.5657 GB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/1.607, allocations: 0 / 0.5657 GB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.609, allocations: 0.7085 MB / 0.5664 GB, free: 7.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/1.613, allocations: 420.9 kB / 0.5668 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/1.638, allocations: 8.191 MB / 0.5748 GB, free: 4 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007418/1.646, allocations: 3.165 MB / 0.5779 GB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.008771/1.655, allocations: 1.764 MB / 0.5796 GB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004399/1.659, allocations: 1.77 MB / 0.5813 GB, free: 10.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/1.659, allocations: 0 / 0.5813 GB, free: 10.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4704/2.13, allocations: 64.88 MB / 0.6447 GB, free: 114.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/2.13, allocations: 172.5 kB / 0.6448 GB, free: 114.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.062/7.192, allocations: 7.766 kB / 0.6448 GB, free: 114.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat