Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.119e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3308, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.675/1.006, allocations: 267.7 MB / 0.5488 GB, free: 6.348 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.006, allocations: 60.97 kB / 0.5488 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03725/1.043, allocations: 9.25 MB / 0.5579 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-06/1.043, allocations: 0 / 0.5579 GB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/1.043, allocations: 7.938 kB / 0.5579 GB, free: 14.84 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001209/1.045, allocations: 453 kB / 0.5583 GB, free: 14.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.045, allocations: 8.031 kB / 0.5583 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/1.045, allocations: 27.78 kB / 0.5583 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/1.045, allocations: 217.9 kB / 0.5586 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/1.045, allocations: 4 kB / 0.5586 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/1.045, allocations: 15.34 kB / 0.5586 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003615/1.046, allocations: 107.4 kB / 0.5587 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/1.046, allocations: 182.6 kB / 0.5588 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.046, allocations: 4 kB / 0.5589 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/1.046, allocations: 0 / 0.5589 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/1.046, allocations: 4 kB / 0.5589 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/1.048, allocations: 0.9031 MB / 0.5597 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/1.049, allocations: 121.1 kB / 0.5599 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.049, allocations: 41.48 kB / 0.5599 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008279/1.05, allocations: 0.5047 MB / 0.5604 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/1.05, allocations: 38.56 kB / 0.5604 GB, free: 12.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/1.05, allocations: 0 / 0.5604 GB, free: 12.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002911/1.053, allocations: 0.5948 MB / 0.561 GB, free: 11.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/1.053, allocations: 59.34 kB / 0.5611 GB, free: 11.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/1.053, allocations: 136.7 kB / 0.5612 GB, free: 11.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/1.053, allocations: 25.7 kB / 0.5612 GB, free: 11.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/1.053, allocations: 142.8 kB / 0.5613 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.767e-05/1.053, allocations: 70.19 kB / 0.5614 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/1.053, allocations: 3.938 kB / 0.5614 GB, free: 11.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/1.053, allocations: 330.1 kB / 0.5617 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/1.054, allocations: 58.05 kB / 0.5618 GB, free: 10.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/1.054, allocations: 159.2 kB / 0.5619 GB, free: 10.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/1.054, allocations: 84.16 kB / 0.562 GB, free: 10.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.054, allocations: 0 / 0.562 GB, free: 10.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000702/1.055, allocations: 243.8 kB / 0.5623 GB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.055, allocations: 8 kB / 0.5623 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.055, allocations: 4 kB / 0.5623 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.055, allocations: 7.984 kB / 0.5623 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/1.056, allocations: 87.45 kB / 0.5624 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.056, allocations: 7.953 kB / 0.5624 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/1.056, allocations: 15.92 kB / 0.5624 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/1.056, allocations: 19.53 kB / 0.5624 GB, free: 10.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0001512/1.056, allocations: 112.7 kB / 0.5625 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005213/1.057, allocations: 166.1 kB / 0.5627 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/1.057, allocations: 15.81 kB / 0.5627 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/1.058, allocations: 183.8 kB / 0.5629 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.058, allocations: 4 kB / 0.5629 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.058, allocations: 0 / 0.5629 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.058, allocations: 0 / 0.5629 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/1.059, allocations: 0.5146 MB / 0.5634 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.059, allocations: 4 kB / 0.5634 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/1.06, allocations: 59.27 kB / 0.5634 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.06, allocations: 3.953 kB / 0.5634 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/1.06, allocations: 4 kB / 0.5634 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.06, allocations: 4 kB / 0.5634 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.06, allocations: 11.92 kB / 0.5634 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/1.061, allocations: 385.2 kB / 0.5638 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/1.061, allocations: 86.42 kB / 0.5639 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/1.061, allocations: 4 kB / 0.5639 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/1.061, allocations: 15.89 kB / 0.5639 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/1.061, allocations: 21.19 kB / 0.5639 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/1.061, allocations: 13.73 kB / 0.5639 GB, free: 8.734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001105/1.062, allocations: 110.3 kB / 0.5641 GB, free: 8.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.062, allocations: 0 / 0.5641 GB, free: 8.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005997/1.062, allocations: 55.94 kB / 0.5641 GB, free: 8.582 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * 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.00133/1.063, allocations: 1.232 MB / 0.5653 GB, free: 7.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005017/1.064, allocations: 173.4 kB / 0.5655 GB, free: 7.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.064, allocations: 0 / 0.5655 GB, free: 7.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/1.064, allocations: 74.86 kB / 0.5655 GB, free: 7.184 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/1.065, allocations: 29.03 kB / 0.5656 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/1.066, allocations: 322.8 kB / 0.5659 GB, free: 6.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.066, allocations: 0.7201 MB / 0.5666 GB, free: 6.082 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004849/1.067, allocations: 50 kB / 0.5666 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/1.067, allocations: 46.34 kB / 0.5667 GB, free: 6.004 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/1.067, allocations: 0 / 0.5667 GB, free: 6.004 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/1.113, allocations: 3.933 MB / 0.5705 GB, free: 2.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003752/1.113, allocations: 123.3 kB / 0.5706 GB, free: 1.902 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.521, allocations: 0 / 0.5706 GB, free: 1.902 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat