Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.653/2.653, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.784e-05, allocations: 3.938 kB / 330.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4821, allocations: 60.24 MB / 391.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.51/10.99, allocations: 3.339 GB / 3.721 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/10.99, allocations: 74.78 kB / 3.721 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.03/13.02, allocations: 339.7 MB / 4.052 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.745e-06/13.02, allocations: 3.969 kB / 4.052 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001572/13.02, allocations: 38.39 kB / 4.052 GB, free: 72.86 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.01372/13.04, allocations: 2.45 MB / 4.055 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/13.04, allocations: 6.469 kB / 4.055 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001218/13.04, allocations: 243.6 kB / 4.055 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/13.04, allocations: 484.7 kB / 4.056 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/13.05, allocations: 1.225 MB / 4.057 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/13.05, allocations: 121.9 kB / 4.057 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/13.05, allocations: 176.7 kB / 4.057 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/13.07, allocations: 3.87 MB / 4.061 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/13.07, allocations: 7.844 kB / 4.061 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005463/13.07, allocations: 63.53 kB / 4.061 GB, free: 69.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/13.07, allocations: 82.83 kB / 4.061 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/13.08, allocations: 3.833 MB / 4.065 GB, free: 68.04 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.02677/13.11, allocations: 10.27 MB / 4.075 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/13.12, allocations: 2.851 MB / 4.078 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/13.12, allocations: 1.133 MB / 4.079 GB, free: 60 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2691/13.39, allocations: 75.79 MB / 4.153 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.66e-05/13.39, allocations: 56.56 kB / 4.153 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=210): time 5.28e-06/13.39, allocations: 0 / 4.153 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=211): time 0.03428/13.43, allocations: 8.021 MB / 4.161 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/13.43, allocations: 73.41 kB / 4.161 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/13.43, allocations: 0.6724 MB / 4.161 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008235/13.43, allocations: 69.7 kB / 4.161 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/13.43, allocations: 0.5276 MB / 4.162 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/13.43, allocations: 0.724 MB / 4.163 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/13.43, allocations: 43.94 kB / 4.163 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003017/13.43, allocations: 381.9 kB / 4.163 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004318/13.44, allocations: 1.265 MB / 4.164 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004815/13.44, allocations: 1.528 MB / 4.166 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04107/13.48, allocations: 5.405 MB / 4.171 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/13.48, allocations: 0 / 4.171 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.0164/13.5, allocations: 4.525 MB / 4.175 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007907/13.5, allocations: 1.666 MB / 4.177 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/13.5, allocations: 7.984 kB / 4.177 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02595/13.53, allocations: 4.172 MB / 4.181 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/13.53, allocations: 167.8 kB / 4.181 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/13.55, allocations: 5.604 MB / 4.187 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/13.55, allocations: 167.5 kB / 4.187 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009624/13.55, allocations: 151.8 kB / 4.187 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/13.55, allocations: 8 kB / 4.187 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4087/13.96, allocations: 4.38 MB / 4.191 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/13.96, allocations: 3.594 kB / 4.191 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0249/13.99, allocations: 4.199 MB / 4.195 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/13.99, allocations: 170.3 kB / 4.196 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/14.01, allocations: 5.605 MB / 4.201 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/14.01, allocations: 157.7 kB / 4.201 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007752/14.01, allocations: 149 kB / 4.201 GB, free: 103.7 MB / 0.5417 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.cooledFlow.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (cooledFlow.fluidState[6].phase,cooledFlow.fluidState[5].phase,cooledFlow.fluidState[4].phase,cooledFlow.fluidState[3].phase,cooledFlow.fluidState[2].phase,cooledFlow.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 137} Notification: Performance of prepare postOptimizeDAE: time 0.0008376/14.01, allocations: 196.1 kB / 4.202 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006691/14.01, allocations: 149.7 kB / 4.202 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/14.04, allocations: 9.864 MB / 4.211 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001603/14.04, allocations: 99.61 kB / 4.211 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/14.04, allocations: 3.812 kB / 4.211 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-05/14.04, allocations: 18.91 kB / 4.211 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03069/14.07, allocations: 12.52 MB / 4.224 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/14.07, allocations: 3.5 kB / 4.224 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003702/14.07, allocations: 395.6 kB / 4.224 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01749/14.09, allocations: 4.608 MB / 4.229 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009572/14.09, allocations: 141.4 kB / 4.229 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/14.11, allocations: 13.38 MB / 4.242 GB, free: 94.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/14.11, allocations: 5.281 kB / 4.242 GB, free: 94.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02573/14.13, allocations: 10.69 MB / 4.252 GB, free: 91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/14.14, allocations: 0.635 MB / 4.253 GB, free: 90.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/14.14, allocations: 56.61 kB / 4.253 GB, free: 90.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/14.14, allocations: 145 kB / 4.253 GB, free: 90.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/14.14, allocations: 219.6 kB / 4.253 GB, free: 90.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006314/14.14, allocations: 141.5 kB / 4.253 GB, free: 90.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001388/14.14, allocations: 0.625 MB / 4.254 GB, free: 90.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.62e-07/14.14, allocations: 0 / 4.254 GB, free: 90.24 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01085/14.16, allocations: 2.006 MB / 4.256 GB, free: 90.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 10 (cooledFlow.htilde[1],cooledFlow.htilde[2],cooledFlow.htilde[3],cooledFlow.htilde[4],cooledFlow.htilde[5],tubeWalls.Tvol[1],tubeWalls.Tvol[2],tubeWalls.Tvol[3],tubeWalls.Tvol[4],tubeWalls.Tvol[5]) * Number of discrete variables: 37 ($cse1.phase,$cse1.region,$cse2.region3boundary,$cse4.region3boundary,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse11.region3boundary,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse19.region3boundary,$cse24.phase,$cse24.region,$cse25.region3boundary,$cse27.region3boundary,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse35.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {20 96,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03458/14.19, allocations: 11.46 MB / 4.267 GB, free: 85.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02321/14.21, allocations: 6.527 MB / 4.273 GB, free: 83.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/14.21, allocations: 3.844 kB / 4.273 GB, free: 83.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009292/14.22, allocations: 3.408 MB / 4.277 GB, free: 81.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007948/14.23, allocations: 0.8208 MB / 4.278 GB, free: 81.42 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/14.25, allocations: 6.718 MB / 4.284 GB, free: 79.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/14.25, allocations: 1.885 MB / 4.286 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01111/14.27, allocations: 6.27 MB / 4.292 GB, free: 78.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002577/14.27, allocations: 1.067 MB / 4.293 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of SimCode: time 1.833e-06/14.27, allocations: 0 / 4.293 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7021/14.97, allocations: 144.1 MB / 4.434 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/14.97, allocations: 201.9 kB / 4.434 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/23.53, allocations: 0 / 4.434 GB, free: 100.1 MB / 0.5417 GB