Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.733e-05, allocations: 3.234 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.42/2.563, allocations: 0.7324 GB / 1.133 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/2.563, allocations: 70.34 kB / 1.133 GB, free: 85.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.216/2.779, allocations: 63.5 MB / 1.195 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.734e-06/2.779, allocations: 4 kB / 1.195 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.473e-05/2.779, allocations: 4 kB / 1.195 GB, free: 24.59 MB / 0.5261 GB 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.0009359/2.78, allocations: 476.8 kB / 1.196 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/2.78, allocations: 8.031 kB / 1.196 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/2.78, allocations: 54.55 kB / 1.196 GB, free: 24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009914/2.79, allocations: 0.7136 MB / 1.196 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/2.791, allocations: 282.7 kB / 1.197 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/2.791, allocations: 12.33 kB / 1.197 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/2.791, allocations: 23.98 kB / 1.197 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/2.793, allocations: 0.6331 MB / 1.197 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/2.793, allocations: 0 / 1.197 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/2.793, allocations: 7.953 kB / 1.197 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/2.793, allocations: 15.98 kB / 1.197 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/2.795, allocations: 0.6911 MB / 1.198 GB, free: 21.57 MB / 0.5261 GB 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.004304/2.799, allocations: 1.214 MB / 1.199 GB, free: 20.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/2.8, allocations: 277.1 kB / 1.2 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/2.8, allocations: 189.7 kB / 1.2 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/2.802, allocations: 375.1 kB / 1.2 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/2.802, allocations: 42.55 kB / 1.2 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.306e-06/2.802, allocations: 0 / 1.2 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.001151/2.803, allocations: 360.5 kB / 1.2 GB, free: 18.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/2.803, allocations: 85.05 kB / 1.201 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/2.803, allocations: 120.9 kB / 1.201 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/2.803, allocations: 33.7 kB / 1.201 GB, free: 18.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/2.803, allocations: 120.2 kB / 1.201 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/2.803, allocations: 102.8 kB / 1.201 GB, free: 18.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/2.803, allocations: 7.938 kB / 1.201 GB, free: 18.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/2.803, allocations: 322.8 kB / 1.201 GB, free: 18.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/2.804, allocations: 164 kB / 1.201 GB, free: 18.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/2.804, allocations: 264.8 kB / 1.202 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/2.805, allocations: 195.8 kB / 1.202 GB, free: 17.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/2.805, allocations: 0 / 1.202 GB, free: 17.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001234/2.806, allocations: 473.2 kB / 1.202 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/2.806, allocations: 15.55 kB / 1.202 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/2.806, allocations: 4 kB / 1.202 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/2.806, allocations: 11.98 kB / 1.202 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009751/2.807, allocations: 75.89 kB / 1.202 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/2.807, allocations: 7.938 kB / 1.202 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/2.808, allocations: 44.03 kB / 1.202 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/2.808, allocations: 20 kB / 1.202 GB, free: 16.88 MB / 0.5261 GB 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.0001681/2.808, allocations: 120.9 kB / 1.203 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/2.808, allocations: 23.89 kB / 1.203 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/2.81, allocations: 454.1 kB / 1.203 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/2.81, allocations: 8 kB / 1.203 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.81, allocations: 0 / 1.203 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/2.81, allocations: 3.984 kB / 1.203 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/2.811, allocations: 0.4971 MB / 1.203 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.811, allocations: 0 / 1.203 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009446/2.812, allocations: 55.89 kB / 1.204 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/2.812, allocations: 7.953 kB / 1.204 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/2.812, allocations: 15.92 kB / 1.204 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/2.812, allocations: 0 / 1.204 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.812, allocations: 3.938 kB / 1.204 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/2.813, allocations: 0.6382 MB / 1.204 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/2.814, allocations: 92.95 kB / 1.204 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/2.814, allocations: 4 kB / 1.204 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/2.814, allocations: 23.97 kB / 1.204 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/2.815, allocations: 23.92 kB / 1.204 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/2.815, allocations: 15.98 kB / 1.204 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.378e-05/2.815, allocations: 103.6 kB / 1.204 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/2.815, allocations: 0 / 1.204 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001162/2.816, allocations: 211.9 kB / 1.205 GB, free: 14.49 MB / 0.5261 GB 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.003232/2.819, allocations: 1.906 MB / 1.207 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001027/2.82, allocations: 395.7 kB / 1.207 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.82, allocations: 0 / 1.207 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004372/2.821, allocations: 183.9 kB / 1.207 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/2.822, allocations: 88.66 kB / 1.207 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/2.824, allocations: 0.8811 MB / 1.208 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/2.824, allocations: 0.7406 MB / 1.209 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001255/2.825, allocations: 113.4 kB / 1.209 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/2.826, allocations: 67.34 kB / 1.209 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/2.826, allocations: 0 / 1.209 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4012/3.227, allocations: 20.19 MB / 1.229 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/3.227, allocations: 148.8 kB / 1.229 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.491/6.718, allocations: 3.938 kB / 1.229 GB, free: 161.7 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat