Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.289/2.289, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.649e-05, allocations: 4 kB / 292.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.5705, allocations: 96.65 MB / 439.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.5708, allocations: 87.38 kB / 439.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.389/0.9598, allocations: 85.95 MB / 0.5135 GB, free: 11.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.9599, allocations: 0 / 0.5135 GB, free: 11.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.9602, allocations: 76 kB / 0.5136 GB, free: 11.45 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.0154/0.9756, allocations: 3.826 MB / 0.5173 GB, free: 7.559 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.618e-05/0.9757, allocations: 12.03 kB / 0.5173 GB, free: 7.547 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003367/0.9791, allocations: 0.7418 MB / 0.5181 GB, free: 6.793 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.9997, allocations: 2.444 MB / 0.5205 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.31/1.31, allocations: 4.774 MB / 0.5251 GB, free: 101.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005646/1.31, allocations: 312.1 kB / 0.5254 GB, free: 101.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/1.313, allocations: 413.8 kB / 0.5258 GB, free: 101.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02966/1.343, allocations: 9.89 MB / 0.5355 GB, free: 98.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002673/1.343, allocations: 65.38 kB / 0.5355 GB, free: 98.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/1.344, allocations: 204.2 kB / 0.5357 GB, free: 98.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002658/1.347, allocations: 1.001 MB / 0.5367 GB, free: 98.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/1.371, allocations: 7.466 MB / 0.544 GB, free: 98.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06012/1.431, allocations: 45.66 MB / 0.5886 GB, free: 66.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.442, allocations: 2.814 MB / 0.5913 GB, free: 65.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/1.444, allocations: 0.8506 MB / 0.5922 GB, free: 64.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009093/1.453, allocations: 3.798 MB / 0.5959 GB, free: 62.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.453, allocations: 48.75 kB / 0.5959 GB, free: 62.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 5.991e-06/1.453, allocations: 0 / 0.5959 GB, free: 62.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=152): time 0.03318/1.486, allocations: 8.332 MB / 0.6041 GB, free: 58.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/1.486, allocations: 143 kB / 0.6042 GB, free: 58.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007592/1.494, allocations: 3.432 MB / 0.6075 GB, free: 57.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000288/1.494, allocations: 45.36 kB / 0.6076 GB, free: 57.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002627/1.497, allocations: 3.09 MB / 0.6106 GB, free: 55.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007823/1.498, allocations: 0.6187 MB / 0.6112 GB, free: 54.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/1.498, allocations: 115.5 kB / 0.6113 GB, free: 54.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003399/1.499, allocations: 0.5492 MB / 0.6119 GB, free: 54.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/1.502, allocations: 1.487 MB / 0.6133 GB, free: 53.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005728/1.508, allocations: 5.177 MB / 0.6184 GB, free: 48.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/1.514, allocations: 2.787 MB / 0.6211 GB, free: 47.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/1.514, allocations: 38.09 kB / 0.6211 GB, free: 47.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.015/1.529, allocations: 6.073 MB / 0.6271 GB, free: 44.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/1.529, allocations: 63.28 kB / 0.6271 GB, free: 44.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.529, allocations: 132.5 kB / 0.6272 GB, free: 44.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/1.53, allocations: 203.5 kB / 0.6274 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008333/1.538, allocations: 1.397 MB / 0.6288 GB, free: 44.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002479/1.538, allocations: 259.1 kB / 0.629 GB, free: 44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006926/1.545, allocations: 379.2 kB / 0.6294 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.546, allocations: 363.4 kB / 0.6298 GB, free: 43.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (736): * Single equations (assignments): 733 * 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.001176/1.548, allocations: 0.5592 MB / 0.6303 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008571/1.548, allocations: 339.7 kB / 0.6306 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/1.552, allocations: 1.212 MB / 0.6318 GB, free: 41.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.71e-05/1.552, allocations: 17.64 kB / 0.6318 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.552, allocations: 11.77 kB / 0.6318 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.552, allocations: 3.562 kB / 0.6318 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/1.566, allocations: 5.72 MB / 0.6374 GB, free: 36.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/1.566, allocations: 16.94 kB / 0.6374 GB, free: 36.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/1.568, allocations: 278.1 kB / 0.6377 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.784e-05/1.568, allocations: 41.02 kB / 0.6377 GB, free: 35.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.569, allocations: 52 kB / 0.6378 GB, free: 35.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.959e-05/1.569, allocations: 35.62 kB / 0.6378 GB, free: 35.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.915e-05/1.569, allocations: 27.88 kB / 0.6379 GB, free: 35.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005583/1.574, allocations: 5.329 MB / 0.6431 GB, free: 30.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.576, allocations: 418.8 kB / 0.6435 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009344/1.577, allocations: 55.23 kB / 0.6435 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.579, allocations: 87.03 kB / 0.6436 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.58, allocations: 154 kB / 0.6437 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.58, allocations: 64 kB / 0.6438 GB, free: 29.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005547/1.585, allocations: 2.365 MB / 0.6461 GB, free: 27.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.104e-06/1.586, allocations: 3.844 kB / 0.6461 GB, free: 27.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006481/1.592, allocations: 0.8822 MB / 0.647 GB, free: 26.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * 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 (144): * Single equations (assignments): 141 * 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.006661/1.599, allocations: 10.56 MB / 0.6573 GB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008311/1.607, allocations: 3.322 MB / 0.6605 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.837e-05/1.607, allocations: 4 kB / 0.6605 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/1.609, allocations: 0.6952 MB / 0.6612 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.612, allocations: 426.5 kB / 0.6616 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02485/1.637, allocations: 8.279 MB / 0.6697 GB, free: 4.109 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006382/1.643, allocations: 3.185 MB / 0.6728 GB, free: 1.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00833/1.652, allocations: 1.772 MB / 0.6745 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008568/1.66, allocations: 2.083 MB / 0.6766 GB, free: 15.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/1.66, allocations: 0 / 0.6766 GB, free: 15.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5336/2.194, allocations: 65.02 MB / 0.7401 GB, free: 97.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/2.194, allocations: 176.3 kB / 0.7402 GB, free: 97.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.053/7.248, allocations: 3.281 kB / 0.7402 GB, free: 97.29 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat