Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") Notification: Performance of loadModel(ThermoPower): time 2.246/2.246, allocations: 254.6 MB / 267.6 MB, free: 12.38 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.821e-05, allocations: 4 kB / 330.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3109, allocations: 60.24 MB / 391 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.21/7.521, allocations: 2.954 GB / 3.336 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/7.521, allocations: 75.78 kB / 3.336 GB, free: 73.85 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.841/9.362, allocations: 381.2 MB / 3.708 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.564e-06/9.362, allocations: 0 / 3.708 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001719/9.362, allocations: 96.14 kB / 3.708 GB, free: 72.88 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.03742/9.4, allocations: 10.19 MB / 3.718 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/9.4, allocations: 11.31 kB / 3.718 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/9.407, allocations: 0.7952 MB / 3.719 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/9.419, allocations: 3.011 MB / 3.722 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005752/9.419, allocations: 406.9 kB / 3.722 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00327/9.423, allocations: 0.5235 MB / 3.723 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03745/9.46, allocations: 12.05 MB / 3.735 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/9.46, allocations: 3.469 kB / 3.735 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/9.463, allocations: 221.6 kB / 3.735 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/9.463, allocations: 205.4 kB / 3.735 GB, free: 63.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05799/9.521, allocations: 14.03 MB / 3.749 GB, free: 56.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.04662/9.568, allocations: 24.32 MB / 3.772 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/9.581, allocations: 4.612 MB / 3.777 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/9.586, allocations: 2.052 MB / 3.779 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4664/10.05, allocations: 64 MB / 3.841 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/10.05, allocations: 62.25 kB / 3.842 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 6.567e-06/10.05, allocations: 0 / 3.842 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.09811/10.15, allocations: 12.76 MB / 3.854 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/10.15, allocations: 82.88 kB / 3.854 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00649/10.16, allocations: 3.533 MB / 3.858 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/10.16, allocations: 75.95 kB / 3.858 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/10.16, allocations: 3.169 MB / 3.861 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002061/10.16, allocations: 1.008 MB / 3.862 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/10.16, allocations: 174.3 kB / 3.862 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006879/10.17, allocations: 0.7173 MB / 3.863 GB, free: 65.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008354/10.17, allocations: 3.712 MB / 3.866 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/10.19, allocations: 8.709 MB / 3.875 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/10.2, allocations: 5.372 MB / 3.88 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/10.2, allocations: 51.16 kB / 3.88 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.038/10.23, allocations: 14.24 MB / 3.894 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.02305/10.26, allocations: 70.24 MB / 3.962 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003899/10.26, allocations: 178.7 kB / 3.963 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05609/10.31, allocations: 11.34 MB / 3.974 GB, free: 16.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007105/10.32, allocations: 1.717 MB / 3.975 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02702/10.35, allocations: 9.725 MB / 3.985 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/10.36, allocations: 1.317 MB / 3.986 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/10.36, allocations: 0.6386 MB / 3.987 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/10.36, allocations: 4.719 kB / 3.987 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03489/10.4, allocations: 13.76 MB / 4 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005875/10.4, allocations: 180.7 kB / 4 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05386/10.45, allocations: 11.33 MB / 4.011 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007244/10.46, allocations: 1.702 MB / 4.013 GB, free: 344 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3687/10.83, allocations: 9.817 MB / 4.023 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/10.84, allocations: 0.9919 MB / 4.024 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002687/10.84, allocations: 0.6321 MB / 4.024 GB, free: 102.2 MB / 0.5573 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 (918): * Single equations (assignments): 917 * 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 163} Notification: Performance of prepare postOptimizeDAE: time 0.003845/10.84, allocations: 0.7187 MB / 4.025 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/10.85, allocations: 357.7 kB / 4.025 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0672/10.91, allocations: 33.1 MB / 4.058 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/10.91, allocations: 70.5 kB / 4.058 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/10.91, allocations: 0 / 4.058 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.477e-05/10.91, allocations: 12.75 kB / 4.058 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08493/11, allocations: 44.63 MB / 4.101 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/11, allocations: 0 / 4.101 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/11, allocations: 396.5 kB / 4.102 GB, free: 83.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04644/11.05, allocations: 8.404 MB / 4.11 GB, free: 82.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/11.05, allocations: 122.4 kB / 4.11 GB, free: 82.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08673/11.14, allocations: 29.93 MB / 4.139 GB, free: 70.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/11.14, allocations: 4 kB / 4.139 GB, free: 70.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05093/11.19, allocations: 15.09 MB / 4.154 GB, free: 58.92 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/11.19, allocations: 0.9226 MB / 4.155 GB, free: 58.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/11.19, allocations: 89 kB / 4.155 GB, free: 58.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/11.2, allocations: 307.1 kB / 4.155 GB, free: 57.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002185/11.2, allocations: 251.8 kB / 4.156 GB, free: 57.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001053/11.2, allocations: 106.2 kB / 4.156 GB, free: 57.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004431/11.2, allocations: 2.293 MB / 4.158 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.78e-07/11.2, allocations: 0 / 4.158 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02093/11.22, allocations: 3.392 MB / 4.161 GB, free: 52.32 MB / 0.5573 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 (150): * Single equations (assignments): 135 * 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.008316/11.23, allocations: 1.421 MB / 4.163 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04175/11.28, allocations: 16.16 MB / 4.178 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/11.28, allocations: 0 / 4.178 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01373/11.29, allocations: 4.508 MB / 4.183 GB, free: 33.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/11.29, allocations: 0.6669 MB / 4.183 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/11.32, allocations: 10.13 MB / 4.193 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004172/11.32, allocations: 2.881 MB / 4.196 GB, free: 22.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01631/11.34, allocations: 5.684 MB / 4.202 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/11.34, allocations: 283.3 kB / 4.202 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of SimCode: time 2.258e-06/11.34, allocations: 0 / 4.202 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of Templates: time 0.6507/11.99, allocations: 176.6 MB / 4.374 GB, free: 33.3 MB / 0.5573 GB