Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") Notification: Performance of loadModel(ThermoPower): time 2.084/2.084, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.344e-05, allocations: 8 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3101, allocations: 60.24 MB / 391 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.821/7.132, allocations: 2.945 GB / 3.327 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/7.132, allocations: 85.28 kB / 3.327 GB, free: 82.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.098/8.23, allocations: 291 MB / 3.611 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2e-06/8.23, allocations: 0 / 3.611 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001209/8.23, allocations: 87.92 kB / 3.611 GB, free: 1.688 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: 1176 * Number of variables: 1176 Notification: Performance of Generate backend data structure: time 0.3259/8.556, allocations: 8.583 MB / 3.619 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/8.556, allocations: 9.969 kB / 3.619 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/8.561, allocations: 0.7109 MB / 3.62 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008171/8.57, allocations: 2.673 MB / 3.623 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/8.57, allocations: 338 kB / 3.623 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/8.571, allocations: 452 kB / 3.623 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/8.606, allocations: 10.4 MB / 3.634 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/8.607, allocations: 0 / 3.634 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/8.608, allocations: 186.2 kB / 3.634 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002369/8.608, allocations: 177.4 kB / 3.634 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05417/8.663, allocations: 12.06 MB / 3.646 GB, free: 60.58 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.03448/8.697, allocations: 20.4 MB / 3.666 GB, free: 51.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/8.708, allocations: 4.122 MB / 3.67 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/8.711, allocations: 1.858 MB / 3.671 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1257/8.837, allocations: 64 MB / 3.734 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/8.837, allocations: 61.53 kB / 3.734 GB, free: 28.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=221): time 5.766e-06/8.837, allocations: 3.75 kB / 3.734 GB, free: 28.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=221): time 0.02715/8.864, allocations: 8.446 MB / 3.742 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/8.864, allocations: 79.44 kB / 3.742 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/8.869, allocations: 3.051 MB / 3.745 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006291/8.869, allocations: 62.67 kB / 3.745 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/8.871, allocations: 2.698 MB / 3.748 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/8.872, allocations: 0.884 MB / 3.749 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005972/8.873, allocations: 145.5 kB / 3.749 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004936/8.873, allocations: 0.6669 MB / 3.75 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005938/8.879, allocations: 3.275 MB / 3.753 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007568/8.887, allocations: 7.525 MB / 3.76 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008296/8.895, allocations: 4.729 MB / 3.765 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.057e-05/8.895, allocations: 42.56 kB / 3.765 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02481/8.92, allocations: 11.7 MB / 3.776 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.3536/9.274, allocations: 59.44 MB / 3.834 GB, free: 70.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000708/9.274, allocations: 150.9 kB / 3.835 GB, free: 70.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08668/9.361, allocations: 8.295 MB / 3.843 GB, free: 70.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01349/9.375, allocations: 1.739 MB / 3.844 GB, free: 70.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03384/9.408, allocations: 6.551 MB / 3.851 GB, free: 69.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00789/9.416, allocations: 1.129 MB / 3.852 GB, free: 69.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/9.418, allocations: 0.5494 MB / 3.852 GB, free: 69.49 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/9.418, allocations: 11.61 kB / 3.852 GB, free: 69.48 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04389/9.462, allocations: 14.95 MB / 3.867 GB, free: 69.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004351/9.462, allocations: 147.5 kB / 3.867 GB, free: 69.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0323/9.495, allocations: 6.741 MB / 3.874 GB, free: 69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007081/9.502, allocations: 1.806 MB / 3.875 GB, free: 68.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06217/9.564, allocations: 27.28 MB / 3.902 GB, free: 66.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007024/9.571, allocations: 0.8474 MB / 3.903 GB, free: 66.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/9.572, allocations: 0.5476 MB / 3.903 GB, free: 66.69 MB / 0.5573 GB Warning: Assuming fixed start value for the following 12 variables: pipe1.h[11]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0))) start = pipe1.hstart[11] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[10]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[10] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[9]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[9] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[8]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[8] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[7]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[7] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[6]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[6] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[5]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[5] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[4]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[4] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[3]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[3] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[2]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[2] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[1]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0))) start = pipe1.hstart[1] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.p:VARIABLE(min = max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, 611.657)))))))))))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))))))))))))))))) start = pipe1.pstart unit = "Pa" nominal = 1000000.0 ) "Fluid pressure" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * Number of states: 0 () * Number of discrete variables: 11 (pipe1.fluidState[11].phase,pipe1.fluidState[10].phase,pipe1.fluidState[9].phase,pipe1.fluidState[8].phase,pipe1.fluidState[7].phase,pipe1.fluidState[6].phase,pipe1.fluidState[5].phase,pipe1.fluidState[4].phase,pipe1.fluidState[3].phase,pipe1.fluidState[2].phase,pipe1.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (803): * Single equations (assignments): 802 * 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 124} Notification: Performance of prepare postOptimizeDAE: time 0.002094/9.574, allocations: 0.8705 MB / 3.904 GB, free: 66.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007944/9.575, allocations: 311.1 kB / 3.905 GB, free: 66.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03204/9.607, allocations: 26.15 MB / 3.93 GB, free: 57.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.555e-05/9.607, allocations: 63.52 kB / 3.93 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-06/9.607, allocations: 0 / 3.93 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/9.607, allocations: 13.17 kB / 3.93 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/9.62, allocations: 11.47 MB / 3.941 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/9.62, allocations: 3.5 kB / 3.941 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/9.622, allocations: 280 kB / 3.942 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04882/9.671, allocations: 8.995 MB / 3.95 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007849/9.671, allocations: 112.1 kB / 3.951 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/9.686, allocations: 6.421 MB / 3.957 GB, free: 47.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.073e-06/9.686, allocations: 0 / 3.957 GB, free: 47.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02581/9.712, allocations: 11.04 MB / 3.968 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/9.714, allocations: 0.8119 MB / 3.968 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006798/9.715, allocations: 91 kB / 3.968 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/9.717, allocations: 262.8 kB / 3.969 GB, free: 37.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005188/9.718, allocations: 146.9 kB / 3.969 GB, free: 36.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003875/9.718, allocations: 90 kB / 3.969 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003003/9.721, allocations: 1.993 MB / 3.971 GB, free: 35.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.47e-07/9.721, allocations: 0 / 3.971 GB, free: 35.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01407/9.736, allocations: 3.203 MB / 3.974 GB, free: 32.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (pipe1.p,pipe1.h[1],pipe1.h[2],pipe1.h[3],pipe1.h[4],pipe1.h[5],pipe1.h[6],pipe1.h[7],pipe1.h[8],pipe1.h[9],pipe1.h[10],pipe1.h[11]) * Number of discrete variables: 22 ($cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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 {14 145} Notification: Performance of Backend phase and start with SimCode phase: time 0.006276/9.742, allocations: 1.491 MB / 3.976 GB, free: 31.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03458/9.776, allocations: 14.67 MB / 3.99 GB, free: 18.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.001e-06/9.777, allocations: 4 kB / 3.99 GB, free: 18.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009931/9.786, allocations: 3.526 MB / 3.993 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/9.79, allocations: 0.5783 MB / 3.994 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/9.805, allocations: 8.727 MB / 4.002 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/9.808, allocations: 2.554 MB / 4.005 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.3419/10.15, allocations: 17.75 MB / 4.022 GB, free: 87.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/10.15, allocations: 363.1 kB / 4.023 GB, free: 87.13 MB / 0.5573 GB Notification: Performance of SimCode: time 1.829e-06/10.15, allocations: 0 / 4.023 GB, free: 87.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.2144/10.37, allocations: 127.6 MB / 4.147 GB, free: 55.91 MB / 0.5573 GB