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.737/1.737, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.634e-05/4.653e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2691, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.149/2.418, allocations: 0.738 GB / 0.9957 GB, free: 48.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/2.418, allocations: 75.62 kB / 0.9958 GB, free: 48.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4724/2.891, allocations: 61.44 MB / 1.056 GB, free: 115.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/2.891, allocations: 0 / 1.056 GB, free: 115.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/2.891, allocations: 3 kB / 1.056 GB, free: 115.2 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.0009065/2.892, allocations: 467.8 kB / 1.056 GB, free: 114.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/2.892, allocations: 12.86 kB / 1.056 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.095e-05/2.892, allocations: 52.31 kB / 1.056 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009901/2.902, allocations: 0.7039 MB / 1.057 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/2.903, allocations: 274.8 kB / 1.057 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/2.903, allocations: 11.45 kB / 1.057 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/2.903, allocations: 21.88 kB / 1.057 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/2.905, allocations: 0.6652 MB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/2.905, allocations: 3.438 kB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/2.905, allocations: 6.328 kB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/2.905, allocations: 7.812 kB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/2.907, allocations: 0.7142 MB / 1.059 GB, free: 114.5 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.004675/2.912, allocations: 1.231 MB / 1.06 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/2.913, allocations: 294.1 kB / 1.06 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/2.913, allocations: 184 kB / 1.06 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008651/2.914, allocations: 251.5 kB / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/2.914, allocations: 33.88 kB / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 4.078e-06/2.914, allocations: 2.344 kB / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001267/2.915, allocations: 371.8 kB / 1.061 GB, free: 113.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/2.915, allocations: 82.39 kB / 1.061 GB, free: 113.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/2.915, allocations: 120.6 kB / 1.061 GB, free: 113.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/2.915, allocations: 28.27 kB / 1.061 GB, free: 113.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/2.916, allocations: 125.2 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/2.916, allocations: 92.03 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/2.916, allocations: 9.625 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/2.916, allocations: 325.4 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/2.916, allocations: 165 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/2.917, allocations: 272 kB / 1.062 GB, free: 112.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/2.917, allocations: 194.1 kB / 1.062 GB, free: 112.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/2.917, allocations: 3.688 kB / 1.062 GB, free: 112.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001351/2.919, allocations: 496.9 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/2.919, allocations: 6.156 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/2.919, allocations: 7.594 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/2.919, allocations: 13.75 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/2.92, allocations: 79.2 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/2.92, allocations: 12.83 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/2.921, allocations: 36.17 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/2.921, allocations: 22.95 kB / 1.063 GB, free: 112.7 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 (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.000205/2.921, allocations: 127.4 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/2.921, allocations: 15.14 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/2.923, allocations: 445 kB / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/2.923, allocations: 5.719 kB / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/2.923, allocations: 3.938 kB / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/2.923, allocations: 3.891 kB / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/2.924, allocations: 0.5001 MB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/2.924, allocations: 3.344 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/2.925, allocations: 60.09 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/2.925, allocations: 2.625 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/2.925, allocations: 16.53 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/2.925, allocations: 0 / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.925, allocations: 0 / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/2.927, allocations: 0.6387 MB / 1.065 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/2.927, allocations: 95.53 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/2.927, allocations: 7.531 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/2.928, allocations: 26.03 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/2.928, allocations: 13.25 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/2.928, allocations: 16.16 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.245e-05/2.928, allocations: 107.4 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.928, allocations: 0 / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001239/2.929, allocations: 207.6 kB / 1.065 GB, free: 111.8 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 (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.003836/2.933, allocations: 1.902 MB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/2.934, allocations: 408.3 kB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/2.934, allocations: 1.594 kB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/2.935, allocations: 189.5 kB / 1.068 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/2.936, allocations: 87.41 kB / 1.068 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/2.939, allocations: 0.8951 MB / 1.069 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/2.939, allocations: 0.7391 MB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001298/2.94, allocations: 109.8 kB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/2.941, allocations: 61.33 kB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.813e-06/2.941, allocations: 0 / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05395/2.995, allocations: 20.29 MB / 1.089 GB, free: 102.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/2.995, allocations: 141.7 kB / 1.089 GB, free: 102.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/6.424, allocations: 0 / 1.089 GB, free: 102.6 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