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.781/1.781, allocations: 171.2 MB / 183.4 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.592e-05, allocations: 3.984 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.174/2.45, allocations: 0.738 GB / 0.9957 GB, free: 49.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/2.451, allocations: 76.58 kB / 0.9958 GB, free: 49.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4486/2.899, allocations: 61.45 MB / 1.056 GB, free: 115.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/2.899, allocations: 0 / 1.056 GB, free: 115.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/2.899, allocations: 3.438 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.0008597/2.9, allocations: 474.4 kB / 1.056 GB, free: 114.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/2.9, allocations: 8.969 kB / 1.056 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/2.9, allocations: 48.09 kB / 1.056 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009515/2.91, allocations: 0.7055 MB / 1.057 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/2.911, allocations: 275.3 kB / 1.057 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/2.911, allocations: 12.11 kB / 1.057 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/2.911, allocations: 20.03 kB / 1.057 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/2.913, allocations: 0.6591 MB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/2.913, allocations: 3.438 kB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/2.913, allocations: 7.625 kB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/2.913, allocations: 9.75 kB / 1.058 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/2.915, allocations: 0.7113 MB / 1.059 GB, free: 114.4 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.004573/2.919, allocations: 1.233 MB / 1.06 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/2.92, allocations: 288.8 kB / 1.06 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/2.921, allocations: 183.5 kB / 1.06 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008772/2.921, allocations: 254.8 kB / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/2.922, allocations: 39.88 kB / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.316e-06/2.922, allocations: 0 / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001198/2.923, allocations: 365.8 kB / 1.061 GB, free: 113.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/2.923, allocations: 80.73 kB / 1.061 GB, free: 113.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/2.923, allocations: 117.4 kB / 1.061 GB, free: 113.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/2.923, allocations: 37.78 kB / 1.061 GB, free: 113.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/2.923, allocations: 114.7 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/2.923, allocations: 96.73 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/2.923, allocations: 12.62 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/2.923, allocations: 323.7 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/2.924, allocations: 165.7 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/2.924, allocations: 269.7 kB / 1.062 GB, free: 112.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/2.925, allocations: 200.8 kB / 1.062 GB, free: 112.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/2.925, allocations: 0 / 1.062 GB, free: 112.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001302/2.926, allocations: 484.1 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/2.926, allocations: 9.312 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/2.926, allocations: 3.594 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/2.926, allocations: 9.375 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/2.927, allocations: 79.44 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/2.927, allocations: 6.219 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/2.928, allocations: 39.77 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/2.928, allocations: 18.31 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.000196/2.928, allocations: 126.8 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/2.929, allocations: 14.64 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/2.93, allocations: 461.9 kB / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/2.93, allocations: 1.719 kB / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/2.93, allocations: 3.75 kB / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/2.93, allocations: 0 / 1.063 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/2.931, allocations: 0.5063 MB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.931, allocations: 3.562 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009508/2.932, allocations: 59.28 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/2.932, allocations: 0 / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/2.932, allocations: 14.3 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/2.932, allocations: 2.531 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.932, allocations: 0 / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/2.934, allocations: 0.6409 MB / 1.065 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/2.934, allocations: 88.83 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/2.934, allocations: 12.36 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/2.935, allocations: 21.97 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/2.935, allocations: 17.06 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/2.935, allocations: 27.3 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.343e-05/2.935, allocations: 98.41 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.935, allocations: 0 / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001238/2.936, allocations: 205.9 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.00348/2.94, allocations: 1.896 MB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/2.941, allocations: 399 kB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.941, allocations: 3.938 kB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/2.942, allocations: 194.6 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.001077/2.943, allocations: 93.2 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.002419/2.945, allocations: 0.8882 MB / 1.069 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/2.945, allocations: 0.7445 MB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00173/2.947, allocations: 111.2 kB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/2.948, allocations: 59.27 kB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/2.948, allocations: 0 / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05997/3.008, allocations: 20.3 MB / 1.089 GB, free: 103.1 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/3.008, allocations: 140.5 kB / 1.089 GB, free: 102.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/6.497, allocations: 0 / 1.089 GB, free: 102.8 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