Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.022e-05, allocations: 4 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.436/2.541, allocations: 0.7504 GB / 1.043 GB, free: 92.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/2.542, allocations: 74.95 kB / 1.043 GB, free: 92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2135/2.755, allocations: 61.72 MB / 1.104 GB, free: 37.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/2.755, allocations: 0 / 1.104 GB, free: 37.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/2.755, allocations: 4 kB / 1.104 GB, free: 37.69 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008416/2.756, allocations: 474.6 kB / 1.104 GB, free: 37.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/2.756, allocations: 8.031 kB / 1.104 GB, free: 37.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/2.756, allocations: 54.48 kB / 1.104 GB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009708/2.766, allocations: 0.7024 MB / 1.105 GB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/2.767, allocations: 282.7 kB / 1.105 GB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/2.767, allocations: 20.33 kB / 1.105 GB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/2.767, allocations: 23.86 kB / 1.105 GB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/2.768, allocations: 0.6486 MB / 1.106 GB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/2.768, allocations: 0 / 1.106 GB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/2.769, allocations: 11.94 kB / 1.106 GB, free: 35.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/2.769, allocations: 7.938 kB / 1.106 GB, free: 35.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/2.77, allocations: 0.7145 MB / 1.107 GB, free: 34.65 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/2.775, allocations: 1.222 MB / 1.108 GB, free: 33.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/2.775, allocations: 277.1 kB / 1.108 GB, free: 33.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/2.776, allocations: 189.7 kB / 1.108 GB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/2.777, allocations: 254.1 kB / 1.108 GB, free: 32.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/2.777, allocations: 38.56 kB / 1.108 GB, free: 32.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 4.048e-06/2.777, allocations: 0 / 1.108 GB, free: 32.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001171/2.778, allocations: 368.3 kB / 1.109 GB, free: 32.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/2.778, allocations: 85.11 kB / 1.109 GB, free: 32.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/2.778, allocations: 124.8 kB / 1.109 GB, free: 31.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/2.778, allocations: 29.7 kB / 1.109 GB, free: 31.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/2.778, allocations: 120.4 kB / 1.109 GB, free: 31.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/2.778, allocations: 102 kB / 1.109 GB, free: 31.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/2.778, allocations: 8 kB / 1.109 GB, free: 31.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/2.779, allocations: 322.8 kB / 1.11 GB, free: 31.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/2.779, allocations: 167.7 kB / 1.11 GB, free: 31.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/2.78, allocations: 264.8 kB / 1.11 GB, free: 30.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/2.78, allocations: 187.8 kB / 1.11 GB, free: 30.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/2.78, allocations: 11.95 kB / 1.11 GB, free: 30.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001241/2.781, allocations: 474.3 kB / 1.111 GB, free: 30.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/2.781, allocations: 11.98 kB / 1.111 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.781, allocations: 4.156 kB / 1.111 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/2.781, allocations: 4.406 kB / 1.111 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/2.782, allocations: 79.89 kB / 1.111 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/2.782, allocations: 11.92 kB / 1.111 GB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/2.783, allocations: 43.66 kB / 1.111 GB, free: 30.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/2.783, allocations: 23.98 kB / 1.111 GB, free: 30.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001772/2.783, allocations: 128 kB / 1.111 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/2.784, allocations: 19.77 kB / 1.111 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/2.785, allocations: 454.7 kB / 1.111 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/2.785, allocations: 4 kB / 1.111 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/2.785, allocations: 0 / 1.111 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/2.785, allocations: 4 kB / 1.111 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/2.786, allocations: 0.4939 MB / 1.112 GB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/2.786, allocations: 0 / 1.112 GB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009694/2.787, allocations: 59.89 kB / 1.112 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-06/2.787, allocations: 11.98 kB / 1.112 GB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/2.787, allocations: 8 kB / 1.112 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/2.787, allocations: 0 / 1.112 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/2.787, allocations: 7.984 kB / 1.112 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/2.789, allocations: 0.6299 MB / 1.113 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/2.789, allocations: 96.88 kB / 1.113 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/2.789, allocations: 12 kB / 1.113 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/2.79, allocations: 27.89 kB / 1.113 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/2.79, allocations: 19.97 kB / 1.113 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/2.79, allocations: 15.98 kB / 1.113 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.548e-05/2.79, allocations: 103.2 kB / 1.113 GB, free: 27.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.79, allocations: 0 / 1.113 GB, free: 27.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001225/2.791, allocations: 199.8 kB / 1.113 GB, free: 27.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.003393/2.795, allocations: 1.919 MB / 1.115 GB, free: 25.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/2.796, allocations: 392.3 kB / 1.115 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/2.796, allocations: 4.125 kB / 1.115 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/2.796, allocations: 195.8 kB / 1.115 GB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/2.797, allocations: 83.86 kB / 1.115 GB, free: 25.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/2.8, allocations: 0.8854 MB / 1.116 GB, free: 24.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/2.8, allocations: 0.7367 MB / 1.117 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001224/2.801, allocations: 121.3 kB / 1.117 GB, free: 23.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/2.801, allocations: 63.41 kB / 1.117 GB, free: 23.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/2.801, allocations: 0 / 1.117 GB, free: 23.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05474/2.856, allocations: 20.3 MB / 1.137 GB, free: 2.957 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/2.857, allocations: 136.9 kB / 1.137 GB, free: 2.734 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.594/6.451, allocations: 4 kB / 1.137 GB, free: 2.73 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat