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.952/1.952, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.905e-05, allocations: 0 / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.13/2.442, allocations: 0.7497 GB / 1.037 GB, free: 6.668 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/2.442, allocations: 69.78 kB / 1.037 GB, free: 6.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4646/2.907, allocations: 60.72 MB / 1.096 GB, free: 123.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.907, allocations: 0 / 1.096 GB, free: 123.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/2.907, allocations: 0 / 1.096 GB, free: 123.6 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.0008638/2.908, allocations: 478.6 kB / 1.097 GB, free: 123.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/2.908, allocations: 8.031 kB / 1.097 GB, free: 123.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009461/2.917, allocations: 0.698 MB / 1.098 GB, free: 122.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/2.918, allocations: 278.7 kB / 1.098 GB, free: 122.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/2.918, allocations: 12 kB / 1.098 GB, free: 122.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/2.918, allocations: 19.86 kB / 1.098 GB, free: 122.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00168/2.92, allocations: 0.6413 MB / 1.098 GB, free: 121.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/2.921, allocations: 408.5 kB / 1.099 GB, free: 121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/2.921, allocations: 0 / 1.099 GB, free: 121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/2.921, allocations: 3.984 kB / 1.099 GB, free: 121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/2.921, allocations: 8 kB / 1.099 GB, free: 121 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.004531/2.926, allocations: 1.333 MB / 1.1 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/2.926, allocations: 321.1 kB / 1.1 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/2.927, allocations: 221.7 kB / 1.101 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007952/2.928, allocations: 250.2 kB / 1.101 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/2.928, allocations: 38.56 kB / 1.101 GB, free: 118.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.186e-06/2.928, allocations: 0 / 1.101 GB, free: 118.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001296/2.929, allocations: 444.9 kB / 1.101 GB, free: 118.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/2.929, allocations: 85.09 kB / 1.101 GB, free: 118.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/2.929, allocations: 116.9 kB / 1.102 GB, free: 118.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/2.929, allocations: 25.7 kB / 1.102 GB, free: 118 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/2.929, allocations: 186.9 kB / 1.102 GB, free: 117.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/2.929, allocations: 102.5 kB / 1.102 GB, free: 117.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/2.93, allocations: 0 / 1.102 GB, free: 117.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/2.93, allocations: 322.8 kB / 1.102 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/2.93, allocations: 199.9 kB / 1.102 GB, free: 117.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/2.931, allocations: 321 kB / 1.103 GB, free: 116.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/2.931, allocations: 215.9 kB / 1.103 GB, free: 116.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/2.931, allocations: 0 / 1.103 GB, free: 116.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001346/2.932, allocations: 0.5245 MB / 1.103 GB, free: 116.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/2.933, allocations: 8 kB / 1.103 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/2.933, allocations: 4 kB / 1.103 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/2.933, allocations: 4 kB / 1.103 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/2.934, allocations: 92.22 kB / 1.103 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/2.934, allocations: 8 kB / 1.103 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/2.934, allocations: 39.66 kB / 1.104 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/2.935, allocations: 20 kB / 1.104 GB, free: 116 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.0001955/2.935, allocations: 116.8 kB / 1.104 GB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00121/2.936, allocations: 447.8 kB / 1.104 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/2.936, allocations: 15.91 kB / 1.104 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/2.938, allocations: 0.5213 MB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/2.938, allocations: 4 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/2.938, allocations: 0 / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/2.938, allocations: 7.969 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/2.939, allocations: 0.5071 MB / 1.105 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/2.939, allocations: 0 / 1.105 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/2.94, allocations: 71.89 kB / 1.105 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/2.94, allocations: 0 / 1.105 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/2.94, allocations: 7.984 kB / 1.105 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/2.94, allocations: 4 kB / 1.105 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.94, allocations: 0 / 1.105 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/2.942, allocations: 0.7272 MB / 1.106 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/2.942, allocations: 100.9 kB / 1.106 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/2.942, allocations: 0 / 1.106 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/2.943, allocations: 19.97 kB / 1.106 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/2.943, allocations: 15.97 kB / 1.106 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.718e-05/2.943, allocations: 19.98 kB / 1.106 GB, free: 113.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.625e-05/2.943, allocations: 99.27 kB / 1.106 GB, free: 113.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.943, allocations: 0 / 1.106 GB, free: 113.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001152/2.944, allocations: 191.9 kB / 1.106 GB, free: 113 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.003605/2.948, allocations: 2.083 MB / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/2.949, allocations: 474.5 kB / 1.109 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/2.949, allocations: 0 / 1.109 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004734/2.95, allocations: 239.8 kB / 1.109 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/2.951, allocations: 85.36 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/2.953, allocations: 0.9236 MB / 1.11 GB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/2.953, allocations: 0.7369 MB / 1.111 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/2.954, allocations: 75.39 kB / 1.111 GB, free: 108.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/2.954, allocations: 0 / 1.111 GB, free: 108.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.852/5.806, allocations: 10.81 MB / 1.121 GB, free: 97.47 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