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.661/1.661, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.932e-05, allocations: 8 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2814, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4413, allocations: 82.41 MB / 346.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/0.4418, allocations: 79.95 kB / 346.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5631/1.005, allocations: 83.59 MB / 430 MB, free: 43.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.627e-06/1.005, allocations: 0 / 430 MB, free: 43.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001987/1.005, allocations: 83.94 kB / 430 MB, free: 43.27 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.01277/1.018, allocations: 3.79 MB / 433.8 MB, free: 39.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.018, allocations: 15.97 kB / 433.8 MB, free: 39.4 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002531/1.021, allocations: 0.7335 MB / 434.6 MB, free: 38.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/1.04, allocations: 2.428 MB / 437 MB, free: 36.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01701/1.057, allocations: 5.036 MB / 442 MB, free: 31.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/1.057, allocations: 312 kB / 442.3 MB, free: 30.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/1.059, allocations: 407.8 kB / 442.7 MB, free: 30.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/1.083, allocations: 9.762 MB / 452.5 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/1.083, allocations: 59.41 kB / 452.6 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/1.084, allocations: 195.9 kB / 452.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002067/1.086, allocations: 0.994 MB / 453.7 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/1.112, allocations: 7.351 MB / 461.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3562/1.468, allocations: 45.37 MB / 0.4946 GB, free: 47.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009784/1.478, allocations: 2.695 MB / 0.4972 GB, free: 46.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/1.48, allocations: 0.8134 MB / 0.498 GB, free: 46.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00849/1.488, allocations: 3.459 MB / 0.5014 GB, free: 45.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/1.489, allocations: 45.66 kB / 0.5014 GB, free: 45.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 4.819e-06/1.489, allocations: 0 / 0.5014 GB, free: 45.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03294/1.521, allocations: 8.194 MB / 0.5094 GB, free: 42.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/1.522, allocations: 146.8 kB / 0.5096 GB, free: 42.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007882/1.53, allocations: 3.419 MB / 0.5129 GB, free: 42.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/1.53, allocations: 50.17 kB / 0.513 GB, free: 42.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002574/1.532, allocations: 3.083 MB / 0.516 GB, free: 40.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007541/1.533, allocations: 0.5798 MB / 0.5166 GB, free: 40.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/1.534, allocations: 114.7 kB / 0.5167 GB, free: 40.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003335/1.534, allocations: 0.5513 MB / 0.5172 GB, free: 39.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/1.538, allocations: 1.467 MB / 0.5186 GB, free: 39.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/1.549, allocations: 5.152 MB / 0.5237 GB, free: 35.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006514/1.556, allocations: 2.754 MB / 0.5264 GB, free: 35.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/1.556, allocations: 40.25 kB / 0.5264 GB, free: 35.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02119/1.577, allocations: 6.017 MB / 0.5323 GB, free: 34.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.577, allocations: 66.09 kB / 0.5323 GB, free: 34.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/1.577, allocations: 132.1 kB / 0.5325 GB, free: 34.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/1.578, allocations: 193 kB / 0.5326 GB, free: 34.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008047/1.586, allocations: 1.379 MB / 0.534 GB, free: 34.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002493/1.586, allocations: 260.4 kB / 0.5342 GB, free: 34.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006861/1.593, allocations: 381.2 kB / 0.5346 GB, free: 34.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/1.594, allocations: 356.9 kB / 0.5349 GB, free: 34.63 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.001167/1.595, allocations: 0.5545 MB / 0.5355 GB, free: 34.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007494/1.596, allocations: 332.7 kB / 0.5358 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/1.599, allocations: 1.174 MB / 0.5369 GB, free: 33.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-05/1.599, allocations: 17.72 kB / 0.537 GB, free: 33.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.599, allocations: 3.438 kB / 0.537 GB, free: 33.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.599, allocations: 7.359 kB / 0.537 GB, free: 33.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/1.612, allocations: 5.576 MB / 0.5424 GB, free: 30.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/1.612, allocations: 21.84 kB / 0.5424 GB, free: 30.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.614, allocations: 268.4 kB / 0.5427 GB, free: 30.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.599e-05/1.614, allocations: 26.41 kB / 0.5427 GB, free: 30.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.614, allocations: 53.98 kB / 0.5428 GB, free: 30.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/1.614, allocations: 37.5 kB / 0.5428 GB, free: 30.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-05/1.614, allocations: 27 kB / 0.5428 GB, free: 30.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/1.62, allocations: 5.104 MB / 0.5478 GB, free: 26.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.621, allocations: 0.5091 MB / 0.5483 GB, free: 26.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006094/1.622, allocations: 59.16 kB / 0.5484 GB, free: 26.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/1.624, allocations: 83.61 kB / 0.5484 GB, free: 26.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.624, allocations: 139.9 kB / 0.5486 GB, free: 26.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.625, allocations: 71.62 kB / 0.5486 GB, free: 26.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005286/1.63, allocations: 2.361 MB / 0.551 GB, free: 24.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.63, allocations: 4 kB / 0.551 GB, free: 24.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006925/1.637, allocations: 0.8639 MB / 0.5518 GB, free: 23.48 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.006543/1.643, allocations: 10.05 MB / 0.5616 GB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007322/1.651, allocations: 3.273 MB / 0.5648 GB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/1.651, allocations: 4 kB / 0.5648 GB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.652, allocations: 0.6802 MB / 0.5655 GB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.656, allocations: 417.4 kB / 0.5659 GB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.682, allocations: 8.173 MB / 0.5739 GB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008839/1.691, allocations: 3.172 MB / 0.577 GB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.01205/1.703, allocations: 1.763 MB / 0.5787 GB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005665/1.708, allocations: 1.77 MB / 0.5804 GB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/1.708, allocations: 4 kB / 0.5804 GB, free: 12.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1931/1.902, allocations: 64.39 MB / 0.6433 GB, free: 0.793 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003483/1.902, allocations: 172.1 kB / 0.6435 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.891/6.793, allocations: 7.844 kB / 0.6435 GB, free: 0.5547 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