Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.528/2.528, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.876e-05/4.88e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4196, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.479/2.899, allocations: 0.7324 GB / 1.132 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/2.899, allocations: 73.7 kB / 1.132 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2161/3.115, allocations: 63.5 MB / 1.194 GB, free: 126 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/3.115, allocations: 0 / 1.194 GB, free: 126 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.58e-05/3.115, allocations: 4 kB / 1.194 GB, free: 126 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.000925/3.116, allocations: 484.7 kB / 1.194 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/3.116, allocations: 12.03 kB / 1.194 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.368e-05/3.117, allocations: 49.3 kB / 1.194 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0099/3.126, allocations: 0.7206 MB / 1.195 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/3.127, allocations: 277.8 kB / 1.195 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/3.127, allocations: 11.64 kB / 1.195 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/3.128, allocations: 18.88 kB / 1.195 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/3.129, allocations: 0.6462 MB / 1.196 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/3.129, allocations: 0 / 1.196 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/3.13, allocations: 14.77 kB / 1.196 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/3.13, allocations: 7.984 kB / 1.196 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/3.132, allocations: 0.6951 MB / 1.197 GB, free: 123.6 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.004709/3.136, allocations: 1.214 MB / 1.198 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/3.137, allocations: 288.2 kB / 1.198 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/3.138, allocations: 188.1 kB / 1.198 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/3.139, allocations: 364.8 kB / 1.199 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/3.139, allocations: 38.44 kB / 1.199 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.507e-06/3.139, allocations: 0 / 1.199 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.001279/3.14, allocations: 370.4 kB / 1.199 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/3.14, allocations: 81.11 kB / 1.199 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/3.141, allocations: 118.7 kB / 1.199 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/3.141, allocations: 38.2 kB / 1.199 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/3.141, allocations: 187.5 kB / 1.199 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/3.141, allocations: 94.48 kB / 1.2 GB, free: 121 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/3.141, allocations: 4.688 kB / 1.2 GB, free: 121 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/3.141, allocations: 334 kB / 1.2 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/3.141, allocations: 161 kB / 1.2 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/3.142, allocations: 270 kB / 1.2 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/3.142, allocations: 200.7 kB / 1.2 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/3.142, allocations: 0 / 1.2 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00126/3.144, allocations: 471 kB / 1.201 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/3.144, allocations: 16.02 kB / 1.201 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/3.144, allocations: 8 kB / 1.201 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/3.144, allocations: 4 kB / 1.201 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/3.145, allocations: 75.89 kB / 1.201 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/3.145, allocations: 4 kB / 1.201 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/3.146, allocations: 40.53 kB / 1.201 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/3.146, allocations: 18.94 kB / 1.201 GB, free: 119.7 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.0001868/3.146, allocations: 137.1 kB / 1.201 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/3.146, allocations: 11.91 kB / 1.201 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/3.147, allocations: 451.2 kB / 1.202 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/3.147, allocations: 4 kB / 1.202 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/3.147, allocations: 7.922 kB / 1.202 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/3.147, allocations: 3.984 kB / 1.202 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/3.149, allocations: 0.501 MB / 1.202 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/3.149, allocations: 0 / 1.202 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/3.15, allocations: 51.95 kB / 1.202 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/3.15, allocations: 3.953 kB / 1.202 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/3.15, allocations: 15.98 kB / 1.202 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/3.15, allocations: 3.938 kB / 1.202 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/3.15, allocations: 0 / 1.202 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/3.151, allocations: 0.6467 MB / 1.203 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/3.151, allocations: 92.86 kB / 1.203 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/3.151, allocations: 8 kB / 1.203 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/3.152, allocations: 23.97 kB / 1.203 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/3.152, allocations: 15.98 kB / 1.203 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/3.152, allocations: 15.97 kB / 1.203 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001005/3.153, allocations: 103.3 kB / 1.203 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.81e-07/3.153, allocations: 0 / 1.203 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001237/3.154, allocations: 211.9 kB / 1.203 GB, free: 117.4 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.003384/3.157, allocations: 1.89 MB / 1.205 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001074/3.158, allocations: 396.3 kB / 1.206 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/3.158, allocations: 8.25 kB / 1.206 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/3.159, allocations: 183.8 kB / 1.206 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/3.16, allocations: 87.84 kB / 1.206 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/3.162, allocations: 0.9253 MB / 1.207 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/3.163, allocations: 0.7367 MB / 1.207 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/3.163, allocations: 67.39 kB / 1.208 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/3.163, allocations: 0 / 1.208 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.016/6.179, allocations: 10.23 MB / 1.217 GB, free: 102.8 MB / 0.5261 GB