Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") Notification: Performance of loadModel(ThermoPower): time 2.178/2.178, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.513e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.35, allocations: 60.23 MB / 391 MB, free: 4.891 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.07/7.42, allocations: 2.977 GB / 3.359 GB, free: 51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/7.421, allocations: 81.7 kB / 3.359 GB, free: 50.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.713/9.134, allocations: 367.6 MB / 3.718 GB, free: 69.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.416e-06/9.134, allocations: 0 / 3.718 GB, free: 69.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.355e-05/9.134, allocations: 31.48 kB / 3.718 GB, free: 69.47 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.007373/9.141, allocations: 1.767 MB / 3.72 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/9.142, allocations: 8.5 kB / 3.72 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/9.144, allocations: 249.4 kB / 3.72 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/9.146, allocations: 0.7022 MB / 3.721 GB, free: 68.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/9.146, allocations: 66.94 kB / 3.721 GB, free: 68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/9.146, allocations: 87.28 kB / 3.721 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006273/9.153, allocations: 2.029 MB / 3.723 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/9.153, allocations: 0 / 3.723 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/9.153, allocations: 34.12 kB / 3.723 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/9.153, allocations: 38.66 kB / 3.723 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006176/9.159, allocations: 1.921 MB / 3.725 GB, free: 66.53 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.006948/9.166, allocations: 4.635 MB / 3.73 GB, free: 63.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/9.171, allocations: 1.336 MB / 3.731 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/9.171, allocations: 393.9 kB / 3.731 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1723/9.344, allocations: 80.05 MB / 3.81 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/9.344, allocations: 43.33 kB / 3.81 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=72): time 4.007e-06/9.344, allocations: 4 kB / 3.81 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.008654/9.352, allocations: 2.037 MB / 3.812 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/9.353, allocations: 64.47 kB / 3.812 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/9.354, allocations: 484.9 kB / 3.812 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/9.354, allocations: 37.7 kB / 3.812 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/9.354, allocations: 351 kB / 3.812 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/9.355, allocations: 259 kB / 3.813 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/9.355, allocations: 16 kB / 3.813 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002533/9.355, allocations: 382.8 kB / 3.813 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/9.356, allocations: 0.5325 MB / 3.814 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/9.358, allocations: 0.6771 MB / 3.814 GB, free: 272 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3262/9.684, allocations: 0.5736 MB / 3.815 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/9.684, allocations: 0.6875 kB / 3.815 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.01009/9.694, allocations: 1.985 MB / 3.817 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/9.694, allocations: 0.8826 MB / 3.818 GB, free: 90.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/9.695, allocations: 2.5 kB / 3.818 GB, free: 90.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009527/9.704, allocations: 1.569 MB / 3.819 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/9.705, allocations: 91.25 kB / 3.819 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008949/9.714, allocations: 2.276 MB / 3.821 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/9.717, allocations: 135.6 kB / 3.822 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006048/9.718, allocations: 79.47 kB / 3.822 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/9.718, allocations: 8.281 kB / 3.822 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008284/9.726, allocations: 1.879 MB / 3.824 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/9.727, allocations: 3.906 kB / 3.824 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005548/9.732, allocations: 1.573 MB / 3.825 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/9.733, allocations: 85.98 kB / 3.825 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/9.737, allocations: 2.28 MB / 3.827 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/9.739, allocations: 125.5 kB / 3.827 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002848/9.739, allocations: 84.19 kB / 3.828 GB, free: 89.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (45): * Single equations (assignments): 44 * 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 {4 41} Notification: Performance of prepare postOptimizeDAE: time 0.0003885/9.74, allocations: 151.9 kB / 3.828 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/9.74, allocations: 80.42 kB / 3.828 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/9.751, allocations: 8.809 MB / 3.836 GB, free: 88.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/9.751, allocations: 25.27 kB / 3.836 GB, free: 88.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/9.751, allocations: 0 / 3.836 GB, free: 88.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/9.751, allocations: 3.703 kB / 3.836 GB, free: 88.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/9.756, allocations: 4.014 MB / 3.84 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/9.756, allocations: 3.625 kB / 3.84 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/9.757, allocations: 182.6 kB / 3.841 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/9.758, allocations: 292.3 kB / 3.841 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/9.759, allocations: 25.72 kB / 3.841 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/9.762, allocations: 2.417 MB / 3.843 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.744e-06/9.762, allocations: 2.953 kB / 3.843 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/9.768, allocations: 2.587 MB / 3.846 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/9.768, allocations: 285 kB / 3.846 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/9.769, allocations: 25.89 kB / 3.846 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/9.77, allocations: 76.94 kB / 3.846 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/9.77, allocations: 62.05 kB / 3.846 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/9.77, allocations: 22.62 kB / 3.846 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006132/9.771, allocations: 381.4 kB / 3.847 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.6e-07/9.771, allocations: 3.188 kB / 3.847 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005764/9.776, allocations: 1.441 MB / 3.848 GB, free: 86.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(4,81.2%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008105/9.785, allocations: 1.561 MB / 3.849 GB, free: 86.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005672/9.79, allocations: 2.276 MB / 3.852 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.528e-06/9.79, allocations: 2.844 kB / 3.852 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/9.792, allocations: 0.9584 MB / 3.853 GB, free: 85.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/9.795, allocations: 361.3 kB / 3.853 GB, free: 85.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/9.799, allocations: 2.028 MB / 3.855 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/9.8, allocations: 1.142 MB / 3.856 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001501/9.802, allocations: 371.6 kB / 3.856 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/9.802, allocations: 63.64 kB / 3.856 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.851e-06/9.802, allocations: 3.625 kB / 3.856 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.114/9.916, allocations: 67.15 MB / 3.922 GB, free: 81.55 MB / 0.5261 GB