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.129/2.129, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.904e-05, allocations: 11.98 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3358, allocations: 44.5 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.046/2.382, allocations: 0.7497 GB / 1.037 GB, free: 7.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/2.382, allocations: 72.08 kB / 1.037 GB, free: 7.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4571/2.839, allocations: 60.71 MB / 1.096 GB, free: 124.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/2.839, allocations: 0 / 1.096 GB, free: 124.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/2.839, allocations: 4 kB / 1.096 GB, free: 124.3 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.0008334/2.84, allocations: 466.6 kB / 1.097 GB, free: 123.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/2.84, allocations: 12.03 kB / 1.097 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009349/2.85, allocations: 0.698 MB / 1.098 GB, free: 123.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/2.85, allocations: 286.7 kB / 1.098 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/2.85, allocations: 4 kB / 1.098 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/2.851, allocations: 19.89 kB / 1.098 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001662/2.852, allocations: 0.6375 MB / 1.098 GB, free: 122.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/2.853, allocations: 416.4 kB / 1.099 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/2.853, allocations: 7.953 kB / 1.099 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/2.853, allocations: 0 / 1.099 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/2.853, allocations: 8 kB / 1.099 GB, free: 121.6 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.004574/2.858, allocations: 1.31 MB / 1.1 GB, free: 120.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/2.859, allocations: 337 kB / 1.1 GB, free: 119.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/2.859, allocations: 221.7 kB / 1.101 GB, free: 119.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/2.86, allocations: 254.1 kB / 1.101 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/2.86, allocations: 38.56 kB / 1.101 GB, free: 119.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.477e-06/2.86, allocations: 0 / 1.101 GB, free: 119.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001273/2.861, allocations: 441.7 kB / 1.101 GB, free: 118.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/2.861, allocations: 81.11 kB / 1.101 GB, free: 118.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/2.861, allocations: 124.9 kB / 1.102 GB, free: 118.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/2.862, allocations: 25.7 kB / 1.102 GB, free: 118.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/2.862, allocations: 116.5 kB / 1.102 GB, free: 118.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/2.862, allocations: 102.5 kB / 1.102 GB, free: 118.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/2.862, allocations: 0 / 1.102 GB, free: 118.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/2.862, allocations: 326.8 kB / 1.102 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/2.862, allocations: 199.9 kB / 1.102 GB, free: 117.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/2.863, allocations: 317.1 kB / 1.103 GB, free: 117.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/2.863, allocations: 223.8 kB / 1.103 GB, free: 117.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/2.863, allocations: 0 / 1.103 GB, free: 117.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001342/2.865, allocations: 0.5353 MB / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/2.865, allocations: 8 kB / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/2.865, allocations: 4 kB / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/2.865, allocations: 4 kB / 1.103 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/2.866, allocations: 83.88 kB / 1.103 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/2.866, allocations: 4 kB / 1.103 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/2.867, allocations: 39.66 kB / 1.103 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/2.867, allocations: 24.09 kB / 1.103 GB, free: 116.7 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.000191/2.867, allocations: 112.9 kB / 1.104 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001151/2.868, allocations: 441.3 kB / 1.104 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/2.868, allocations: 27.7 kB / 1.104 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/2.87, allocations: 0.5107 MB / 1.105 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/2.87, allocations: 8 kB / 1.105 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/2.87, allocations: 3.953 kB / 1.105 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/2.87, allocations: 3.984 kB / 1.105 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/2.871, allocations: 0.5034 MB / 1.105 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/2.871, allocations: 0 / 1.105 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/2.872, allocations: 67.89 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/2.872, allocations: 0 / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/2.872, allocations: 11.94 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/2.872, allocations: 4 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/2.872, allocations: 3.984 kB / 1.105 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/2.874, allocations: 0.7308 MB / 1.106 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/2.874, allocations: 92.95 kB / 1.106 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/2.874, allocations: 3.953 kB / 1.106 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/2.875, allocations: 19.97 kB / 1.106 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/2.875, allocations: 23.97 kB / 1.106 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/2.875, allocations: 15.98 kB / 1.106 GB, free: 114 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.767e-05/2.875, allocations: 99.27 kB / 1.106 GB, free: 113.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.875, allocations: 0 / 1.106 GB, free: 113.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00131/2.876, allocations: 191.8 kB / 1.106 GB, free: 113.7 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.003848/2.88, allocations: 2.087 MB / 1.108 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/2.881, allocations: 470.7 kB / 1.109 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/2.882, allocations: 0 / 1.109 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/2.882, allocations: 236.6 kB / 1.109 GB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/2.883, allocations: 91.8 kB / 1.109 GB, free: 110.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/2.885, allocations: 0.8869 MB / 1.11 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/2.886, allocations: 0.7408 MB / 1.111 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00137/2.887, allocations: 126.7 kB / 1.111 GB, free: 109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/2.887, allocations: 59.41 kB / 1.111 GB, free: 109 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/2.887, allocations: 0 / 1.111 GB, free: 109 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/2.949, allocations: 13.69 MB / 1.124 GB, free: 95.26 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/2.95, allocations: 129.5 kB / 1.124 GB, free: 95.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/5.883, allocations: 0 / 1.124 GB, free: 95.06 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