Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.217e-05/4.227e-05, allocations: 0 / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4172, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.407/2.824, allocations: 0.7642 GB / 1.137 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/2.825, allocations: 72.88 kB / 1.138 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2114/3.036, allocations: 61.91 MB / 1.198 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/3.036, allocations: 4 kB / 1.198 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.452e-05/3.036, allocations: 0 / 1.198 GB, free: 126.9 MB / 0.5105 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.0008378/3.037, allocations: 476.8 kB / 1.198 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/3.037, allocations: 8.031 kB / 1.198 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/3.037, allocations: 61.59 kB / 1.199 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009593/3.047, allocations: 0.7031 MB / 1.199 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/3.047, allocations: 278.5 kB / 1.199 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/3.047, allocations: 15.84 kB / 1.2 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/3.048, allocations: 15.38 kB / 1.2 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/3.049, allocations: 0.6566 MB / 1.2 GB, free: 125 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/3.049, allocations: 0 / 1.2 GB, free: 125 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/3.05, allocations: 3.625 kB / 1.2 GB, free: 125 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/3.05, allocations: 15.94 kB / 1.2 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/3.052, allocations: 0.7105 MB / 1.201 GB, free: 124.5 MB / 0.5105 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.004559/3.056, allocations: 1.218 MB / 1.202 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/3.057, allocations: 286.7 kB / 1.202 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/3.057, allocations: 188.6 kB / 1.203 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008402/3.058, allocations: 257.9 kB / 1.203 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/3.058, allocations: 33.06 kB / 1.203 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.487e-06/3.058, allocations: 4 kB / 1.203 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.001233/3.06, allocations: 373 kB / 1.203 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/3.06, allocations: 81.11 kB / 1.203 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/3.06, allocations: 120.3 kB / 1.203 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/3.06, allocations: 34.45 kB / 1.203 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/3.06, allocations: 117.2 kB / 1.203 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/3.06, allocations: 97.14 kB / 1.204 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/3.06, allocations: 8.812 kB / 1.204 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/3.06, allocations: 331.6 kB / 1.204 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/3.061, allocations: 166 kB / 1.204 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/3.061, allocations: 274.9 kB / 1.204 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/3.062, allocations: 188.4 kB / 1.205 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/3.062, allocations: 4 kB / 1.205 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001285/3.063, allocations: 472.9 kB / 1.205 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/3.063, allocations: 9.031 kB / 1.205 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/3.063, allocations: 4 kB / 1.205 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/3.063, allocations: 8 kB / 1.205 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009778/3.064, allocations: 83.12 kB / 1.205 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/3.064, allocations: 8 kB / 1.205 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/3.065, allocations: 45.47 kB / 1.205 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/3.065, allocations: 19.31 kB / 1.205 GB, free: 120.8 MB / 0.5105 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.0002005/3.065, allocations: 126 kB / 1.205 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/3.065, allocations: 18.77 kB / 1.205 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/3.067, allocations: 445.1 kB / 1.206 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/3.067, allocations: 7.984 kB / 1.206 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/3.067, allocations: 0 / 1.206 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/3.067, allocations: 0 / 1.206 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/3.068, allocations: 0.5126 MB / 1.206 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/3.068, allocations: 0 / 1.206 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009352/3.069, allocations: 59.89 kB / 1.206 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/3.069, allocations: 7.984 kB / 1.206 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/3.069, allocations: 11.98 kB / 1.206 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/3.069, allocations: 4 kB / 1.206 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/3.069, allocations: 4 kB / 1.206 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/3.07, allocations: 0.642 MB / 1.207 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/3.07, allocations: 88.95 kB / 1.207 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/3.071, allocations: 11.98 kB / 1.207 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008269/3.071, allocations: 19.98 kB / 1.207 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/3.071, allocations: 19.97 kB / 1.207 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/3.072, allocations: 15.98 kB / 1.207 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.436e-05/3.072, allocations: 103.3 kB / 1.207 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/3.072, allocations: 3.938 kB / 1.207 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001185/3.073, allocations: 207.8 kB / 1.207 GB, free: 118.5 MB / 0.5105 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.003362/3.076, allocations: 1.894 MB / 1.209 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001081/3.077, allocations: 388.5 kB / 1.21 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/3.077, allocations: 4.062 kB / 1.21 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004385/3.078, allocations: 201.6 kB / 1.21 GB, free: 116 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/3.079, allocations: 91.8 kB / 1.21 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/3.081, allocations: 0.8971 MB / 1.211 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/3.081, allocations: 0.7406 MB / 1.211 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001231/3.083, allocations: 109.4 kB / 1.212 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/3.083, allocations: 55.41 kB / 1.212 GB, free: 114 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/3.083, allocations: 0 / 1.212 GB, free: 114 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/3.135, allocations: 20.23 MB / 1.231 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/3.136, allocations: 139.3 kB / 1.232 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.483/6.618, allocations: 3.938 kB / 1.232 GB, free: 93.62 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat