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 2.183/2.183, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.843e-05/4.866e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.428/2.534, allocations: 0.7503 GB / 1.043 GB, free: 92.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/2.534, allocations: 67.47 kB / 1.043 GB, free: 92.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2341/2.769, allocations: 61.73 MB / 1.104 GB, free: 38.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/2.769, allocations: 3.938 kB / 1.104 GB, free: 38.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/2.769, allocations: 8 kB / 1.104 GB, free: 38.37 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.0008792/2.77, allocations: 473.8 kB / 1.104 GB, free: 37.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/2.77, allocations: 12.03 kB / 1.104 GB, free: 37.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/2.77, allocations: 50.55 kB / 1.104 GB, free: 37.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/2.779, allocations: 0.7024 MB / 1.105 GB, free: 37.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/2.78, allocations: 274.8 kB / 1.105 GB, free: 36.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/2.78, allocations: 16.27 kB / 1.105 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/2.781, allocations: 27.86 kB / 1.105 GB, free: 36.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/2.782, allocations: 0.6489 MB / 1.106 GB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/2.782, allocations: 0 / 1.106 GB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/2.783, allocations: 8 kB / 1.106 GB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/2.783, allocations: 15.98 kB / 1.106 GB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/2.785, allocations: 0.7222 MB / 1.106 GB, free: 35.33 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.004513/2.789, allocations: 1.214 MB / 1.108 GB, free: 34.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/2.79, allocations: 289.1 kB / 1.108 GB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/2.79, allocations: 185.8 kB / 1.108 GB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008672/2.791, allocations: 250.1 kB / 1.108 GB, free: 33.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/2.791, allocations: 38.56 kB / 1.108 GB, free: 33.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 4.198e-06/2.791, allocations: 0 / 1.108 GB, free: 33.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0013/2.793, allocations: 373.6 kB / 1.109 GB, free: 32.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/2.793, allocations: 81.02 kB / 1.109 GB, free: 32.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/2.793, allocations: 121 kB / 1.109 GB, free: 32.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/2.793, allocations: 33.7 kB / 1.109 GB, free: 32.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/2.793, allocations: 182.7 kB / 1.109 GB, free: 32.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/2.793, allocations: 98.55 kB / 1.109 GB, free: 32.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/2.793, allocations: 4 kB / 1.109 GB, free: 32.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/2.793, allocations: 326.8 kB / 1.11 GB, free: 32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/2.794, allocations: 171.7 kB / 1.11 GB, free: 31.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/2.794, allocations: 260.8 kB / 1.11 GB, free: 31.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/2.795, allocations: 197.9 kB / 1.11 GB, free: 31.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/2.795, allocations: 3.953 kB / 1.11 GB, free: 31.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001345/2.796, allocations: 482.1 kB / 1.111 GB, free: 30.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/2.796, allocations: 8.406 kB / 1.111 GB, free: 30.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/2.796, allocations: 8 kB / 1.111 GB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/2.796, allocations: 7.938 kB / 1.111 GB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009901/2.797, allocations: 79.83 kB / 1.111 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/2.797, allocations: 7.984 kB / 1.111 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/2.798, allocations: 39.67 kB / 1.111 GB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/2.798, allocations: 23.98 kB / 1.111 GB, free: 30.69 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.000206/2.799, allocations: 128.9 kB / 1.111 GB, free: 30.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/2.799, allocations: 15.86 kB / 1.111 GB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/2.8, allocations: 453.6 kB / 1.111 GB, free: 30.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/2.8, allocations: 7.984 kB / 1.111 GB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/2.8, allocations: 3.938 kB / 1.111 GB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/2.8, allocations: 7.938 kB / 1.111 GB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/2.801, allocations: 0.5055 MB / 1.112 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/2.801, allocations: 0 / 1.112 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009991/2.803, allocations: 51.95 kB / 1.112 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/2.803, allocations: 4 kB / 1.112 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/2.803, allocations: 11.98 kB / 1.112 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/2.803, allocations: 4 kB / 1.112 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.803, allocations: 3.938 kB / 1.112 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/2.804, allocations: 0.6416 MB / 1.113 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/2.804, allocations: 88.95 kB / 1.113 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/2.804, allocations: 8 kB / 1.113 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/2.805, allocations: 23.97 kB / 1.113 GB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/2.805, allocations: 15.98 kB / 1.113 GB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/2.805, allocations: 15.98 kB / 1.113 GB, free: 28.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.409e-05/2.805, allocations: 103.6 kB / 1.113 GB, free: 28.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.805, allocations: 4 kB / 1.113 GB, free: 28.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001259/2.807, allocations: 203.8 kB / 1.113 GB, free: 28.3 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.003599/2.81, allocations: 1.914 MB / 1.115 GB, free: 26.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/2.812, allocations: 407.6 kB / 1.115 GB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/2.812, allocations: 3.938 kB / 1.115 GB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/2.812, allocations: 188.7 kB / 1.115 GB, free: 25.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/2.813, allocations: 91.8 kB / 1.116 GB, free: 25.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/2.816, allocations: 0.9173 MB / 1.116 GB, free: 24.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/2.816, allocations: 0.7406 MB / 1.117 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/2.816, allocations: 67.39 kB / 1.117 GB, free: 23.88 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/2.817, allocations: 0 / 1.117 GB, free: 23.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.87/5.686, allocations: 10.33 MB / 1.127 GB, free: 13.52 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