Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.673e-05/4.698e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5978/0.7272, allocations: 88.01 MB / 388 MB, free: 12.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004136/0.7277, allocations: 79.72 kB / 388 MB, free: 12.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3659/1.094, allocations: 83.61 MB / 471.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.094, allocations: 3.938 kB / 471.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002649/1.094, allocations: 83.94 kB / 471.7 MB, free: 10.78 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.01486/1.109, allocations: 3.793 MB / 475.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.109, allocations: 12.03 kB / 475.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003401/1.112, allocations: 0.7387 MB / 476.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/1.133, allocations: 2.436 MB / 478.7 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/1.153, allocations: 5.032 MB / 483.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005467/1.154, allocations: 309.5 kB / 484.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002639/1.157, allocations: 401.8 kB / 484.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03125/1.188, allocations: 9.809 MB / 494.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002576/1.188, allocations: 59.41 kB / 494.3 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00166/1.19, allocations: 204.5 kB / 494.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002816/1.193, allocations: 0.9824 MB / 495.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02507/1.218, allocations: 7.539 MB / 0.4912 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4035/1.621, allocations: 45.37 MB / 0.5355 GB, free: 60.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/1.638, allocations: 2.708 MB / 0.5382 GB, free: 60.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/1.641, allocations: 0.8177 MB / 0.539 GB, free: 60.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/1.657, allocations: 3.457 MB / 0.5424 GB, free: 58.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/1.657, allocations: 46.33 kB / 0.5424 GB, free: 58.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 8.035e-06/1.657, allocations: 0 / 0.5424 GB, free: 58.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.05408/1.711, allocations: 8.198 MB / 0.5504 GB, free: 56.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/1.711, allocations: 146.2 kB / 0.5506 GB, free: 55.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/1.723, allocations: 3.428 MB / 0.5539 GB, free: 55.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003367/1.724, allocations: 47.14 kB / 0.5539 GB, free: 55.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003882/1.728, allocations: 3.08 MB / 0.557 GB, free: 54.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.729, allocations: 0.5799 MB / 0.5575 GB, free: 53.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009961/1.73, allocations: 116 kB / 0.5576 GB, free: 53.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008926/1.731, allocations: 0.5473 MB / 0.5582 GB, free: 53.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006091/1.737, allocations: 1.462 MB / 0.5596 GB, free: 53.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009367/1.747, allocations: 5.183 MB / 0.5647 GB, free: 48.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009172/1.756, allocations: 2.757 MB / 0.5673 GB, free: 48.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002026/1.756, allocations: 41.5 kB / 0.5674 GB, free: 48.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0249/1.781, allocations: 6.389 MB / 0.5736 GB, free: 48.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.781, allocations: 66.03 kB / 0.5737 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003009/1.782, allocations: 130.6 kB / 0.5738 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/1.782, allocations: 195.8 kB / 0.574 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/1.794, allocations: 1.387 MB / 0.5754 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003779/1.794, allocations: 259.8 kB / 0.5756 GB, free: 47.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/1.805, allocations: 369.4 kB / 0.576 GB, free: 47.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/1.807, allocations: 359.3 kB / 0.5763 GB, free: 47.91 MB / 410.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.002348/1.809, allocations: 0.5529 MB / 0.5768 GB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.81, allocations: 332.2 kB / 0.5772 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/1.815, allocations: 1.179 MB / 0.5783 GB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.115e-05/1.815, allocations: 15.78 kB / 0.5783 GB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.815, allocations: 7.594 kB / 0.5783 GB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/1.815, allocations: 15.19 kB / 0.5783 GB, free: 47.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.834, allocations: 5.617 MB / 0.5838 GB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/1.834, allocations: 22.16 kB / 0.5838 GB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/1.836, allocations: 267.3 kB / 0.5841 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.839e-05/1.836, allocations: 28.91 kB / 0.5841 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/1.836, allocations: 49.75 kB / 0.5842 GB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.047e-05/1.836, allocations: 32.06 kB / 0.5842 GB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.979e-05/1.836, allocations: 36.8 kB / 0.5842 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/1.842, allocations: 5.1 MB / 0.5892 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.843, allocations: 0.5206 MB / 0.5897 GB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006906/1.844, allocations: 46.73 kB / 0.5898 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.847, allocations: 84.78 kB / 0.5899 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/1.847, allocations: 145.1 kB / 0.59 GB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.847, allocations: 72.5 kB / 0.5901 GB, free: 41.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005613/1.853, allocations: 2.363 MB / 0.5924 GB, free: 40.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.853, allocations: 0 / 0.5924 GB, free: 40.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006506/1.859, allocations: 0.8683 MB / 0.5932 GB, free: 40.34 MB / 410.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.00669/1.866, allocations: 10.05 MB / 0.603 GB, free: 31.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009459/1.876, allocations: 3.462 MB / 0.6064 GB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.887e-05/1.876, allocations: 3.625 kB / 0.6064 GB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.878, allocations: 0.7017 MB / 0.6071 GB, free: 29.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/1.882, allocations: 414.2 kB / 0.6075 GB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03244/1.915, allocations: 8.204 MB / 0.6155 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00681/1.922, allocations: 3.16 MB / 0.6186 GB, free: 23.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01001/1.932, allocations: 1.764 MB / 0.6203 GB, free: 22.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004711/1.937, allocations: 1.772 MB / 0.6221 GB, free: 20.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/1.937, allocations: 0 / 0.6221 GB, free: 20.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4631/2.4, allocations: 64.89 MB / 0.6854 GB, free: 98.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/2.4, allocations: 174.2 kB / 0.6856 GB, free: 98.53 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.911/7.311, allocations: 2.656 kB / 0.6856 GB, free: 98.53 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat