Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.821e-05, allocations: 4 kB / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5425, allocations: 94.85 MB / 411.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.5428, allocations: 85.02 kB / 412 MB, free: 9.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3724/0.9153, allocations: 85.05 MB / 497 MB, free: 10.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.9153, allocations: 0 / 497 MB, free: 10.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000254/0.9156, allocations: 72 kB / 497.1 MB, free: 10.83 MB / 410.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.01513/0.9307, allocations: 3.834 MB / 0.4892 GB, free: 6.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.9308, allocations: 8.031 kB / 0.4892 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003391/0.9342, allocations: 0.7457 MB / 0.4899 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.9548, allocations: 2.436 MB / 0.4923 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/0.9736, allocations: 5.086 MB / 0.4972 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.974, allocations: 308.2 kB / 0.4975 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.9757, allocations: 415.8 kB / 0.4979 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02851/1.004, allocations: 9.885 MB / 0.5076 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/1.004, allocations: 59.41 kB / 0.5076 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.006, allocations: 203.9 kB / 0.5078 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/1.008, allocations: 1.002 MB / 0.5088 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3071/1.315, allocations: 7.454 MB / 0.5161 GB, free: 97.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06225/1.378, allocations: 45.7 MB / 0.5607 GB, free: 67.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.388, allocations: 2.813 MB / 0.5635 GB, free: 66.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/1.39, allocations: 0.8488 MB / 0.5643 GB, free: 66.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00885/1.399, allocations: 3.826 MB / 0.568 GB, free: 65.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.399, allocations: 52.95 kB / 0.5681 GB, free: 65.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.56e-06/1.399, allocations: 0 / 0.5681 GB, free: 65.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=152): time 0.04592/1.445, allocations: 8.449 MB / 0.5763 GB, free: 61.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/1.445, allocations: 140.9 kB / 0.5765 GB, free: 61.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02207/1.467, allocations: 3.455 MB / 0.5799 GB, free: 60.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/1.468, allocations: 46.33 kB / 0.5799 GB, free: 60.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006687/1.474, allocations: 3.102 MB / 0.5829 GB, free: 58.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009623/1.475, allocations: 0.6063 MB / 0.5835 GB, free: 57.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005637/1.476, allocations: 115.4 kB / 0.5836 GB, free: 57.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004609/1.477, allocations: 0.5507 MB / 0.5842 GB, free: 57.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/1.481, allocations: 1.486 MB / 0.5856 GB, free: 56.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007331/1.489, allocations: 5.185 MB / 0.5907 GB, free: 51.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007878/1.497, allocations: 2.787 MB / 0.5934 GB, free: 50.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/1.497, allocations: 35.62 kB / 0.5934 GB, free: 50.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01643/1.513, allocations: 6.076 MB / 0.5994 GB, free: 48.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.513, allocations: 68.25 kB / 0.5994 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.514, allocations: 135.4 kB / 0.5996 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/1.514, allocations: 195.5 kB / 0.5998 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.522, allocations: 1.39 MB / 0.6011 GB, free: 48.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002638/1.522, allocations: 269.6 kB / 0.6014 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007028/1.529, allocations: 370.8 kB / 0.6017 GB, free: 47.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.531, allocations: 365 kB / 0.6021 GB, free: 47.81 MB / 426.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.001102/1.532, allocations: 0.5636 MB / 0.6026 GB, free: 47.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008206/1.532, allocations: 338.5 kB / 0.6029 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/1.535, allocations: 1.215 MB / 0.6041 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.374e-05/1.536, allocations: 14.62 kB / 0.6041 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.536, allocations: 0 / 0.6041 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.536, allocations: 13.25 kB / 0.6042 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/1.55, allocations: 5.73 MB / 0.6098 GB, free: 44.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/1.551, allocations: 22.44 kB / 0.6098 GB, free: 44.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/1.553, allocations: 290.6 kB / 0.61 GB, free: 43.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.933e-05/1.553, allocations: 26.97 kB / 0.6101 GB, free: 43.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.553, allocations: 47.19 kB / 0.6101 GB, free: 43.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.032e-05/1.553, allocations: 35.67 kB / 0.6102 GB, free: 43.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/1.553, allocations: 31.88 kB / 0.6102 GB, free: 43.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/1.558, allocations: 5.348 MB / 0.6154 GB, free: 37.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.56, allocations: 0.5182 MB / 0.6159 GB, free: 37.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006138/1.561, allocations: 54.95 kB / 0.616 GB, free: 37.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.563, allocations: 91.31 kB / 0.6161 GB, free: 37.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.564, allocations: 147.8 kB / 0.6162 GB, free: 37.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.564, allocations: 73.02 kB / 0.6163 GB, free: 37.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00508/1.569, allocations: 2.384 MB / 0.6186 GB, free: 34.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.569, allocations: 0 / 0.6186 GB, free: 34.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006683/1.576, allocations: 0.8822 MB / 0.6195 GB, free: 34.05 MB / 426.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.00666/1.582, allocations: 10.56 MB / 0.6298 GB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007347/1.59, allocations: 3.319 MB / 0.633 GB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2e-05/1.59, allocations: 4 kB / 0.633 GB, free: 20.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.591, allocations: 0.6976 MB / 0.6337 GB, free: 19.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.595, allocations: 416.2 kB / 0.6341 GB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/1.62, allocations: 8.298 MB / 0.6422 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00546/1.626, allocations: 3.192 MB / 0.6453 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008019/1.634, allocations: 1.78 MB / 0.6471 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/1.638, allocations: 1.812 MB / 0.6488 GB, free: 6.383 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/1.638, allocations: 0 / 0.6488 GB, free: 6.383 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4531/2.091, allocations: 65.24 MB / 0.7125 GB, free: 102.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/2.091, allocations: 180 kB / 0.7127 GB, free: 102.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.319/7.41, allocations: 4 kB / 0.7127 GB, free: 102.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat