Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.307e-05/4.331e-05, allocations: 4 kB / 225.1 MB, free: 2.223 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2764, allocations: 38.77 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.613, allocations: 432.3 MB / 0.6798 GB, free: 90.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.613, allocations: 64.41 kB / 0.6798 GB, free: 90.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08561/1.699, allocations: 24.81 MB / 0.7041 GB, free: 69.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.699, allocations: 3.938 kB / 0.7041 GB, free: 69.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/1.699, allocations: 0 / 0.7041 GB, free: 69.39 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001028/1.7, allocations: 437.2 kB / 0.7045 GB, free: 68.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.7, allocations: 12.03 kB / 0.7045 GB, free: 68.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/1.7, allocations: 34.38 kB / 0.7045 GB, free: 68.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/1.71, allocations: 464.7 kB / 0.705 GB, free: 68.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/1.71, allocations: 167 kB / 0.7051 GB, free: 68.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/1.71, allocations: 7.938 kB / 0.7051 GB, free: 68.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.71, allocations: 4 kB / 0.7051 GB, free: 68.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/1.711, allocations: 262.1 kB / 0.7054 GB, free: 68.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/1.711, allocations: 0 / 0.7054 GB, free: 68.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/1.711, allocations: 4 kB / 0.7054 GB, free: 68.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.711, allocations: 4 kB / 0.7054 GB, free: 68.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/1.712, allocations: 236.4 kB / 0.7056 GB, free: 67.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/1.713, allocations: 425.4 kB / 0.706 GB, free: 67.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/1.715, allocations: 199.2 kB / 0.7062 GB, free: 67.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/1.715, allocations: 59.84 kB / 0.7063 GB, free: 67.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/1.715, allocations: 4 kB / 0.7063 GB, free: 67.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.715, allocations: 38.5 kB / 0.7063 GB, free: 67.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.736e-06/1.715, allocations: 0 / 0.7063 GB, free: 67.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001821/1.717, allocations: 311.7 kB / 0.7066 GB, free: 66.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/1.717, allocations: 55.41 kB / 0.7067 GB, free: 66.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/1.717, allocations: 96.42 kB / 0.7068 GB, free: 66.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/1.717, allocations: 29.64 kB / 0.7068 GB, free: 66.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/1.717, allocations: 103.8 kB / 0.7069 GB, free: 66.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/1.717, allocations: 51.08 kB / 0.7069 GB, free: 66.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/1.717, allocations: 4 kB / 0.7069 GB, free: 66.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/1.717, allocations: 322.5 kB / 0.7073 GB, free: 66.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.718, allocations: 62.67 kB / 0.7073 GB, free: 66.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/1.718, allocations: 103.5 kB / 0.7074 GB, free: 66.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/1.718, allocations: 65.91 kB / 0.7075 GB, free: 66.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.718, allocations: 0 / 0.7075 GB, free: 66.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005488/1.719, allocations: 207.3 kB / 0.7077 GB, free: 65.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.719, allocations: 4 kB / 0.7077 GB, free: 65.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.719, allocations: 192 / 0.7077 GB, free: 65.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.719, allocations: 4 kB / 0.7077 GB, free: 65.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/1.719, allocations: 56.02 kB / 0.7077 GB, free: 65.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.719, allocations: 7.984 kB / 0.7077 GB, free: 65.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/1.72, allocations: 15.91 kB / 0.7078 GB, free: 65.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/1.72, allocations: 12 kB / 0.7078 GB, free: 65.89 MB / 362.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 9.922e-05/1.72, allocations: 112.4 kB / 0.7079 GB, free: 65.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/1.72, allocations: 11.91 kB / 0.7079 GB, free: 65.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007988/1.721, allocations: 239.9 kB / 0.7081 GB, free: 65.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.721, allocations: 7.938 kB / 0.7081 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.721, allocations: 0 / 0.7081 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/1.721, allocations: 0 / 0.7081 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/1.722, allocations: 0.5392 MB / 0.7087 GB, free: 65.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.722, allocations: 0 / 0.7087 GB, free: 65.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/1.723, allocations: 47.89 kB / 0.7087 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/1.723, allocations: 0 / 0.7087 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/1.723, allocations: 7.875 kB / 0.7087 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.723, allocations: 7.984 kB / 0.7087 GB, free: 64.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.723, allocations: 8.016 kB / 0.7087 GB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/1.723, allocations: 311.5 kB / 0.709 GB, free: 64.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/1.723, allocations: 88.97 kB / 0.7091 GB, free: 64.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/1.723, allocations: 0 / 0.7091 GB, free: 64.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/1.724, allocations: 23.78 kB / 0.7091 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/1.724, allocations: 11.92 kB / 0.7091 GB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/1.724, allocations: 11.62 kB / 0.7091 GB, free: 64.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.387e-05/1.724, allocations: 83.27 kB / 0.7092 GB, free: 64.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.724, allocations: 0 / 0.7092 GB, free: 64.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005845/1.725, allocations: 75.36 kB / 0.7093 GB, free: 64.42 MB / 362.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.001439/1.726, allocations: 1.399 MB / 0.7107 GB, free: 63.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005062/1.727, allocations: 158.8 kB / 0.7108 GB, free: 62.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.727, allocations: 0 / 0.7108 GB, free: 62.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/1.727, allocations: 82.42 kB / 0.7109 GB, free: 62.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/1.727, allocations: 36.2 kB / 0.7109 GB, free: 62.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.728, allocations: 221.4 kB / 0.7111 GB, free: 62.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/1.729, allocations: 0.6935 MB / 0.7118 GB, free: 61.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006586/1.729, allocations: 56.72 kB / 0.7119 GB, free: 61.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/1.73, allocations: 46.2 kB / 0.7119 GB, free: 61.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/1.73, allocations: 4 kB / 0.7119 GB, free: 61.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/1.77, allocations: 13.3 MB / 0.7249 GB, free: 48.54 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/1.771, allocations: 140.3 kB / 0.725 GB, free: 48.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/4.673, allocations: 7.984 kB / 0.725 GB, free: 48.31 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat