Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.455/2.455, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.743e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3923, allocations: 44.49 MB / 294.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.469/2.861, allocations: 0.7497 GB / 1.037 GB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/2.861, allocations: 67.78 kB / 1.037 GB, free: 7.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6215/3.483, allocations: 60.72 MB / 1.096 GB, free: 124.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/3.483, allocations: 4 kB / 1.096 GB, free: 124.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/3.483, allocations: 4 kB / 1.096 GB, free: 124.2 MB / 410.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.001004/3.484, allocations: 462.6 kB / 1.097 GB, free: 123.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/3.484, allocations: 8.031 kB / 1.097 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/3.496, allocations: 0.7058 MB / 1.098 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/3.497, allocations: 278.7 kB / 1.098 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/3.497, allocations: 8 kB / 1.098 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/3.497, allocations: 15.89 kB / 1.098 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002087/3.499, allocations: 0.6414 MB / 1.099 GB, free: 122 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/3.5, allocations: 408.4 kB / 1.099 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/3.5, allocations: 7.953 kB / 1.099 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/3.5, allocations: 8 kB / 1.099 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/3.5, allocations: 12 kB / 1.099 GB, free: 121.6 MB / 410.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.005666/3.506, allocations: 1.313 MB / 1.1 GB, free: 120.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/3.507, allocations: 329 kB / 1.101 GB, free: 119.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/3.507, allocations: 221.7 kB / 1.101 GB, free: 119.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009954/3.508, allocations: 250.1 kB / 1.101 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/3.508, allocations: 38.56 kB / 1.101 GB, free: 119.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.607e-06/3.508, allocations: 0 / 1.101 GB, free: 119.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001622/3.51, allocations: 441.6 kB / 1.101 GB, free: 118.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/3.51, allocations: 81.11 kB / 1.102 GB, free: 118.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/3.51, allocations: 121 kB / 1.102 GB, free: 118.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/3.51, allocations: 25.7 kB / 1.102 GB, free: 118.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/3.51, allocations: 112.5 kB / 1.102 GB, free: 118.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/3.511, allocations: 102.5 kB / 1.102 GB, free: 118.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/3.511, allocations: 0 / 1.102 GB, free: 118.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/3.511, allocations: 326.8 kB / 1.102 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/3.511, allocations: 203.9 kB / 1.102 GB, free: 117.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/3.512, allocations: 313.1 kB / 1.103 GB, free: 117.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/3.513, allocations: 239.4 kB / 1.103 GB, free: 117.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/3.513, allocations: 0 / 1.103 GB, free: 117.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001664/3.514, allocations: 0.521 MB / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/3.514, allocations: 12.03 kB / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/3.514, allocations: 0 / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/3.514, allocations: 8 kB / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/3.516, allocations: 87.88 kB / 1.104 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/3.516, allocations: 4 kB / 1.104 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/3.517, allocations: 39.66 kB / 1.104 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/3.517, allocations: 20 kB / 1.104 GB, free: 116.6 MB / 410.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.0002345/3.517, allocations: 116.9 kB / 1.104 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001502/3.519, allocations: 441.3 kB / 1.104 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/3.519, allocations: 23.75 kB / 1.104 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/3.521, allocations: 0.5136 MB / 1.105 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/3.521, allocations: 4 kB / 1.105 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/3.521, allocations: 7.953 kB / 1.105 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/3.521, allocations: 3.984 kB / 1.105 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/3.522, allocations: 0.5 MB / 1.105 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/3.522, allocations: 3.938 kB / 1.105 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/3.524, allocations: 55.95 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/3.524, allocations: 4 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/3.524, allocations: 15.94 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/3.524, allocations: 0 / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/3.524, allocations: 4 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/3.525, allocations: 0.7372 MB / 1.106 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/3.526, allocations: 88.95 kB / 1.106 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/3.526, allocations: 11.95 kB / 1.106 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/3.527, allocations: 19.97 kB / 1.106 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/3.527, allocations: 15.97 kB / 1.106 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/3.527, allocations: 27.98 kB / 1.106 GB, free: 113.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.765e-05/3.527, allocations: 95.27 kB / 1.106 GB, free: 113.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.527, allocations: 0 / 1.106 GB, free: 113.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001386/3.529, allocations: 195.8 kB / 1.106 GB, free: 113.7 MB / 410.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.004342/3.533, allocations: 2.085 MB / 1.108 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/3.534, allocations: 467.8 kB / 1.109 GB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/3.534, allocations: 0 / 1.109 GB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005685/3.535, allocations: 231.8 kB / 1.109 GB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/3.536, allocations: 89.38 kB / 1.109 GB, free: 110.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/3.539, allocations: 0.8908 MB / 1.11 GB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/3.54, allocations: 0.7369 MB / 1.111 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001795/3.541, allocations: 125.9 kB / 1.111 GB, free: 109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/3.542, allocations: 63.41 kB / 1.111 GB, free: 108.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/3.542, allocations: 0 / 1.111 GB, free: 108.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/3.619, allocations: 13.69 MB / 1.124 GB, free: 95.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003192/3.619, allocations: 126 kB / 1.124 GB, free: 95.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.886/7.505, allocations: 0 / 1.124 GB, free: 95.03 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat