Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.285e-05, allocations: 0 / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 44.51 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.444/2.569, allocations: 0.7503 GB / 1.043 GB, free: 92.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/2.569, allocations: 72.14 kB / 1.043 GB, free: 92.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2101/2.779, allocations: 61.73 MB / 1.104 GB, free: 38.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/2.78, allocations: 0 / 1.104 GB, free: 38.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/2.78, allocations: 0 / 1.104 GB, free: 38.24 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.0008464/2.78, allocations: 486.5 kB / 1.104 GB, free: 37.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/2.78, allocations: 8.031 kB / 1.104 GB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/2.781, allocations: 50.55 kB / 1.104 GB, free: 37.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009565/2.79, allocations: 0.6985 MB / 1.105 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006569/2.791, allocations: 278.8 kB / 1.105 GB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/2.791, allocations: 16.33 kB / 1.105 GB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/2.791, allocations: 23.86 kB / 1.105 GB, free: 36.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/2.793, allocations: 0.6525 MB / 1.106 GB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/2.793, allocations: 0 / 1.106 GB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/2.793, allocations: 4 kB / 1.106 GB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/2.793, allocations: 11.94 kB / 1.106 GB, free: 35.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/2.795, allocations: 0.7145 MB / 1.106 GB, free: 35.2 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.004302/2.799, allocations: 1.222 MB / 1.108 GB, free: 33.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/2.8, allocations: 289 kB / 1.108 GB, free: 33.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/2.8, allocations: 185.8 kB / 1.108 GB, free: 33.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008054/2.801, allocations: 254.1 kB / 1.108 GB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/2.801, allocations: 34.56 kB / 1.108 GB, free: 33.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.056e-06/2.801, allocations: 0 / 1.108 GB, free: 33.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001182/2.802, allocations: 367.2 kB / 1.109 GB, free: 32.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/2.802, allocations: 81.11 kB / 1.109 GB, free: 32.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/2.803, allocations: 124.9 kB / 1.109 GB, free: 32.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/2.803, allocations: 29.7 kB / 1.109 GB, free: 32.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/2.803, allocations: 182.7 kB / 1.109 GB, free: 32.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/2.803, allocations: 106.7 kB / 1.109 GB, free: 32.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/2.803, allocations: 8 kB / 1.109 GB, free: 32.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/2.803, allocations: 318.8 kB / 1.11 GB, free: 31.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/2.803, allocations: 167.7 kB / 1.11 GB, free: 31.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/2.804, allocations: 268.8 kB / 1.11 GB, free: 31.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/2.804, allocations: 185.9 kB / 1.11 GB, free: 31.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/2.804, allocations: 3.953 kB / 1.11 GB, free: 31.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001287/2.806, allocations: 477.1 kB / 1.111 GB, free: 30.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/2.806, allocations: 7.984 kB / 1.111 GB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/2.806, allocations: 4 kB / 1.111 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/2.806, allocations: 4 kB / 1.111 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/2.807, allocations: 83.83 kB / 1.111 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/2.807, allocations: 8.5 kB / 1.111 GB, free: 30.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/2.808, allocations: 47.66 kB / 1.111 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/2.808, allocations: 23.98 kB / 1.111 GB, free: 30.57 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 (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.0001882/2.808, allocations: 120.9 kB / 1.111 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/2.808, allocations: 19.86 kB / 1.111 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/2.809, allocations: 455.1 kB / 1.111 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/2.809, allocations: 7.938 kB / 1.111 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.809, allocations: 0 / 1.111 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/2.809, allocations: 0 / 1.111 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/2.811, allocations: 0.4977 MB / 1.112 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/2.811, allocations: 4 kB / 1.112 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009498/2.812, allocations: 59.89 kB / 1.112 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/2.812, allocations: 0 / 1.112 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/2.812, allocations: 19.98 kB / 1.112 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/2.812, allocations: 0 / 1.112 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/2.812, allocations: 3.984 kB / 1.112 GB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/2.813, allocations: 0.6376 MB / 1.113 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/2.813, allocations: 100.9 kB / 1.113 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/2.813, allocations: 8 kB / 1.113 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/2.814, allocations: 19.98 kB / 1.113 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/2.814, allocations: 19.97 kB / 1.113 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-05/2.814, allocations: 19.98 kB / 1.113 GB, free: 28.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.051e-05/2.815, allocations: 103.7 kB / 1.113 GB, free: 28.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.815, allocations: 0 / 1.113 GB, free: 28.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001222/2.816, allocations: 203.8 kB / 1.113 GB, free: 28.18 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 (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.003473/2.819, allocations: 1.92 MB / 1.115 GB, free: 26.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/2.82, allocations: 391.6 kB / 1.115 GB, free: 25.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/2.82, allocations: 4.812 kB / 1.115 GB, free: 25.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/2.821, allocations: 195.8 kB / 1.115 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/2.822, allocations: 87.8 kB / 1.116 GB, free: 25.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/2.824, allocations: 0.9143 MB / 1.116 GB, free: 24.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/2.825, allocations: 0.7445 MB / 1.117 GB, free: 23.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/2.825, allocations: 67.39 kB / 1.117 GB, free: 23.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/2.825, allocations: 0 / 1.117 GB, free: 23.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.788/5.614, allocations: 10.37 MB / 1.127 GB, free: 13.38 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat