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.714/1.714, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.945e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 38.78 MB / 263.9 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.24/2.517, allocations: 0.738 GB / 0.9957 GB, free: 49.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/2.517, allocations: 76.52 kB / 0.9958 GB, free: 49.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4545/2.972, allocations: 61.44 MB / 1.056 GB, free: 115.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.972, allocations: 0 / 1.056 GB, free: 115.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/2.972, allocations: 6.125 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.0009189/2.973, allocations: 470.2 kB / 1.056 GB, free: 114.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/2.973, allocations: 11.59 kB / 1.056 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/2.973, allocations: 46.5 kB / 1.056 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009778/2.982, allocations: 0.7045 MB / 1.057 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/2.983, allocations: 277.1 kB / 1.057 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/2.983, allocations: 13.77 kB / 1.057 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/2.983, allocations: 18.25 kB / 1.057 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/2.985, allocations: 0.6599 MB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/2.985, allocations: 3.438 kB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/2.985, allocations: 8.031 kB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/2.985, allocations: 5.562 kB / 1.058 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/2.987, allocations: 0.7161 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.004654/2.992, allocations: 1.236 MB / 1.06 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/2.993, allocations: 283.2 kB / 1.06 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/2.993, allocations: 187.4 kB / 1.06 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008513/2.994, allocations: 249.1 kB / 1.061 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/2.994, allocations: 40.38 kB / 1.061 GB, free: 113.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.426e-06/2.994, allocations: 1.406 kB / 1.061 GB, free: 113.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001245/2.996, allocations: 371.5 kB / 1.061 GB, free: 113.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/2.996, allocations: 81.02 kB / 1.061 GB, free: 113.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/2.996, allocations: 114.6 kB / 1.061 GB, free: 113.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/2.996, allocations: 38.27 kB / 1.061 GB, free: 113.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/2.996, allocations: 185 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/2.996, allocations: 96 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/2.996, allocations: 6.719 kB / 1.061 GB, free: 113.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/2.996, allocations: 323.7 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/2.997, allocations: 167.1 kB / 1.062 GB, free: 112.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/2.997, allocations: 270.2 kB / 1.062 GB, free: 112.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/2.998, allocations: 195.8 kB / 1.062 GB, free: 112.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/2.998, allocations: 0 / 1.062 GB, free: 112.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00131/2.999, allocations: 484.2 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/2.999, allocations: 7.219 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/2.999, allocations: 7.719 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/2.999, allocations: 9.938 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/3, allocations: 79.89 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/3, allocations: 9.797 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/3.001, allocations: 45.08 kB / 1.063 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/3.001, allocations: 23.14 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.0002424/3.001, allocations: 119.5 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/3.002, allocations: 19.3 kB / 1.063 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/3.003, allocations: 448.6 kB / 1.064 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/3.003, allocations: 7.312 kB / 1.064 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/3.003, allocations: 2.438 kB / 1.064 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/3.003, allocations: 3 kB / 1.064 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/3.004, allocations: 0.5041 MB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/3.004, allocations: 0 / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/3.005, allocations: 56.34 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/3.005, allocations: 6.031 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/3.005, allocations: 11.06 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/3.005, allocations: 0 / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/3.006, allocations: 3.969 kB / 1.064 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/3.007, allocations: 0.6384 MB / 1.065 GB, free: 112 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/3.007, allocations: 98.47 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/3.007, allocations: 7.25 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008601/3.008, allocations: 23.83 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/3.008, allocations: 14.44 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/3.008, allocations: 23.23 kB / 1.065 GB, free: 111.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.902e-05/3.008, allocations: 96.86 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.008, allocations: 2 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001322/3.01, allocations: 210.8 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.003648/3.013, allocations: 1.904 MB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/3.015, allocations: 391.7 kB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/3.015, allocations: 3.844 kB / 1.067 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/3.015, allocations: 193.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.001102/3.016, allocations: 85.98 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.002666/3.019, allocations: 0.9232 MB / 1.069 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/3.019, allocations: 0.7425 MB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/3.02, allocations: 67.94 kB / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/3.02, allocations: 0 / 1.069 GB, free: 109.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.807/5.827, allocations: 10.37 MB / 1.079 GB, free: 108.8 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