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.647/1.647, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.719e-05, allocations: 8 kB / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 38.76 MB / 258.3 MB, free: 12.28 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.444, allocations: 431.6 MB / 0.6738 GB, free: 64.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.444, allocations: 63.97 kB / 0.6738 GB, free: 64.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08417/1.528, allocations: 24.31 MB / 0.6976 GB, free: 44.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.528, allocations: 4 kB / 0.6976 GB, free: 44.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/1.528, allocations: 4 kB / 0.6976 GB, free: 44.28 MB / 346.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.529, allocations: 437.5 kB / 0.698 GB, free: 43.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.529, allocations: 8.031 kB / 0.698 GB, free: 43.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009696/1.539, allocations: 464.3 kB / 0.6984 GB, free: 43.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.539, allocations: 166.9 kB / 0.6986 GB, free: 43.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/1.539, allocations: 4 kB / 0.6986 GB, free: 43.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.539, allocations: 4 kB / 0.6986 GB, free: 43.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006863/1.54, allocations: 228.8 kB / 0.6988 GB, free: 43.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/1.54, allocations: 114.4 kB / 0.6989 GB, free: 42.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.54, allocations: 0 / 0.6989 GB, free: 42.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/1.54, allocations: 0 / 0.6989 GB, free: 42.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.54, allocations: 0 / 0.6989 GB, free: 42.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/1.542, allocations: 410.9 kB / 0.6993 GB, free: 42.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/1.543, allocations: 180.6 kB / 0.6995 GB, free: 42.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/1.543, allocations: 66.11 kB / 0.6996 GB, free: 42.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/1.543, allocations: 0 / 0.6996 GB, free: 42.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/1.543, allocations: 34.56 kB / 0.6996 GB, free: 42.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/1.543, allocations: 0 / 0.6996 GB, free: 42.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.00167/1.545, allocations: 287.4 kB / 0.6999 GB, free: 42.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/1.545, allocations: 51.41 kB / 0.6999 GB, free: 42.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/1.545, allocations: 104.7 kB / 0.7 GB, free: 41.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/1.545, allocations: 25.7 kB / 0.7 GB, free: 41.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/1.545, allocations: 87.98 kB / 0.7001 GB, free: 41.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/1.545, allocations: 58.67 kB / 0.7002 GB, free: 41.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/1.545, allocations: 0 / 0.7002 GB, free: 41.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/1.545, allocations: 322 kB / 0.7005 GB, free: 41.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/1.546, allocations: 54.88 kB / 0.7005 GB, free: 41.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/1.546, allocations: 95.2 kB / 0.7006 GB, free: 41.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/1.546, allocations: 58.47 kB / 0.7007 GB, free: 41.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.546, allocations: 4 kB / 0.7007 GB, free: 41.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004753/1.546, allocations: 199.3 kB / 0.7009 GB, free: 41.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.546, allocations: 4 kB / 0.7009 GB, free: 41.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.546, allocations: 0 / 0.7009 GB, free: 41.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.546, allocations: 4 kB / 0.7009 GB, free: 41.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/1.547, allocations: 47.95 kB / 0.7009 GB, free: 41.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/1.547, allocations: 3.938 kB / 0.7009 GB, free: 41.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/1.548, allocations: 16.11 kB / 0.7009 GB, free: 41.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/1.548, allocations: 11.98 kB / 0.701 GB, free: 41.03 MB / 346.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.953e-05/1.548, allocations: 105 kB / 0.7011 GB, free: 40.92 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004495/1.548, allocations: 181.5 kB / 0.7012 GB, free: 40.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/1.548, allocations: 8.094 kB / 0.7012 GB, free: 40.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/1.549, allocations: 220.2 kB / 0.7014 GB, free: 40.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.549, allocations: 7.938 kB / 0.7015 GB, free: 40.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.549, allocations: 0 / 0.7015 GB, free: 40.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.549, allocations: 0 / 0.7015 GB, free: 40.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/1.55, allocations: 0.5069 MB / 0.7019 GB, free: 40.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.55, allocations: 0 / 0.7019 GB, free: 40.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/1.551, allocations: 47.89 kB / 0.702 GB, free: 40.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.551, allocations: 4 kB / 0.702 GB, free: 40.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/1.551, allocations: 7.922 kB / 0.702 GB, free: 40.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.551, allocations: 4 kB / 0.702 GB, free: 40.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.551, allocations: 3.953 kB / 0.702 GB, free: 40.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/1.551, allocations: 297.3 kB / 0.7023 GB, free: 39.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/1.551, allocations: 89 kB / 0.7024 GB, free: 39.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/1.551, allocations: 3.953 kB / 0.7024 GB, free: 39.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/1.552, allocations: 15.98 kB / 0.7024 GB, free: 39.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/1.552, allocations: 19.92 kB / 0.7024 GB, free: 39.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/1.552, allocations: 8 kB / 0.7024 GB, free: 39.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.153e-05/1.552, allocations: 83.25 kB / 0.7025 GB, free: 39.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.552, allocations: 0 / 0.7025 GB, free: 39.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005667/1.553, allocations: 63.11 kB / 0.7026 GB, free: 39.49 MB / 346.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.001408/1.554, allocations: 1.475 MB / 0.704 GB, free: 38.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004259/1.555, allocations: 145.3 kB / 0.7041 GB, free: 37.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.555, allocations: 0 / 0.7041 GB, free: 37.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/1.555, allocations: 79.16 kB / 0.7042 GB, free: 37.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/1.555, allocations: 32.16 kB / 0.7043 GB, free: 37.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/1.556, allocations: 202.8 kB / 0.7044 GB, free: 37.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/1.556, allocations: 0.701 MB / 0.7051 GB, free: 36.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000661/1.557, allocations: 52.73 kB / 0.7052 GB, free: 36.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/1.557, allocations: 43.09 kB / 0.7052 GB, free: 36.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/1.557, allocations: 0 / 0.7052 GB, free: 36.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04512/1.603, allocations: 7.249 MB / 0.7123 GB, free: 29.57 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/1.603, allocations: 126.9 kB / 0.7124 GB, free: 29.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/4.117, allocations: 0 / 0.7124 GB, free: 29.38 MB / 346.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