Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.552e-05, allocations: 4 kB / 269.4 MB, free: 6.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 47.57 MB / 317 MB, free: 6.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/1.594, allocations: 442.2 MB / 0.7414 GB, free: 83.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.594, allocations: 64.59 kB / 0.7415 GB, free: 83.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08927/1.683, allocations: 24.86 MB / 0.7657 GB, free: 62.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.683, allocations: 0 / 0.7657 GB, free: 62.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/1.683, allocations: 0 / 0.7657 GB, free: 62.61 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00108/1.684, allocations: 436.9 kB / 0.7662 GB, free: 62.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.684, allocations: 8.031 kB / 0.7662 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/1.685, allocations: 42.5 kB / 0.7662 GB, free: 62.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/1.695, allocations: 461.8 kB / 0.7667 GB, free: 61.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/1.695, allocations: 167 kB / 0.7668 GB, free: 61.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/1.695, allocations: 11.67 kB / 0.7668 GB, free: 61.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/1.695, allocations: 7.906 kB / 0.7668 GB, free: 61.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/1.696, allocations: 261.9 kB / 0.7671 GB, free: 61.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/1.696, allocations: 0 / 0.7671 GB, free: 61.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-05/1.696, allocations: 8 kB / 0.7671 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/1.696, allocations: 4 kB / 0.7671 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/1.697, allocations: 233.7 kB / 0.7673 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/1.698, allocations: 425.1 kB / 0.7677 GB, free: 60.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/1.7, allocations: 194.1 kB / 0.7679 GB, free: 60.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/1.7, allocations: 57.8 kB / 0.768 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/1.7, allocations: 0 / 0.768 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/1.7, allocations: 34.56 kB / 0.768 GB, free: 60.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/1.7, allocations: 0 / 0.768 GB, free: 60.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001844/1.702, allocations: 312 kB / 0.7683 GB, free: 60.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/1.702, allocations: 55.41 kB / 0.7683 GB, free: 60.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/1.702, allocations: 92.75 kB / 0.7684 GB, free: 60.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/1.702, allocations: 29.58 kB / 0.7685 GB, free: 60.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/1.702, allocations: 103.9 kB / 0.7686 GB, free: 59.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/1.702, allocations: 62.53 kB / 0.7686 GB, free: 59.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/1.702, allocations: 7.25 kB / 0.7686 GB, free: 59.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.702, allocations: 318.4 kB / 0.7689 GB, free: 59.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/1.702, allocations: 65.92 kB / 0.769 GB, free: 59.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/1.703, allocations: 94.66 kB / 0.7691 GB, free: 59.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/1.703, allocations: 65.03 kB / 0.7691 GB, free: 59.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.703, allocations: 0 / 0.7691 GB, free: 59.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005821/1.704, allocations: 201.8 kB / 0.7693 GB, free: 59.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.704, allocations: 4 kB / 0.7693 GB, free: 59.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.704, allocations: 0 / 0.7693 GB, free: 59.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.704, allocations: 4 kB / 0.7693 GB, free: 59.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/1.704, allocations: 59.95 kB / 0.7694 GB, free: 59.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.704, allocations: 7.938 kB / 0.7694 GB, free: 59.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.705, allocations: 7.984 kB / 0.7694 GB, free: 59.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/1.705, allocations: 19.3 kB / 0.7694 GB, free: 59.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001021/1.705, allocations: 112.8 kB / 0.7695 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/1.705, allocations: 7.906 kB / 0.7696 GB, free: 58.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008143/1.706, allocations: 239.4 kB / 0.7698 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.706, allocations: 4 kB / 0.7698 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.706, allocations: 0 / 0.7698 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.706, allocations: 0 / 0.7698 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/1.707, allocations: 0.5387 MB / 0.7703 GB, free: 58.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.707, allocations: 0 / 0.7703 GB, free: 58.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/1.708, allocations: 43.95 kB / 0.7704 GB, free: 58.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.708, allocations: 0 / 0.7704 GB, free: 58.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/1.708, allocations: 11.42 kB / 0.7704 GB, free: 58.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.708, allocations: 8.016 kB / 0.7704 GB, free: 58.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.708, allocations: 4 kB / 0.7704 GB, free: 58.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/1.708, allocations: 314 kB / 0.7707 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/1.709, allocations: 81.06 kB / 0.7708 GB, free: 57.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/1.709, allocations: 11.44 kB / 0.7708 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/1.709, allocations: 15.73 kB / 0.7708 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/1.709, allocations: 11.98 kB / 0.7708 GB, free: 57.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/1.709, allocations: 11.98 kB / 0.7708 GB, free: 57.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.367e-05/1.709, allocations: 82.97 kB / 0.7709 GB, free: 57.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.709, allocations: 0 / 0.7709 GB, free: 57.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006066/1.71, allocations: 72.73 kB / 0.7709 GB, free: 57.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001484/1.711, allocations: 1.416 MB / 0.7723 GB, free: 56.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005001/1.712, allocations: 147.9 kB / 0.7725 GB, free: 56.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.712, allocations: 0 / 0.7725 GB, free: 56.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/1.712, allocations: 84.91 kB / 0.7726 GB, free: 56.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/1.713, allocations: 35.34 kB / 0.7726 GB, free: 56.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.714, allocations: 217.2 kB / 0.7728 GB, free: 55.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/1.714, allocations: 0.7013 MB / 0.7735 GB, free: 55.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006793/1.715, allocations: 52.72 kB / 0.7735 GB, free: 55.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/1.715, allocations: 46.09 kB / 0.7736 GB, free: 55.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.715, allocations: 0 / 0.7736 GB, free: 55.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05598/1.771, allocations: 13.33 MB / 0.7866 GB, free: 41.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/1.771, allocations: 147.5 kB / 0.7867 GB, free: 41.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.757, allocations: 0 / 0.7867 GB, free: 41.52 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat