Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") Notification: Performance of loadModel(ThermoPower): time 2.2/2.2, allocations: 254.6 MB / 267.6 MB, free: 12.37 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.171e-05, allocations: 0 / 330.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3072, allocations: 60.24 MB / 391 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.972/7.279, allocations: 2.983 GB / 3.365 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/7.28, allocations: 74.84 kB / 3.365 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.752/9.032, allocations: 327.3 MB / 3.685 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.917e-06/9.032, allocations: 0 / 3.685 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001244/9.032, allocations: 57.66 kB / 3.685 GB, free: 64.39 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.06096/9.093, allocations: 12.22 MB / 3.697 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/9.093, allocations: 13.09 kB / 3.697 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/9.105, allocations: 1.014 MB / 3.698 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/9.121, allocations: 3.339 MB / 3.701 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01415/9.135, allocations: 2.348 MB / 3.703 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007222/9.142, allocations: 338.6 kB / 3.703 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08959/9.232, allocations: 18.67 MB / 3.722 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/9.232, allocations: 5.812 kB / 3.722 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005967/9.238, allocations: 128 kB / 3.722 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002965/9.238, allocations: 175.5 kB / 3.722 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1155/9.354, allocations: 32.51 MB / 3.754 GB, free: 44.84 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.4579/9.812, allocations: 72.21 MB / 3.824 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03746/9.849, allocations: 13.67 MB / 3.838 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02063/9.87, allocations: 9.999 MB / 3.847 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1783/10.05, allocations: 75.86 MB / 3.921 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.211e-05/10.05, allocations: 82.84 kB / 3.921 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=370): time 8.398e-06/10.05, allocations: 0 / 3.921 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=372): time 0.1376/10.19, allocations: 39.69 MB / 3.96 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/10.19, allocations: 91.23 kB / 3.96 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/10.19, allocations: 0.6733 MB / 3.961 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003802/10.19, allocations: 96.42 kB / 3.961 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/10.19, allocations: 0.7858 MB / 3.962 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004773/10.2, allocations: 1.27 MB / 3.963 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003876/10.2, allocations: 71.16 kB / 3.963 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004326/10.2, allocations: 494.5 kB / 3.964 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02269/10.22, allocations: 10.41 MB / 3.974 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04354/10.27, allocations: 11.92 MB / 3.985 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7912/11.06, allocations: 118.9 MB / 4.102 GB, free: 83.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/11.06, allocations: 3.938 kB / 4.102 GB, free: 83.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.2762/11.33, allocations: 72.12 MB / 4.172 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004597/11.34, allocations: 2.193 MB / 4.174 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/11.34, allocations: 7.234 kB / 4.174 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.585/11.92, allocations: 87.9 MB / 4.26 GB, free: 88.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004024/11.92, allocations: 0.5471 MB / 4.261 GB, free: 88.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07779/12, allocations: 39.29 MB / 4.299 GB, free: 79.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02883/12.03, allocations: 4.429 MB / 4.303 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004794/12.04, allocations: 0.6404 MB / 4.304 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/12.04, allocations: 4.469 kB / 4.304 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2789/12.31, allocations: 71.84 MB / 4.374 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/12.31, allocations: 4 kB / 4.374 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5893/12.9, allocations: 88.22 MB / 4.46 GB, free: 88.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/12.91, allocations: 0.5326 MB / 4.461 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07758/12.99, allocations: 39.29 MB / 4.499 GB, free: 78.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03023/13.02, allocations: 4.418 MB / 4.503 GB, free: 78.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004781/13.02, allocations: 0.6184 MB / 4.504 GB, free: 78.45 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.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.007548/13.03, allocations: 294 kB / 4.504 GB, free: 78.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00431/13.03, allocations: 189.8 kB / 4.504 GB, free: 78.24 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07032/13.1, allocations: 28.45 MB / 4.532 GB, free: 66.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05857/13.16, allocations: 25.16 MB / 4.557 GB, free: 44.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.103e-05/13.16, allocations: 11.75 kB / 4.557 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.232e-05/13.16, allocations: 17.95 kB / 4.557 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4855/13.65, allocations: 66.97 MB / 4.622 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-05/13.65, allocations: 11.75 kB / 4.622 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0349/13.68, allocations: 5.69 MB / 4.628 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006605/13.69, allocations: 1.663 MB / 4.629 GB, free: 86.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004488/13.69, allocations: 0.6436 MB / 4.63 GB, free: 86.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/13.72, allocations: 30.57 MB / 4.66 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/13.72, allocations: 13.72 kB / 4.66 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08822/13.81, allocations: 34.16 MB / 4.693 GB, free: 55.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008981/13.82, allocations: 2.432 MB / 4.696 GB, free: 54.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004808/13.82, allocations: 105 kB / 4.696 GB, free: 54.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03026/13.85, allocations: 4.386 MB / 4.7 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004642/13.86, allocations: 0.8813 MB / 4.701 GB, free: 54.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004765/13.86, allocations: 0.6309 MB / 4.701 GB, free: 54.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008942/13.86, allocations: 0.5137 MB / 4.702 GB, free: 53.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.01e-07/13.86, allocations: 3.656 kB / 4.702 GB, free: 53.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02535/13.89, allocations: 4.666 MB / 4.707 GB, free: 53.61 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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.region3boundary,$cse23.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/13.9, allocations: 1.347 MB / 4.708 GB, free: 53.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.08991/13.99, allocations: 36.84 MB / 4.744 GB, free: 38.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/13.99, allocations: 3.969 kB / 4.744 GB, free: 38.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03122/14.02, allocations: 14.81 MB / 4.758 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00876/14.03, allocations: 0.9355 MB / 4.759 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04516/14.08, allocations: 17.49 MB / 4.776 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/14.08, allocations: 2.433 MB / 4.779 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03732/14.12, allocations: 23.04 MB / 4.801 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01435/14.13, allocations: 1.233 MB / 4.802 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of SimCode: time 2.486e-06/14.13, allocations: 7.875 kB / 4.802 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of Templates: time 1.86/15.99, allocations: 0.525 GB / 5.327 GB, free: 84.01 MB / 0.5573 GB