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.986/1.986, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.545e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.5791, allocations: 88.01 MB / 388 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5794, allocations: 84.95 kB / 388.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3367/0.9161, allocations: 83.59 MB / 471.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9161, allocations: 3.938 kB / 471.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002433/0.9164, allocations: 83.83 kB / 471.8 MB, free: 10.63 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.01454/0.9309, allocations: 3.796 MB / 475.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.931, allocations: 11.97 kB / 475.6 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002917/0.9339, allocations: 0.7354 MB / 476.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01997/0.9539, allocations: 2.436 MB / 478.7 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/0.9732, allocations: 5.026 MB / 483.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004672/0.9738, allocations: 308.9 kB / 484.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/0.9761, allocations: 408.7 kB / 484.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/1.005, allocations: 9.753 MB / 494.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000243/1.005, allocations: 63.41 kB / 494.3 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/1.006, allocations: 201.8 kB / 494.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002527/1.009, allocations: 0.9861 MB / 495.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/1.033, allocations: 7.359 MB / 0.491 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3562/1.389, allocations: 45.37 MB / 0.5353 GB, free: 60.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/1.4, allocations: 2.683 MB / 0.538 GB, free: 60.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/1.402, allocations: 0.8263 MB / 0.5388 GB, free: 60.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/1.412, allocations: 3.451 MB / 0.5421 GB, free: 58.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/1.412, allocations: 53.84 kB / 0.5422 GB, free: 58.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 5.21e-06/1.412, allocations: 0 / 0.5422 GB, free: 58.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.03247/1.445, allocations: 8.193 MB / 0.5502 GB, free: 56.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.445, allocations: 142.9 kB / 0.5503 GB, free: 55.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007246/1.452, allocations: 3.422 MB / 0.5537 GB, free: 55.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/1.452, allocations: 49.61 kB / 0.5537 GB, free: 55.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.455, allocations: 3.078 MB / 0.5567 GB, free: 53.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000795/1.456, allocations: 0.5854 MB / 0.5573 GB, free: 53.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005516/1.456, allocations: 114.7 kB / 0.5574 GB, free: 53.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003714/1.457, allocations: 0.5422 MB / 0.5579 GB, free: 53.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003453/1.46, allocations: 1.465 MB / 0.5594 GB, free: 53.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005964/1.466, allocations: 5.149 MB / 0.5644 GB, free: 48.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006002/1.472, allocations: 2.757 MB / 0.5671 GB, free: 48.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/1.472, allocations: 43.61 kB / 0.5671 GB, free: 48.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01609/1.488, allocations: 6.018 MB / 0.573 GB, free: 48.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.489, allocations: 61.56 kB / 0.5731 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/1.489, allocations: 131.9 kB / 0.5732 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/1.489, allocations: 198.4 kB / 0.5734 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008205/1.497, allocations: 1.38 MB / 0.5747 GB, free: 48.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002512/1.498, allocations: 258.1 kB / 0.575 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006828/1.504, allocations: 371.1 kB / 0.5753 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/1.506, allocations: 360.9 kB / 0.5757 GB, free: 47.98 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.001041/1.507, allocations: 0.5538 MB / 0.5762 GB, free: 47.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007581/1.507, allocations: 339.4 kB / 0.5765 GB, free: 47.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/1.51, allocations: 1.175 MB / 0.5777 GB, free: 47.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.517e-05/1.51, allocations: 15.38 kB / 0.5777 GB, free: 47.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.51, allocations: 7.438 kB / 0.5777 GB, free: 47.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/1.51, allocations: 15.41 kB / 0.5777 GB, free: 47.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/1.524, allocations: 5.575 MB / 0.5832 GB, free: 46.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/1.524, allocations: 20.91 kB / 0.5832 GB, free: 46.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.526, allocations: 265.8 kB / 0.5834 GB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.621e-05/1.526, allocations: 27.06 kB / 0.5835 GB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.526, allocations: 53.98 kB / 0.5835 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.973e-05/1.526, allocations: 37.19 kB / 0.5836 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-05/1.526, allocations: 25.97 kB / 0.5836 GB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/1.532, allocations: 5.104 MB / 0.5886 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.534, allocations: 0.5183 MB / 0.5891 GB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/1.534, allocations: 49.48 kB / 0.5891 GB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/1.537, allocations: 91.14 kB / 0.5892 GB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.537, allocations: 137.8 kB / 0.5893 GB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.537, allocations: 66.97 kB / 0.5894 GB, free: 41.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005351/1.542, allocations: 2.368 MB / 0.5917 GB, free: 40.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.542, allocations: 3.938 kB / 0.5917 GB, free: 40.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007011/1.55, allocations: 0.8647 MB / 0.5926 GB, free: 40.52 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.006762/1.556, allocations: 10.05 MB / 0.6024 GB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007916/1.564, allocations: 3.278 MB / 0.6056 GB, free: 30.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.167e-05/1.564, allocations: 0 / 0.6056 GB, free: 30.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/1.566, allocations: 0.6699 MB / 0.6062 GB, free: 30.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.569, allocations: 419.1 kB / 0.6066 GB, free: 30.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/1.594, allocations: 8.187 MB / 0.6146 GB, free: 26.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005308/1.6, allocations: 3.159 MB / 0.6177 GB, free: 23.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007228/1.607, allocations: 1.756 MB / 0.6194 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/1.61, allocations: 1.773 MB / 0.6212 GB, free: 21.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.675e-06/1.61, allocations: 0 / 0.6212 GB, free: 21.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4578/2.068, allocations: 64.38 MB / 0.684 GB, free: 97.83 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/2.068, allocations: 171.3 kB / 0.6842 GB, free: 97.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.165/7.234, allocations: 1.219 kB / 0.6842 GB, free: 97.61 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