Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/3.019e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 38.75 MB / 258.3 MB, free: 12.09 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.232/2.513, allocations: 0.7374 GB / 0.9896 GB, free: 71.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.513, allocations: 74.69 kB / 0.9897 GB, free: 71.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2038/2.717, allocations: 60.43 MB / 1.049 GB, free: 16.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/2.717, allocations: 0 / 1.049 GB, free: 16.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/2.717, allocations: 4 kB / 1.049 GB, free: 16.95 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.0008935/2.718, allocations: 470.6 kB / 1.049 GB, free: 16.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/2.718, allocations: 12.03 kB / 1.049 GB, free: 16.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009478/2.727, allocations: 0.7058 MB / 1.05 GB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/2.728, allocations: 274.8 kB / 1.05 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/2.728, allocations: 7.938 kB / 1.05 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/2.728, allocations: 12 kB / 1.05 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/2.73, allocations: 0.6406 MB / 1.051 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/2.731, allocations: 408.5 kB / 1.051 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/2.731, allocations: 4 kB / 1.051 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/2.731, allocations: 0 / 1.051 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/2.731, allocations: 15.95 kB / 1.051 GB, free: 14.32 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.004766/2.736, allocations: 1.319 MB / 1.052 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/2.737, allocations: 329 kB / 1.053 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/2.737, allocations: 231.3 kB / 1.053 GB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008493/2.738, allocations: 250.1 kB / 1.053 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/2.738, allocations: 38.56 kB / 1.053 GB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.556e-06/2.738, allocations: 0 / 1.053 GB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001279/2.739, allocations: 437.5 kB / 1.054 GB, free: 11.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/2.74, allocations: 81.09 kB / 1.054 GB, free: 11.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/2.74, allocations: 117 kB / 1.054 GB, free: 11.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/2.74, allocations: 25.7 kB / 1.054 GB, free: 11.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/2.74, allocations: 186.9 kB / 1.054 GB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/2.74, allocations: 102.5 kB / 1.054 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/2.74, allocations: 3.938 kB / 1.054 GB, free: 11.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/2.74, allocations: 322.8 kB / 1.055 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/2.741, allocations: 199.9 kB / 1.055 GB, free: 10.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008981/2.742, allocations: 301.7 kB / 1.055 GB, free: 10.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009531/2.743, allocations: 226.9 kB / 1.055 GB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/2.743, allocations: 0 / 1.055 GB, free: 10 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003028/2.746, allocations: 0.5209 MB / 1.056 GB, free: 9.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/2.746, allocations: 7.938 kB / 1.056 GB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/2.746, allocations: 7.953 kB / 1.056 GB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-05/2.746, allocations: 8 kB / 1.056 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/2.748, allocations: 87.88 kB / 1.056 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.042e-05/2.748, allocations: 8 kB / 1.056 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/2.75, allocations: 39.66 kB / 1.056 GB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/2.75, allocations: 24.09 kB / 1.056 GB, free: 9.297 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.0003888/2.751, allocations: 112.9 kB / 1.056 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001925/2.753, allocations: 437.5 kB / 1.056 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/2.753, allocations: 15.81 kB / 1.056 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/2.755, allocations: 0.5318 MB / 1.057 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/2.755, allocations: 8 kB / 1.057 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/2.756, allocations: 0 / 1.057 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/2.756, allocations: 7.938 kB / 1.057 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/2.757, allocations: 0.5116 MB / 1.057 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/2.757, allocations: 0 / 1.057 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/2.758, allocations: 63.89 kB / 1.058 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/2.758, allocations: 4 kB / 1.058 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/2.758, allocations: 11.92 kB / 1.058 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/2.758, allocations: 0 / 1.058 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.758, allocations: 3.953 kB / 1.058 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/2.76, allocations: 0.7303 MB / 1.058 GB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/2.76, allocations: 92.86 kB / 1.058 GB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/2.76, allocations: 4 kB / 1.058 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009037/2.761, allocations: 23.92 kB / 1.058 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/2.761, allocations: 19.97 kB / 1.058 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/2.761, allocations: 19.98 kB / 1.058 GB, free: 6.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.617e-05/2.761, allocations: 103.6 kB / 1.059 GB, free: 6.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.761, allocations: 0 / 1.059 GB, free: 6.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001176/2.762, allocations: 183.8 kB / 1.059 GB, free: 6.336 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.003613/2.766, allocations: 2.09 MB / 1.061 GB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/2.767, allocations: 468.2 kB / 1.061 GB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/2.767, allocations: 0 / 1.061 GB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/2.768, allocations: 232.6 kB / 1.061 GB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/2.769, allocations: 87.86 kB / 1.061 GB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/2.771, allocations: 0.912 MB / 1.062 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/2.771, allocations: 0.7447 MB / 1.063 GB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/2.772, allocations: 67.39 kB / 1.063 GB, free: 1.652 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/2.772, allocations: 0 / 1.063 GB, free: 1.652 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.168/5.941, allocations: 10.79 MB / 1.074 GB, free: 113 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat