Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.3e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.492/1.597, allocations: 438 MB / 0.7207 GB, free: 103.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.597, allocations: 67.05 kB / 0.7207 GB, free: 103.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08844/1.686, allocations: 24.8 MB / 0.745 GB, free: 83.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.686, allocations: 0 / 0.745 GB, free: 83.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/1.686, allocations: 4 kB / 0.745 GB, free: 83.06 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001153/1.687, allocations: 443.6 kB / 0.7454 GB, free: 82.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.687, allocations: 8.031 kB / 0.7454 GB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/1.687, allocations: 45.86 kB / 0.7454 GB, free: 82.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.697, allocations: 455.5 kB / 0.7459 GB, free: 82.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/1.698, allocations: 171 kB / 0.746 GB, free: 81.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.698, allocations: 0 / 0.746 GB, free: 81.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.698, allocations: 11.44 kB / 0.7461 GB, free: 81.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/1.699, allocations: 263.3 kB / 0.7463 GB, free: 81.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.699, allocations: 0 / 0.7463 GB, free: 81.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/1.699, allocations: 11.45 kB / 0.7463 GB, free: 81.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/1.699, allocations: 7.984 kB / 0.7463 GB, free: 81.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/1.699, allocations: 229.5 kB / 0.7465 GB, free: 81.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/1.701, allocations: 415.2 kB / 0.7469 GB, free: 81.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/1.702, allocations: 190.4 kB / 0.7471 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/1.703, allocations: 58.61 kB / 0.7472 GB, free: 80.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/1.703, allocations: 4 kB / 0.7472 GB, free: 80.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.703, allocations: 42.48 kB / 0.7472 GB, free: 80.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.427e-06/1.703, allocations: 0 / 0.7472 GB, free: 80.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001871/1.705, allocations: 310.3 kB / 0.7475 GB, free: 80.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.705, allocations: 59.36 kB / 0.7476 GB, free: 80.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/1.705, allocations: 92.25 kB / 0.7477 GB, free: 80.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/1.705, allocations: 29.52 kB / 0.7477 GB, free: 80.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/1.705, allocations: 103.9 kB / 0.7478 GB, free: 80.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/1.705, allocations: 54.5 kB / 0.7478 GB, free: 80.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/1.705, allocations: 7.625 kB / 0.7478 GB, free: 80.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/1.705, allocations: 318.5 kB / 0.7482 GB, free: 79.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/1.705, allocations: 57.12 kB / 0.7482 GB, free: 79.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.705, allocations: 99.53 kB / 0.7483 GB, free: 79.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/1.706, allocations: 73.5 kB / 0.7484 GB, free: 79.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.706, allocations: 0 / 0.7484 GB, free: 79.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005694/1.706, allocations: 203.6 kB / 0.7486 GB, free: 79.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.706, allocations: 4 kB / 0.7486 GB, free: 79.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.706, allocations: 0 / 0.7486 GB, free: 79.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.706, allocations: 4 kB / 0.7486 GB, free: 79.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/1.707, allocations: 56.02 kB / 0.7486 GB, free: 79.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.707, allocations: 0 / 0.7486 GB, free: 79.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/1.708, allocations: 19.62 kB / 0.7486 GB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/1.708, allocations: 15.98 kB / 0.7487 GB, free: 79.57 MB / 410.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.0001075/1.708, allocations: 111.8 kB / 0.7488 GB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/1.708, allocations: 7.906 kB / 0.7488 GB, free: 79.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/1.709, allocations: 237.3 kB / 0.749 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.709, allocations: 4 kB / 0.749 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.709, allocations: 0 / 0.749 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.709, allocations: 0 / 0.749 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/1.71, allocations: 0.5318 MB / 0.7495 GB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/1.71, allocations: 11.89 kB / 0.7495 GB, free: 78.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/1.711, allocations: 47.66 kB / 0.7496 GB, free: 78.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.711, allocations: 4 kB / 0.7496 GB, free: 78.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/1.711, allocations: 7.984 kB / 0.7496 GB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.711, allocations: 4.062 kB / 0.7496 GB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.711, allocations: 4 kB / 0.7496 GB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/1.711, allocations: 313.7 kB / 0.7499 GB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/1.711, allocations: 88.95 kB / 0.75 GB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/1.711, allocations: 8 kB / 0.75 GB, free: 78.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/1.712, allocations: 11.92 kB / 0.75 GB, free: 78.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/1.712, allocations: 11.98 kB / 0.75 GB, free: 78.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.712, allocations: 15.8 kB / 0.75 GB, free: 78.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.924e-05/1.712, allocations: 79.28 kB / 0.7501 GB, free: 78.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.712, allocations: 0 / 0.7501 GB, free: 78.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000615/1.713, allocations: 69.73 kB / 0.7502 GB, free: 78.12 MB / 410.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.001563/1.714, allocations: 1.41 MB / 0.7515 GB, free: 76.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000567/1.715, allocations: 155.3 kB / 0.7517 GB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.715, allocations: 0 / 0.7517 GB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/1.715, allocations: 81.73 kB / 0.7518 GB, free: 76.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/1.716, allocations: 36.23 kB / 0.7518 GB, free: 76.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/1.717, allocations: 227.7 kB / 0.752 GB, free: 76.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/1.717, allocations: 0.6974 MB / 0.7527 GB, free: 75.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007025/1.718, allocations: 48.73 kB / 0.7528 GB, free: 75.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/1.718, allocations: 46.64 kB / 0.7528 GB, free: 75.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/1.718, allocations: 3.938 kB / 0.7528 GB, free: 75.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04594/1.764, allocations: 13.31 MB / 0.7658 GB, free: 62.22 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/1.764, allocations: 150.8 kB / 0.7659 GB, free: 61.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/4.842, allocations: 0 / 0.7659 GB, free: 61.98 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat