Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.634/2.634, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.396e-05/5.419e-05, allocations: 1.406 kB / 255.4 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.404/2.518, allocations: 0.7503 GB / 1.043 GB, free: 94.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/2.518, allocations: 72.03 kB / 1.043 GB, free: 94.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2154/2.733, allocations: 61.74 MB / 1.104 GB, free: 39.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/2.733, allocations: 0 / 1.104 GB, free: 39.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/2.734, allocations: 4 kB / 1.104 GB, free: 39.68 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.0009304/2.734, allocations: 474.6 kB / 1.104 GB, free: 39.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/2.735, allocations: 8.031 kB / 1.104 GB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.398e-05/2.735, allocations: 54.55 kB / 1.104 GB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00985/2.744, allocations: 0.6985 MB / 1.105 GB, free: 38.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/2.745, allocations: 286.7 kB / 1.105 GB, free: 38.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/2.745, allocations: 12.33 kB / 1.105 GB, free: 38.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/2.746, allocations: 27.86 kB / 1.105 GB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/2.747, allocations: 0.6528 MB / 1.106 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/2.747, allocations: 0 / 1.106 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/2.747, allocations: 4 kB / 1.106 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/2.748, allocations: 8 kB / 1.106 GB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/2.749, allocations: 0.7183 MB / 1.106 GB, free: 36.64 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.004585/2.754, allocations: 1.218 MB / 1.108 GB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/2.755, allocations: 289.1 kB / 1.108 GB, free: 35.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/2.755, allocations: 185.7 kB / 1.108 GB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008528/2.756, allocations: 254.2 kB / 1.108 GB, free: 34.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/2.756, allocations: 34.56 kB / 1.108 GB, free: 34.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/2.756, allocations: 0 / 1.108 GB, free: 34.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001256/2.758, allocations: 371.4 kB / 1.109 GB, free: 34.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/2.758, allocations: 85.02 kB / 1.109 GB, free: 34.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/2.758, allocations: 121 kB / 1.109 GB, free: 33.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/2.758, allocations: 33.7 kB / 1.109 GB, free: 33.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/2.758, allocations: 115.8 kB / 1.109 GB, free: 33.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/2.758, allocations: 102.5 kB / 1.109 GB, free: 33.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/2.758, allocations: 4 kB / 1.109 GB, free: 33.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.519e-05/2.758, allocations: 322.8 kB / 1.11 GB, free: 33.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/2.759, allocations: 175.7 kB / 1.11 GB, free: 33.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/2.759, allocations: 264.8 kB / 1.11 GB, free: 32.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/2.76, allocations: 195.8 kB / 1.11 GB, free: 32.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/2.76, allocations: 3.953 kB / 1.11 GB, free: 32.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001311/2.761, allocations: 481.6 kB / 1.111 GB, free: 32.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/2.761, allocations: 10.44 kB / 1.111 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/2.761, allocations: 4 kB / 1.111 GB, free: 32.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/2.761, allocations: 8 kB / 1.111 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/2.762, allocations: 80.28 kB / 1.111 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/2.762, allocations: 8 kB / 1.111 GB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/2.763, allocations: 43.67 kB / 1.111 GB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/2.763, allocations: 20.14 kB / 1.111 GB, free: 32.07 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.0002242/2.763, allocations: 128 kB / 1.111 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/2.763, allocations: 19.77 kB / 1.111 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/2.765, allocations: 461.9 kB / 1.111 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/2.765, allocations: 7.938 kB / 1.111 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/2.765, allocations: 0 / 1.111 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/2.765, allocations: 3.984 kB / 1.111 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/2.766, allocations: 0.4978 MB / 1.112 GB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/2.766, allocations: 0 / 1.112 GB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/2.768, allocations: 55.95 kB / 1.112 GB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/2.768, allocations: 8 kB / 1.112 GB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/2.768, allocations: 11.98 kB / 1.112 GB, free: 30.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/2.768, allocations: 0 / 1.112 GB, free: 30.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/2.768, allocations: 3.938 kB / 1.112 GB, free: 30.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/2.77, allocations: 0.6377 MB / 1.113 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/2.77, allocations: 88.95 kB / 1.113 GB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/2.77, allocations: 12 kB / 1.113 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/2.772, allocations: 31.88 kB / 1.113 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/2.772, allocations: 11.98 kB / 1.113 GB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/2.772, allocations: 23.97 kB / 1.113 GB, free: 29.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001118/2.772, allocations: 99.66 kB / 1.113 GB, free: 29.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.772, allocations: 0 / 1.113 GB, free: 29.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001772/2.774, allocations: 199.8 kB / 1.113 GB, free: 29.68 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.005092/2.779, allocations: 1.919 MB / 1.115 GB, free: 27.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/2.781, allocations: 403.7 kB / 1.115 GB, free: 27.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/2.781, allocations: 4 kB / 1.115 GB, free: 27.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007511/2.781, allocations: 186.7 kB / 1.115 GB, free: 27.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/2.783, allocations: 96.61 kB / 1.115 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/2.787, allocations: 0.8883 MB / 1.116 GB, free: 26.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/2.787, allocations: 0.7367 MB / 1.117 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001757/2.789, allocations: 109.4 kB / 1.117 GB, free: 25.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/2.789, allocations: 59.41 kB / 1.117 GB, free: 25.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/2.789, allocations: 0 / 1.117 GB, free: 25.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07027/2.86, allocations: 20.28 MB / 1.137 GB, free: 4.949 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/2.86, allocations: 146.3 kB / 1.137 GB, free: 4.719 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.56/6.42, allocations: 3.938 kB / 1.137 GB, free: 4.715 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat