Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") Notification: Performance of loadModel(ThermoPower): time 2.12/2.12, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.402e-05/4.388e-05, allocations: 4 kB / 330.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3594, allocations: 60.24 MB / 391 MB, free: 4.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.461/7.821, allocations: 2.968 GB / 3.35 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/7.821, allocations: 80.39 kB / 3.35 GB, free: 60.26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.685/9.506, allocations: 369.8 MB / 3.711 GB, free: 75.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.16e-06/9.506, allocations: 0 / 3.711 GB, free: 75.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001179/9.506, allocations: 56.75 kB / 3.711 GB, free: 75.9 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.01825/9.524, allocations: 4.561 MB / 3.716 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/9.524, allocations: 9.906 kB / 3.716 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007144/9.532, allocations: 0.8181 MB / 3.716 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/9.538, allocations: 1.819 MB / 3.718 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/9.539, allocations: 212.2 kB / 3.718 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/9.54, allocations: 313.3 kB / 3.719 GB, free: 73.28 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/9.57, allocations: 8.619 MB / 3.727 GB, free: 70.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/9.57, allocations: 2.281 kB / 3.727 GB, free: 70.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/9.571, allocations: 110.7 kB / 3.727 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/9.571, allocations: 159.3 kB / 3.727 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03125/9.603, allocations: 10.2 MB / 3.737 GB, free: 66.93 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.03294/9.636, allocations: 19.16 MB / 3.756 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01891/9.655, allocations: 6.439 MB / 3.762 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/9.659, allocations: 1.862 MB / 3.764 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4612/10.12, allocations: 64.02 MB / 3.827 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/10.12, allocations: 63 kB / 3.827 GB, free: 86.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 7.177e-06/10.12, allocations: 0 / 3.827 GB, free: 86.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.0422/10.16, allocations: 10.56 MB / 3.837 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/10.16, allocations: 81.75 kB / 3.837 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/10.16, allocations: 0.5446 MB / 3.838 GB, free: 85.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/10.16, allocations: 75.92 kB / 3.838 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/10.17, allocations: 0.8105 MB / 3.839 GB, free: 85.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001824/10.17, allocations: 0.9538 MB / 3.839 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009905/10.17, allocations: 50.28 kB / 3.84 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003704/10.17, allocations: 461.5 kB / 3.84 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/10.17, allocations: 2.768 MB / 3.843 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006544/10.18, allocations: 3.097 MB / 3.846 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006482/10.19, allocations: 2.902 MB / 3.849 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/10.19, allocations: 3.25 kB / 3.849 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02522/10.21, allocations: 9.434 MB / 3.858 GB, free: 84.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004909/10.21, allocations: 2.273 MB / 3.86 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/10.21, allocations: 7.688 kB / 3.86 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02796/10.24, allocations: 8.154 MB / 3.868 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/10.24, allocations: 272 kB / 3.868 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/10.27, allocations: 9.554 MB / 3.878 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/10.27, allocations: 482.4 kB / 3.878 GB, free: 81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/10.27, allocations: 331.3 kB / 3.878 GB, free: 81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/10.27, allocations: 3.906 kB / 3.878 GB, free: 81 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02356/10.3, allocations: 9.236 MB / 3.887 GB, free: 79.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.741e-05/10.3, allocations: 9.75 kB / 3.887 GB, free: 79.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02656/10.32, allocations: 8.158 MB / 3.895 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/10.33, allocations: 267.2 kB / 3.896 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/10.35, allocations: 9.54 MB / 3.905 GB, free: 74.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/10.36, allocations: 462.6 kB / 3.905 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/10.36, allocations: 333.4 kB / 3.906 GB, free: 74.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.00188/10.36, allocations: 239.4 kB / 3.906 GB, free: 74.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/10.36, allocations: 141.5 kB / 3.906 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05379/10.41, allocations: 42.74 MB / 3.948 GB, free: 46.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/10.41, allocations: 98.64 kB / 3.948 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/10.41, allocations: 16 kB / 3.948 GB, free: 46.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.505e-05/10.41, allocations: 13.59 kB / 3.948 GB, free: 46.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/10.43, allocations: 18.09 MB / 3.966 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-05/10.43, allocations: 0 / 3.966 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004733/10.44, allocations: 0.6266 MB / 3.966 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/10.45, allocations: 2.634 MB / 3.969 GB, free: 27.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009699/10.45, allocations: 102.6 kB / 3.969 GB, free: 27.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0299/10.48, allocations: 13.91 MB / 3.982 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.031e-06/10.48, allocations: 0 / 3.982 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02817/10.51, allocations: 12.15 MB / 3.994 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/10.51, allocations: 0.7524 MB / 3.995 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/10.51, allocations: 70.86 kB / 3.995 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00412/10.52, allocations: 314.3 kB / 3.995 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/10.52, allocations: 204.8 kB / 3.996 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008054/10.52, allocations: 105.3 kB / 3.996 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007228/10.52, allocations: 411.8 kB / 3.996 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.53e-07/10.52, allocations: 4 kB / 3.996 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01134/10.53, allocations: 2.82 MB / 3.999 GB, free: 0.7422 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],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: 44 ($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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008551/10.54, allocations: 1.448 MB / 4 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03014/10.57, allocations: 11.16 MB / 4.011 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.53e-06/10.57, allocations: 4.125 kB / 4.011 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3375/10.91, allocations: 5.174 MB / 4.016 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005071/10.91, allocations: 0.73 MB / 4.017 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/10.93, allocations: 8.171 MB / 4.025 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/10.94, allocations: 2.275 MB / 4.027 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00514/10.94, allocations: 1.488 MB / 4.029 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/10.94, allocations: 152.2 kB / 4.029 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.193e-06/10.94, allocations: 6.875 kB / 4.029 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.2894/11.23, allocations: 180.9 MB / 4.205 GB, free: 1.543 MB / 0.5417 GB