Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") Notification: Performance of loadModel(ThermoPower): time 2.084/2.084, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.498e-05, allocations: 0 / 330.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 60.24 MB / 391 MB, free: 4.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.799/7.107, allocations: 2.989 GB / 3.37 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/7.107, allocations: 75.78 kB / 3.37 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.226/8.334, allocations: 302.1 MB / 3.665 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.957e-06/8.334, allocations: 0 / 3.665 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.33e-05/8.334, allocations: 35.94 kB / 3.666 GB, free: 41.82 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.02436/8.358, allocations: 5.823 MB / 3.671 GB, free: 35.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/8.358, allocations: 12.03 kB / 3.671 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/8.363, allocations: 0.5535 MB / 3.672 GB, free: 35.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/8.37, allocations: 1.76 MB / 3.673 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002933/8.372, allocations: 1.063 MB / 3.675 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/8.374, allocations: 179.9 kB / 3.675 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/8.396, allocations: 8.864 MB / 3.683 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/8.396, allocations: 3.938 kB / 3.683 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008909/8.397, allocations: 72 kB / 3.683 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-05/8.397, allocations: 95.41 kB / 3.684 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03448/8.432, allocations: 13.78 MB / 3.697 GB, free: 9.391 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.4032/8.835, allocations: 33.61 MB / 3.73 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/8.853, allocations: 6.685 MB / 3.736 GB, free: 56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009371/8.863, allocations: 4.505 MB / 3.741 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1691/9.032, allocations: 75.79 MB / 3.815 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/9.032, allocations: 55.38 kB / 3.815 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 5.559e-06/9.032, allocations: 0 / 3.815 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192): time 0.05592/9.088, allocations: 18.99 MB / 3.833 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/9.088, allocations: 76.42 kB / 3.833 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/9.089, allocations: 457.8 kB / 3.834 GB, free: 25.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/9.09, allocations: 57.45 kB / 3.834 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/9.09, allocations: 0.5141 MB / 3.834 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001393/9.091, allocations: 0.6581 MB / 3.835 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009379/9.092, allocations: 35.38 kB / 3.835 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002459/9.093, allocations: 428.5 kB / 3.835 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009903/9.103, allocations: 4.805 MB / 3.84 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/9.116, allocations: 5.035 MB / 3.845 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008451/9.125, allocations: 3.659 MB / 3.849 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.558e-06/9.125, allocations: 0 / 3.849 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.05006/9.175, allocations: 18.19 MB / 3.866 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007273/9.176, allocations: 1.321 MB / 3.868 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/9.176, allocations: 0 / 3.868 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5002/9.676, allocations: 51.85 MB / 3.918 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/9.678, allocations: 307.6 kB / 3.919 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03438/9.712, allocations: 14.21 MB / 3.933 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0131/9.725, allocations: 2.006 MB / 3.934 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/9.727, allocations: 318.6 kB / 3.935 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/9.727, allocations: 6.562 kB / 3.935 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04994/9.777, allocations: 18.01 MB / 3.952 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/9.777, allocations: 4.562 kB / 3.952 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1719/9.949, allocations: 50.41 MB / 4.002 GB, free: 98.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/9.951, allocations: 294.9 kB / 4.002 GB, free: 98.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03362/9.984, allocations: 14.23 MB / 4.016 GB, free: 88.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/9.996, allocations: 1.991 MB / 4.018 GB, free: 87.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/9.997, allocations: 306.5 kB / 4.018 GB, free: 86.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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 (120): * Single equations (assignments): 119 * 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 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.001933/9.999, allocations: 204.8 kB / 4.018 GB, free: 86.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/10, allocations: 109.9 kB / 4.018 GB, free: 86.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03932/10.04, allocations: 28.42 MB / 4.046 GB, free: 62.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03654/10.08, allocations: 26.82 MB / 4.072 GB, free: 38.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/10.08, allocations: 7.938 kB / 4.072 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.862e-05/10.08, allocations: 18.78 kB / 4.072 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3746/10.45, allocations: 48.56 MB / 4.12 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/10.45, allocations: 4.75 kB / 4.12 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01606/10.47, allocations: 2.451 MB / 4.122 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00579/10.47, allocations: 1.14 MB / 4.123 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001378/10.47, allocations: 204.5 kB / 4.123 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/10.49, allocations: 6.042 MB / 4.129 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.935e-06/10.49, allocations: 7.094 kB / 4.129 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03609/10.52, allocations: 15.39 MB / 4.144 GB, free: 97.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003814/10.53, allocations: 1.223 MB / 4.146 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/10.53, allocations: 58.09 kB / 4.146 GB, free: 96.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01232/10.54, allocations: 1.962 MB / 4.148 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/10.54, allocations: 329.4 kB / 4.148 GB, free: 96.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009641/10.54, allocations: 197.8 kB / 4.148 GB, free: 96.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005059/10.54, allocations: 352.3 kB / 4.148 GB, free: 96.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.87e-07/10.54, allocations: 0 / 4.148 GB, free: 96.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01048/10.55, allocations: 2.622 MB / 4.151 GB, free: 96.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 11 (Mbal,hex.p,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]) * Number of discrete variables: 22 ($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.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00633/10.56, allocations: 1.333 MB / 4.152 GB, free: 96.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03761/10.6, allocations: 16.85 MB / 4.169 GB, free: 89.81 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/10.6, allocations: 3.906 kB / 4.169 GB, free: 89.81 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/10.61, allocations: 5.922 MB / 4.174 GB, free: 87.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/10.61, allocations: 468.3 kB / 4.175 GB, free: 87.19 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/10.63, allocations: 8.098 MB / 4.183 GB, free: 84.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/10.63, allocations: 1.648 MB / 4.184 GB, free: 83.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007594/10.64, allocations: 2.461 MB / 4.187 GB, free: 83.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004142/10.64, allocations: 382 kB / 4.187 GB, free: 83.71 MB / 0.5417 GB Notification: Performance of SimCode: time 1.731e-06/10.64, allocations: 3.938 kB / 4.187 GB, free: 83.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.6646/11.31, allocations: 254.2 MB / 4.435 GB, free: 55.06 MB / 0.5417 GB