Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.201/1.201, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.227e-05, allocations: 0 / 151.5 MB, free: 15.49 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1732, allocations: 25.15 MB / 176.6 MB, free: 15.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.873/2.046, allocations: 0.6649 GB / 0.8374 GB, free: 28.84 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/2.047, allocations: 62.66 kB / 0.8375 GB, free: 28.81 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3749/2.422, allocations: 57.8 MB / 0.8939 GB, free: 64.88 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.422, allocations: 0 / 0.8939 GB, free: 64.88 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.978e-06/2.422, allocations: 3.875 kB / 0.894 GB, free: 64.88 MB / 234.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.0008552/2.422, allocations: 475.8 kB / 0.8944 GB, free: 64.45 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/2.423, allocations: 10.31 kB / 0.8944 GB, free: 64.45 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/2.423, allocations: 45.89 kB / 0.8945 GB, free: 64.4 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/2.423, allocations: 28.36 kB / 0.8945 GB, free: 64.39 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/2.423, allocations: 218.1 kB / 0.8947 GB, free: 64.16 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/2.423, allocations: 11.05 kB / 0.8947 GB, free: 64.16 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/2.423, allocations: 24.44 kB / 0.8947 GB, free: 64.15 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/2.424, allocations: 341.7 kB / 0.8951 GB, free: 64.01 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/2.424, allocations: 0 / 0.8951 GB, free: 64.01 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/2.424, allocations: 10.44 kB / 0.8951 GB, free: 64 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/2.424, allocations: 12.95 kB / 0.8951 GB, free: 64 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/2.424, allocations: 438.3 kB / 0.8955 GB, free: 63.88 MB / 234.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.00256/2.427, allocations: 1.181 MB / 0.8966 GB, free: 62.8 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/2.428, allocations: 205 kB / 0.8968 GB, free: 62.59 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/2.428, allocations: 141.7 kB / 0.897 GB, free: 62.44 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/2.43, allocations: 1.062 MB / 0.898 GB, free: 61.18 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/2.43, allocations: 38.72 kB / 0.8981 GB, free: 61.13 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 3.466e-06/2.43, allocations: 0 / 0.8981 GB, free: 61.13 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007885/2.43, allocations: 296.3 kB / 0.8983 GB, free: 60.84 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/2.43, allocations: 81.11 kB / 0.8984 GB, free: 60.74 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/2.431, allocations: 133.8 kB / 0.8985 GB, free: 60.61 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/2.431, allocations: 29.64 kB / 0.8986 GB, free: 60.57 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/2.431, allocations: 178.9 kB / 0.8987 GB, free: 60.39 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/2.431, allocations: 110.3 kB / 0.8988 GB, free: 60.29 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/2.431, allocations: 8 kB / 0.8989 GB, free: 60.28 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/2.431, allocations: 322.8 kB / 0.8992 GB, free: 59.95 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/2.431, allocations: 99.97 kB / 0.8993 GB, free: 59.86 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/2.431, allocations: 209.6 kB / 0.8995 GB, free: 59.61 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/2.432, allocations: 139.8 kB / 0.8996 GB, free: 59.47 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/2.432, allocations: 0 / 0.8996 GB, free: 59.47 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008315/2.433, allocations: 393.9 kB / 0.9 GB, free: 59.08 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/2.433, allocations: 4 kB / 0.9 GB, free: 59.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/2.433, allocations: 4 kB / 0.9 GB, free: 59.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/2.433, allocations: 8 kB / 0.9 GB, free: 59.06 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/2.433, allocations: 71.91 kB / 0.9 GB, free: 58.99 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/2.433, allocations: 12.34 kB / 0.9001 GB, free: 58.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/2.433, allocations: 39.69 kB / 0.9001 GB, free: 58.94 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/2.434, allocations: 27.98 kB / 0.9001 GB, free: 58.91 MB / 234.7 MB Warning: Assuming fixed start value for the following 8 variables: state.T:VARIABLE(min = 1.0 max = 10000.0 start = 200.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real state.p:VARIABLE(min = 0.0 max = 100000000.0 start = 100000.0 unit = "Pa" nominal = 1000000.0 ) "Absolute pressure of medium" type: Real medium2.X[4]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.4 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[3]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.3 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.1 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real 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): 37 * Array equations: 1 * 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.0003228/2.434, allocations: 192.8 kB / 0.9003 GB, free: 58.73 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/2.434, allocations: 15.81 kB / 0.9003 GB, free: 58.71 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/2.435, allocations: 390 kB / 0.9007 GB, free: 58.33 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/2.435, allocations: 4 kB / 0.9007 GB, free: 58.33 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/2.435, allocations: 0 / 0.9007 GB, free: 58.33 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/2.435, allocations: 3.984 kB / 0.9007 GB, free: 58.32 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/2.436, allocations: 338.5 kB / 0.901 GB, free: 57.95 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/2.436, allocations: 0 / 0.901 GB, free: 57.95 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/2.437, allocations: 47.91 kB / 0.9011 GB, free: 57.9 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/2.437, allocations: 8 kB / 0.9011 GB, free: 57.89 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/2.437, allocations: 13.94 kB / 0.9011 GB, free: 57.88 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/2.437, allocations: 4 kB / 0.9011 GB, free: 57.88 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.437, allocations: 0 / 0.9011 GB, free: 57.88 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/2.438, allocations: 0.5495 MB / 0.9016 GB, free: 57.31 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/2.438, allocations: 132.8 kB / 0.9018 GB, free: 57.16 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/2.438, allocations: 15.98 kB / 0.9018 GB, free: 57.14 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/2.438, allocations: 15.94 kB / 0.9018 GB, free: 57.13 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/2.438, allocations: 23.97 kB / 0.9018 GB, free: 57.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/2.438, allocations: 19.98 kB / 0.9018 GB, free: 57.09 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.425e-05/2.438, allocations: 103.2 kB / 0.9019 GB, free: 56.98 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.438, allocations: 0 / 0.9019 GB, free: 56.98 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001225/2.44, allocations: 211.9 kB / 0.9021 GB, free: 56.78 MB / 234.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): 24 * Array equations: 1 * 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.002974/2.443, allocations: 1.907 MB / 0.904 GB, free: 54.95 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007116/2.443, allocations: 326.3 kB / 0.9043 GB, free: 54.63 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/2.443, allocations: 0 / 0.9043 GB, free: 54.63 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/2.444, allocations: 156 kB / 0.9045 GB, free: 54.48 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/2.445, allocations: 87.86 kB / 0.9045 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/2.447, allocations: 0.9038 MB / 0.9054 GB, free: 53.45 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/2.447, allocations: 0.7486 MB / 0.9061 GB, free: 52.67 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/2.447, allocations: 67.41 kB / 0.9062 GB, free: 52.61 MB / 234.7 MB Notification: Performance of SimCode: time 3.206e-06/2.447, allocations: 0 / 0.9062 GB, free: 52.61 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.716/5.163, allocations: 9.891 MB / 0.9159 GB, free: 42.73 MB / 234.7 MB