Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") Notification: Performance of loadModel(ThermoPower): time 2.192/2.192, allocations: 254.6 MB / 267.6 MB, free: 12.38 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.154e-05, allocations: 4 kB / 330.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3163, allocations: 60.23 MB / 391 MB, free: 4.887 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.301/7.617, allocations: 2.954 GB / 3.336 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/7.617, allocations: 78.75 kB / 3.336 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.754/9.372, allocations: 381 MB / 3.708 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.063e-06/9.372, allocations: 0.6562 kB / 3.708 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000208/9.372, allocations: 90.25 kB / 3.708 GB, free: 67.27 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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.03734/9.409, allocations: 10.15 MB / 3.718 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/9.409, allocations: 10.56 kB / 3.718 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006683/9.416, allocations: 0.7915 MB / 3.719 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/9.427, allocations: 2.97 MB / 3.722 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/9.428, allocations: 405.2 kB / 3.722 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003262/9.431, allocations: 0.5157 MB / 3.722 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03825/9.469, allocations: 12.05 MB / 3.734 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/9.47, allocations: 0 / 3.734 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002832/9.472, allocations: 219.2 kB / 3.734 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/9.473, allocations: 205 kB / 3.735 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05987/9.533, allocations: 14.04 MB / 3.748 GB, free: 64.8 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.05091/9.584, allocations: 24.48 MB / 3.772 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/9.599, allocations: 4.855 MB / 3.777 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005049/9.604, allocations: 2.154 MB / 3.779 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.152/9.756, allocations: 64 MB / 3.842 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.554e-05/9.756, allocations: 65.28 kB / 3.842 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=257): time 6.6e-06/9.756, allocations: 0 / 3.842 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=257): time 0.05922/9.815, allocations: 12.86 MB / 3.854 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/9.815, allocations: 77.44 kB / 3.854 GB, free: 28.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006001/9.821, allocations: 3.554 MB / 3.858 GB, free: 25.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/9.822, allocations: 69.7 kB / 3.858 GB, free: 25.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002141/9.825, allocations: 3.145 MB / 3.861 GB, free: 22.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001988/9.827, allocations: 1.034 MB / 3.862 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/9.828, allocations: 172 kB / 3.862 GB, free: 21.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0007543/9.829, allocations: 0.7267 MB / 3.863 GB, free: 20.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008433/9.837, allocations: 3.792 MB / 3.866 GB, free: 17.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/9.85, allocations: 8.803 MB / 3.875 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/9.863, allocations: 5.47 MB / 3.88 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/9.863, allocations: 54.62 kB / 3.88 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.05614/9.919, allocations: 16.88 MB / 3.897 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3731/10.29, allocations: 70.23 MB / 3.966 GB, free: 33.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004778/10.29, allocations: 176.6 kB / 3.966 GB, free: 33.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06381/10.36, allocations: 12.36 MB / 3.978 GB, free: 33.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007225/10.36, allocations: 1.677 MB / 3.979 GB, free: 33.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/10.39, allocations: 10.28 MB / 3.989 GB, free: 32.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/10.4, allocations: 1.308 MB / 3.991 GB, free: 32.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002567/10.41, allocations: 0.643 MB / 3.991 GB, free: 32.59 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/10.41, allocations: 4.875 kB / 3.991 GB, free: 32.59 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05194/10.46, allocations: 16.41 MB / 4.007 GB, free: 32.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006274/10.46, allocations: 176.2 kB / 4.008 GB, free: 32.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06285/10.52, allocations: 12.35 MB / 4.02 GB, free: 31.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006989/10.53, allocations: 1.662 MB / 4.021 GB, free: 31.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/10.56, allocations: 10.29 MB / 4.031 GB, free: 30.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009996/10.57, allocations: 0.9877 MB / 4.032 GB, free: 30.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002741/10.57, allocations: 0.6366 MB / 4.033 GB, free: 30.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (903): * Single equations (assignments): 902 * 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 {13 187} Notification: Performance of prepare postOptimizeDAE: time 0.003681/10.58, allocations: 0.7126 MB / 4.034 GB, free: 30.36 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/10.58, allocations: 361.2 kB / 4.034 GB, free: 30.17 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.069/10.65, allocations: 33.23 MB / 4.066 GB, free: 24.88 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.374e-05/10.65, allocations: 68.34 kB / 4.066 GB, free: 24.86 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/10.65, allocations: 3.875 kB / 4.066 GB, free: 24.86 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.815e-05/10.65, allocations: 15 kB / 4.066 GB, free: 24.86 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4349/11.08, allocations: 44.95 MB / 4.11 GB, free: 95.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/11.08, allocations: 0 / 4.11 GB, free: 95.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/11.08, allocations: 388.5 kB / 4.111 GB, free: 95.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0485/11.13, allocations: 8.345 MB / 4.119 GB, free: 95.22 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/11.13, allocations: 122.5 kB / 4.119 GB, free: 95.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0887/11.22, allocations: 30.3 MB / 4.149 GB, free: 93.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.654e-06/11.22, allocations: 0 / 4.149 GB, free: 93.43 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05321/11.28, allocations: 15.33 MB / 4.164 GB, free: 92.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002997/11.28, allocations: 0.9384 MB / 4.164 GB, free: 92.35 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/11.28, allocations: 91.28 kB / 4.165 GB, free: 92.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004731/11.29, allocations: 293.3 kB / 4.165 GB, free: 92.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001902/11.29, allocations: 250.1 kB / 4.165 GB, free: 92.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007997/11.29, allocations: 108.2 kB / 4.165 GB, free: 92.32 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00457/11.29, allocations: 2.315 MB / 4.167 GB, free: 92.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.086e-06/11.29, allocations: 0 / 4.167 GB, free: 92.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02111/11.31, allocations: 3.404 MB / 4.171 GB, free: 91.97 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.008055/11.32, allocations: 1.426 MB / 4.172 GB, free: 91.81 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04538/11.37, allocations: 16.5 MB / 4.188 GB, free: 91.47 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.04e-06/11.37, allocations: 0 / 4.188 GB, free: 91.47 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01478/11.38, allocations: 4.641 MB / 4.193 GB, free: 91.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004864/11.39, allocations: 0.6716 MB / 4.193 GB, free: 91.08 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/11.41, allocations: 10.27 MB / 4.203 GB, free: 87.94 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/11.41, allocations: 2.876 MB / 4.206 GB, free: 86.92 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01656/11.43, allocations: 5.326 MB / 4.211 GB, free: 86.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/11.43, allocations: 276.6 kB / 4.212 GB, free: 86.31 MB / 0.573 GB Notification: Performance of SimCode: time 2.177e-06/11.43, allocations: 4 kB / 4.212 GB, free: 86.31 MB / 0.573 GB Notification: Performance of Templates: time 0.6537/12.09, allocations: 179.8 MB / 4.387 GB, free: 83.74 MB / 0.573 GB