Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed") Notification: Performance of loadModel(ThermoPower): time 2.135/2.135, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.406e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 60.24 MB / 391 MB, free: 4.895 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.109/8.432, allocations: 3.339 GB / 3.721 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/8.432, allocations: 76.97 kB / 3.721 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.375/9.807, allocations: 339.7 MB / 4.052 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.126e-06/9.807, allocations: 0 / 4.052 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001484/9.807, allocations: 39.91 kB / 4.052 GB, free: 43.75 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.01603/9.823, allocations: 2.442 MB / 4.055 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/9.823, allocations: 8.031 kB / 4.055 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008409/9.832, allocations: 475 kB / 4.055 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/9.839, allocations: 1.226 MB / 4.056 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/9.839, allocations: 119.1 kB / 4.057 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000983/9.84, allocations: 175.8 kB / 4.057 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/9.86, allocations: 3.87 MB / 4.061 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.692e-05/9.86, allocations: 3.938 kB / 4.061 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004709/9.861, allocations: 67.91 kB / 4.061 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/9.861, allocations: 87.06 kB / 4.061 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/9.882, allocations: 3.831 MB / 4.064 GB, free: 31.33 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.03282/9.915, allocations: 10.26 MB / 4.074 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/9.931, allocations: 2.866 MB / 4.077 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004518/9.935, allocations: 1.131 MB / 4.078 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4951/10.43, allocations: 75.77 MB / 4.152 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/10.43, allocations: 57.75 kB / 4.152 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=210): time 5.728e-06/10.43, allocations: 0 / 4.152 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=211): time 0.02705/10.46, allocations: 8.027 MB / 4.16 GB, free: 55.44 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/10.46, allocations: 75.38 kB / 4.16 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/10.46, allocations: 0.6723 MB / 4.161 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004921/10.46, allocations: 63.98 kB / 4.161 GB, free: 55.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/10.46, allocations: 0.5321 MB / 4.162 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009523/10.46, allocations: 0.7193 MB / 4.162 GB, free: 54.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/10.46, allocations: 37.31 kB / 4.162 GB, free: 54.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001737/10.46, allocations: 384.7 kB / 4.163 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/10.46, allocations: 1.265 MB / 4.164 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/10.47, allocations: 1.526 MB / 4.165 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0286/10.5, allocations: 5.406 MB / 4.171 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.135e-06/10.5, allocations: 5.812 kB / 4.171 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01205/10.51, allocations: 4.521 MB / 4.175 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003676/10.51, allocations: 1.672 MB / 4.177 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/10.51, allocations: 3.844 kB / 4.177 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02056/10.53, allocations: 4.181 MB / 4.181 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/10.53, allocations: 174.1 kB / 4.181 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/10.54, allocations: 5.594 MB / 4.186 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/10.55, allocations: 163.9 kB / 4.187 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006305/10.55, allocations: 151.3 kB / 4.187 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/10.55, allocations: 7.938 kB / 4.187 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01141/10.56, allocations: 4.387 MB / 4.191 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/10.56, allocations: 7.938 kB / 4.191 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01999/10.58, allocations: 4.207 MB / 4.195 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/10.58, allocations: 166.9 kB / 4.195 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/10.59, allocations: 5.602 MB / 4.201 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/10.6, allocations: 155.4 kB / 4.201 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007048/10.6, allocations: 151.1 kB / 4.201 GB, free: 50.25 MB / 0.5261 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.0007892/10.6, allocations: 197.4 kB / 4.201 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/10.6, allocations: 142.4 kB / 4.201 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/10.62, allocations: 9.871 MB / 4.211 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001245/10.62, allocations: 99.84 kB / 4.211 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/10.62, allocations: 3.969 kB / 4.211 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/10.62, allocations: 15.05 kB / 4.211 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04554/10.66, allocations: 12.53 MB / 4.223 GB, free: 46.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-05/10.66, allocations: 10.81 kB / 4.223 GB, free: 46.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005354/10.67, allocations: 389.5 kB / 4.224 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02755/10.7, allocations: 4.593 MB / 4.228 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/10.7, allocations: 135.1 kB / 4.228 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/10.72, allocations: 13.39 MB / 4.241 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.397e-06/10.72, allocations: 4 kB / 4.241 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/10.74, allocations: 10.7 MB / 4.252 GB, free: 24.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/10.74, allocations: 0.6335 MB / 4.252 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/10.74, allocations: 55.84 kB / 4.253 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/10.74, allocations: 141.2 kB / 4.253 GB, free: 23.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005646/10.74, allocations: 224.1 kB / 4.253 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000409/10.74, allocations: 150.6 kB / 4.253 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001074/10.74, allocations: 0.6195 MB / 4.254 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.68e-07/10.74, allocations: 0 / 4.254 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007673/10.75, allocations: 2.009 MB / 4.256 GB, free: 20.79 MB / 0.5261 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.007922/10.76, allocations: 1.627 MB / 4.257 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01632/10.78, allocations: 6.53 MB / 4.264 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.43e-06/10.78, allocations: 0 / 4.264 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007274/10.78, allocations: 3.41 MB / 4.267 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005345/10.79, allocations: 0.8229 MB / 4.268 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/10.8, allocations: 5.851 MB / 4.273 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/10.8, allocations: 1.888 MB / 4.275 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008267/10.81, allocations: 6.277 MB / 4.281 GB, free: 32 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/10.81, allocations: 281.7 kB / 4.282 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of SimCode: time 1.568e-06/10.81, allocations: 0 / 4.282 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of Templates: time 0.5354/11.35, allocations: 119.3 MB / 4.398 GB, free: 86.47 MB / 0.5417 GB