Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.178/2.178, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/4.027e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.498/2.61, allocations: 0.7545 GB / 1.064 GB, free: 76.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/2.611, allocations: 71.34 kB / 1.064 GB, free: 76.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2149/2.826, allocations: 61.8 MB / 1.125 GB, free: 20.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/2.826, allocations: 0 / 1.125 GB, free: 20.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/2.826, allocations: 4 kB / 1.125 GB, free: 20.52 MB / 426.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.0009586/2.827, allocations: 478.5 kB / 1.125 GB, free: 20 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/2.827, allocations: 8.031 kB / 1.125 GB, free: 19.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.161e-05/2.827, allocations: 54.55 kB / 1.125 GB, free: 19.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/2.837, allocations: 0.7058 MB / 1.126 GB, free: 19.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/2.838, allocations: 278.7 kB / 1.126 GB, free: 18.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/2.838, allocations: 16.33 kB / 1.126 GB, free: 18.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/2.838, allocations: 23.91 kB / 1.126 GB, free: 18.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/2.84, allocations: 0.6563 MB / 1.127 GB, free: 18.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/2.84, allocations: 0 / 1.127 GB, free: 18.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/2.84, allocations: 7.953 kB / 1.127 GB, free: 18.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/2.84, allocations: 11.98 kB / 1.127 GB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/2.842, allocations: 0.7106 MB / 1.127 GB, free: 17.47 MB / 426.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.004804/2.847, allocations: 1.222 MB / 1.129 GB, free: 16.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/2.848, allocations: 288.6 kB / 1.129 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/2.848, allocations: 185.8 kB / 1.129 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008827/2.849, allocations: 254.4 kB / 1.129 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/2.849, allocations: 34.56 kB / 1.129 GB, free: 15.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.587e-06/2.849, allocations: 4 kB / 1.129 GB, free: 15.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001272/2.851, allocations: 377.4 kB / 1.13 GB, free: 15.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/2.851, allocations: 81.11 kB / 1.13 GB, free: 14.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/2.851, allocations: 121 kB / 1.13 GB, free: 14.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/2.851, allocations: 29.7 kB / 1.13 GB, free: 14.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/2.851, allocations: 120.2 kB / 1.13 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/2.851, allocations: 86.66 kB / 1.13 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/2.851, allocations: 12 kB / 1.13 GB, free: 14.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/2.851, allocations: 326.8 kB / 1.13 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/2.852, allocations: 160 kB / 1.131 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/2.853, allocations: 272.8 kB / 1.131 GB, free: 13.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/2.854, allocations: 183.2 kB / 1.131 GB, free: 13.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/2.854, allocations: 4 kB / 1.131 GB, free: 13.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001316/2.855, allocations: 481 kB / 1.131 GB, free: 13.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/2.855, allocations: 11.95 kB / 1.132 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/2.855, allocations: 4.078 kB / 1.132 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/2.855, allocations: 4 kB / 1.132 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/2.856, allocations: 88.22 kB / 1.132 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/2.856, allocations: 15.92 kB / 1.132 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/2.857, allocations: 39.75 kB / 1.132 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/2.857, allocations: 20 kB / 1.132 GB, free: 12.89 MB / 426.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.0001967/2.857, allocations: 116.9 kB / 1.132 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/2.858, allocations: 19.8 kB / 1.132 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/2.859, allocations: 461.9 kB / 1.132 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/2.859, allocations: 4 kB / 1.132 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/2.859, allocations: 0 / 1.132 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/2.859, allocations: 4 kB / 1.132 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/2.86, allocations: 497.2 kB / 1.133 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/2.86, allocations: 4 kB / 1.133 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009776/2.861, allocations: 59.89 kB / 1.133 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/2.861, allocations: 11.95 kB / 1.133 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/2.862, allocations: 11.98 kB / 1.133 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/2.862, allocations: 0 / 1.133 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/2.862, allocations: 4 kB / 1.133 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/2.863, allocations: 0.638 MB / 1.133 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/2.863, allocations: 92.86 kB / 1.134 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/2.863, allocations: 11.98 kB / 1.134 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/2.864, allocations: 23.98 kB / 1.134 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/2.864, allocations: 15.97 kB / 1.134 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/2.864, allocations: 19.98 kB / 1.134 GB, free: 10.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.641e-05/2.864, allocations: 103.6 kB / 1.134 GB, free: 10.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.864, allocations: 3.938 kB / 1.134 GB, free: 10.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001315/2.866, allocations: 200 kB / 1.134 GB, free: 10.51 MB / 426.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.003674/2.87, allocations: 1.917 MB / 1.136 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/2.871, allocations: 390.3 kB / 1.136 GB, free: 8.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.871, allocations: 4.25 kB / 1.136 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/2.871, allocations: 191.9 kB / 1.136 GB, free: 7.992 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/2.872, allocations: 79.91 kB / 1.136 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/2.875, allocations: 0.8927 MB / 1.137 GB, free: 6.984 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/2.875, allocations: 0.7406 MB / 1.138 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001311/2.876, allocations: 117.4 kB / 1.138 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/2.877, allocations: 67.39 kB / 1.138 GB, free: 6.035 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/2.877, allocations: 0 / 1.138 GB, free: 6.035 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3526/3.229, allocations: 20.29 MB / 1.158 GB, free: 123.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/3.23, allocations: 147 kB / 1.158 GB, free: 123.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.436/6.665, allocations: 0 / 1.158 GB, free: 123.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat