Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.861e-05, allocations: 8 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.152/2.426, allocations: 0.7374 GB / 0.9897 GB, free: 71.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/2.427, allocations: 65.22 kB / 0.9897 GB, free: 71.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.221/2.648, allocations: 60.43 MB / 1.049 GB, free: 16.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/2.648, allocations: 0 / 1.049 GB, free: 16.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/2.648, allocations: 0 / 1.049 GB, free: 16.52 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008302/2.649, allocations: 478.5 kB / 1.049 GB, free: 16.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/2.649, allocations: 8.031 kB / 1.049 GB, free: 16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009528/2.658, allocations: 0.7096 MB / 1.05 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/2.659, allocations: 274.8 kB / 1.05 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/2.659, allocations: 8 kB / 1.05 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/2.659, allocations: 11.98 kB / 1.05 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001796/2.661, allocations: 0.6484 MB / 1.051 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/2.662, allocations: 408.5 kB / 1.051 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/2.662, allocations: 0 / 1.051 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/2.662, allocations: 8 kB / 1.051 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/2.662, allocations: 11.95 kB / 1.051 GB, free: 13.88 MB / 362.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.004848/2.667, allocations: 1.323 MB / 1.053 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/2.668, allocations: 321.1 kB / 1.053 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/2.668, allocations: 227.3 kB / 1.053 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/2.669, allocations: 246.1 kB / 1.053 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/2.669, allocations: 42.56 kB / 1.053 GB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.346e-06/2.669, allocations: 0 / 1.053 GB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0013/2.67, allocations: 437.3 kB / 1.054 GB, free: 11.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/2.67, allocations: 81.11 kB / 1.054 GB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/2.671, allocations: 117 kB / 1.054 GB, free: 10.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/2.671, allocations: 25.7 kB / 1.054 GB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/2.671, allocations: 116.5 kB / 1.054 GB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/2.671, allocations: 106.5 kB / 1.054 GB, free: 10.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/2.671, allocations: 0 / 1.054 GB, free: 10.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/2.671, allocations: 326.8 kB / 1.054 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/2.671, allocations: 195.9 kB / 1.055 GB, free: 10.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/2.672, allocations: 300.8 kB / 1.055 GB, free: 9.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/2.672, allocations: 223 kB / 1.055 GB, free: 9.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/2.672, allocations: 4 kB / 1.055 GB, free: 9.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001383/2.674, allocations: 0.5249 MB / 1.056 GB, free: 9.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/2.674, allocations: 8.062 kB / 1.056 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/2.674, allocations: 7.953 kB / 1.056 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/2.674, allocations: 8 kB / 1.056 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/2.675, allocations: 87.81 kB / 1.056 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/2.675, allocations: 8 kB / 1.056 GB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/2.676, allocations: 43.66 kB / 1.056 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/2.676, allocations: 20 kB / 1.056 GB, free: 8.93 MB / 362.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 (41): * Single equations (assignments): 41 * 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.0001864/2.676, allocations: 116.9 kB / 1.056 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001172/2.677, allocations: 437.5 kB / 1.056 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/2.677, allocations: 11.91 kB / 1.056 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/2.679, allocations: 0.5395 MB / 1.057 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/2.679, allocations: 0 / 1.057 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/2.679, allocations: 8 kB / 1.057 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/2.679, allocations: 7.938 kB / 1.057 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/2.68, allocations: 0.5039 MB / 1.057 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/2.68, allocations: 0 / 1.057 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/2.681, allocations: 63.89 kB / 1.057 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/2.681, allocations: 4 kB / 1.057 GB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/2.681, allocations: 7.984 kB / 1.057 GB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/2.681, allocations: 7.875 kB / 1.058 GB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.681, allocations: 3.953 kB / 1.058 GB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/2.683, allocations: 0.7342 MB / 1.058 GB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/2.683, allocations: 92.86 kB / 1.058 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/2.683, allocations: 4 kB / 1.058 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/2.684, allocations: 23.92 kB / 1.058 GB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/2.684, allocations: 15.97 kB / 1.058 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.722e-05/2.684, allocations: 23.98 kB / 1.058 GB, free: 6.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.177e-05/2.684, allocations: 99.27 kB / 1.058 GB, free: 6.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.684, allocations: 0 / 1.058 GB, free: 6.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001219/2.685, allocations: 183.8 kB / 1.059 GB, free: 5.965 MB / 362.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 (28): * Single equations (assignments): 28 * 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.003557/2.689, allocations: 2.087 MB / 1.061 GB, free: 3.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/2.69, allocations: 468.2 kB / 1.061 GB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/2.69, allocations: 0 / 1.061 GB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/2.691, allocations: 231.8 kB / 1.061 GB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/2.692, allocations: 94.14 kB / 1.061 GB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/2.694, allocations: 0.883 MB / 1.062 GB, free: 2.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/2.695, allocations: 0.7485 MB / 1.063 GB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001888/2.697, allocations: 129.9 kB / 1.063 GB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/2.697, allocations: 59.41 kB / 1.063 GB, free: 1.203 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/2.697, allocations: 0 / 1.063 GB, free: 1.203 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3942/3.091, allocations: 13.67 MB / 1.077 GB, free: 113.7 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/3.092, allocations: 128.5 kB / 1.077 GB, free: 113.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/6.083, allocations: 3 kB / 1.077 GB, free: 113.5 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat