Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.431/2.431, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.476e-05, allocations: 7.531 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 44.5 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5465/0.6596, allocations: 87.35 MB / 381.6 MB, free: 5.66 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.66, allocations: 83.27 kB / 381.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4738/1.134, allocations: 81.89 MB / 463.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.134, allocations: 4 kB / 463.6 MB, free: 7.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004175/1.134, allocations: 76 kB / 463.7 MB, free: 7.656 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: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.02163/1.156, allocations: 3.801 MB / 467.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.205e-05/1.156, allocations: 8.031 kB / 467.5 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0273/1.183, allocations: 2.44 MB / 469.9 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02523/1.209, allocations: 5.019 MB / 475 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/1.209, allocations: 136 kB / 475.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/1.212, allocations: 239.9 kB / 475.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02004/1.232, allocations: 5.731 MB / 481.1 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/1.262, allocations: 8.888 MB / 489.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003695/1.263, allocations: 63.34 kB / 490 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/1.265, allocations: 35.95 kB / 490 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003389/1.269, allocations: 0.99 MB / 491 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4018/1.67, allocations: 44.58 MB / 0.5231 GB, free: 56.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/1.675, allocations: 1.84 MB / 0.5249 GB, free: 55.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/1.677, allocations: 0.7454 MB / 0.5256 GB, free: 55.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/1.678, allocations: 454.4 kB / 0.526 GB, free: 55.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/1.678, allocations: 44.19 kB / 0.5261 GB, free: 55.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 6.152e-06/1.678, allocations: 3.828 kB / 0.5261 GB, free: 55.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.02672/1.704, allocations: 6.865 MB / 0.5328 GB, free: 52.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/1.705, allocations: 146.7 kB / 0.5329 GB, free: 52.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006924/1.712, allocations: 2.981 MB / 0.5358 GB, free: 51.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003207/1.712, allocations: 25.7 kB / 0.5358 GB, free: 51.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002894/1.715, allocations: 3.126 MB / 0.5389 GB, free: 50.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008577/1.716, allocations: 0.5637 MB / 0.5394 GB, free: 50.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006184/1.716, allocations: 6.25 kB / 0.5394 GB, free: 50.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004211/1.717, allocations: 0.5505 MB / 0.54 GB, free: 49.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/1.72, allocations: 1.39 MB / 0.5413 GB, free: 49.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006909/1.727, allocations: 5.231 MB / 0.5465 GB, free: 44.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006807/1.734, allocations: 2.716 MB / 0.5491 GB, free: 44.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/1.735, allocations: 38.47 kB / 0.5491 GB, free: 44.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01815/1.753, allocations: 5.699 MB / 0.5547 GB, free: 43.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.753, allocations: 64.66 kB / 0.5548 GB, free: 43.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000217/1.753, allocations: 137.8 kB / 0.5549 GB, free: 43.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/1.753, allocations: 206 kB / 0.5551 GB, free: 43.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/1.764, allocations: 1.43 MB / 0.5565 GB, free: 43.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002678/1.764, allocations: 275.1 kB / 0.5568 GB, free: 43.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008168/1.772, allocations: 266.9 kB / 0.557 GB, free: 43.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.774, allocations: 373.7 kB / 0.5574 GB, free: 43.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * 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 (750): * Single equations (assignments): 747 * 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.001411/1.775, allocations: 448.1 kB / 0.5578 GB, free: 43.45 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004309/1.779, allocations: 1.464 MB / 0.5592 GB, free: 43.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009103/1.78, allocations: 307 kB / 0.5595 GB, free: 43.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/1.784, allocations: 1.014 MB / 0.5605 GB, free: 42.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/1.784, allocations: 15.22 kB / 0.5605 GB, free: 42.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.784, allocations: 0 / 0.5605 GB, free: 42.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/1.784, allocations: 10.3 kB / 0.5605 GB, free: 42.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/1.801, allocations: 4.712 MB / 0.5651 GB, free: 40.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.78e-05/1.801, allocations: 14.41 kB / 0.5651 GB, free: 40.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.804, allocations: 267.1 kB / 0.5654 GB, free: 40.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.904e-05/1.804, allocations: 21.25 kB / 0.5654 GB, free: 40.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/1.804, allocations: 29.06 kB / 0.5654 GB, free: 40.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.034e-05/1.804, allocations: 28.34 kB / 0.5655 GB, free: 40.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-05/1.804, allocations: 38.31 kB / 0.5655 GB, free: 40.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007348/1.812, allocations: 4.612 MB / 0.57 GB, free: 37.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.814, allocations: 491.1 kB / 0.5705 GB, free: 36.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.815, allocations: 20.81 kB / 0.5705 GB, free: 36.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003408/1.819, allocations: 67.31 kB / 0.5706 GB, free: 36.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/1.819, allocations: 128.6 kB / 0.5707 GB, free: 36.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.819, allocations: 64.7 kB / 0.5708 GB, free: 36.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00615/1.825, allocations: 1.973 MB / 0.5727 GB, free: 35.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.402e-06/1.826, allocations: 0 / 0.5727 GB, free: 35.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009105/1.835, allocations: 0.7238 MB / 0.5734 GB, free: 35.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (135): * Single equations (assignments): 132 * 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.008087/1.843, allocations: 9.167 MB / 0.5823 GB, free: 27.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008718/1.852, allocations: 3.225 MB / 0.5855 GB, free: 26.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-05/1.852, allocations: 9.312 kB / 0.5855 GB, free: 26.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/1.853, allocations: 0.6597 MB / 0.5861 GB, free: 26.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/1.857, allocations: 334.5 kB / 0.5865 GB, free: 26.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/1.888, allocations: 7.892 MB / 0.5942 GB, free: 20.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008029/1.896, allocations: 3.148 MB / 0.5972 GB, free: 18.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01141/1.907, allocations: 1.822 MB / 0.599 GB, free: 17.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00512/1.912, allocations: 1.762 MB / 0.6007 GB, free: 15.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.044e-06/1.913, allocations: 0 / 0.6007 GB, free: 15.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5942/2.507, allocations: 59.7 MB / 0.659 GB, free: 88.64 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002916/2.507, allocations: 163.6 kB / 0.6592 GB, free: 88.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.902/8.409, allocations: 3.438 kB / 0.6592 GB, free: 88.45 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat