Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") Notification: Performance of loadModel(ThermoPower): time 2.196/2.196, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.54e-05, allocations: 4 kB / 330.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 60.23 MB / 391 MB, free: 4.891 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.03/7.35, allocations: 2.954 GB / 3.336 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/7.35, allocations: 77.23 kB / 3.336 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.727/9.077, allocations: 379.9 MB / 3.707 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.142e-06/9.077, allocations: 0 / 3.707 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001848/9.078, allocations: 96.16 kB / 3.707 GB, free: 67.52 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.03569/9.113, allocations: 10.08 MB / 3.717 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/9.113, allocations: 7.438 kB / 3.717 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006624/9.12, allocations: 0.7782 MB / 3.717 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/9.131, allocations: 2.934 MB / 3.72 GB, free: 65.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00058/9.132, allocations: 392 kB / 3.721 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/9.135, allocations: 0.5085 MB / 3.721 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03749/9.172, allocations: 11.92 MB / 3.733 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002749/9.173, allocations: 0 / 3.733 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002669/9.175, allocations: 215.2 kB / 3.733 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/9.175, allocations: 212.1 kB / 3.733 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0566/9.232, allocations: 13.9 MB / 3.747 GB, free: 65.09 MB / 0.5261 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.04654/9.279, allocations: 24 MB / 3.77 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/9.293, allocations: 4.512 MB / 3.775 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004432/9.298, allocations: 1.963 MB / 3.777 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1468/9.445, allocations: 64 MB / 3.839 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.569e-05/9.445, allocations: 59.59 kB / 3.839 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 7.456e-06/9.445, allocations: 11.17 kB / 3.839 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.05078/9.495, allocations: 11.51 MB / 3.85 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/9.496, allocations: 77.91 kB / 3.85 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006346/9.502, allocations: 3.561 MB / 3.854 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/9.503, allocations: 66.27 kB / 3.854 GB, free: 27.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002233/9.505, allocations: 3.151 MB / 3.857 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/9.507, allocations: 1.003 MB / 3.858 GB, free: 24.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/9.509, allocations: 174.3 kB / 3.858 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008064/9.51, allocations: 0.7159 MB / 3.859 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008111/9.518, allocations: 3.654 MB / 3.862 GB, free: 20.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/9.529, allocations: 8.738 MB / 3.871 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/9.542, allocations: 5.335 MB / 3.876 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001788/9.542, allocations: 55.94 kB / 3.876 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.04055/9.583, allocations: 14.01 MB / 3.89 GB, free: 9.227 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3737/9.956, allocations: 71.36 MB / 3.96 GB, free: 20.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004956/9.957, allocations: 183.2 kB / 3.96 GB, free: 20.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04718/10, allocations: 10.02 MB / 3.97 GB, free: 20.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007473/10.01, allocations: 1.768 MB / 3.971 GB, free: 20.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/10.04, allocations: 8.901 MB / 3.98 GB, free: 20.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/10.05, allocations: 1.306 MB / 3.981 GB, free: 20.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002475/10.05, allocations: 0.647 MB / 3.982 GB, free: 20.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/10.05, allocations: 3.844 kB / 3.982 GB, free: 20.34 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03467/10.08, allocations: 13.55 MB / 3.995 GB, free: 19.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006788/10.08, allocations: 179 kB / 3.995 GB, free: 19.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04695/10.13, allocations: 10.01 MB / 4.005 GB, free: 19.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007106/10.14, allocations: 1.756 MB / 4.007 GB, free: 19.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02441/10.16, allocations: 8.896 MB / 4.015 GB, free: 35.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009573/10.17, allocations: 0.9801 MB / 4.016 GB, free: 34.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002806/10.17, allocations: 0.6415 MB / 4.017 GB, free: 34.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 14 (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 (949): * Single equations (assignments): 948 * 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 141} Notification: Performance of prepare postOptimizeDAE: time 0.003648/10.18, allocations: 0.7251 MB / 4.018 GB, free: 34.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/10.18, allocations: 362.5 kB / 4.018 GB, free: 34.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05928/10.24, allocations: 31.84 MB / 4.049 GB, free: 30.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.518e-05/10.24, allocations: 69.61 kB / 4.049 GB, free: 30.64 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/10.24, allocations: 0 / 4.049 GB, free: 30.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.836e-05/10.24, allocations: 14.72 kB / 4.049 GB, free: 30.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07779/10.32, allocations: 43.25 MB / 4.092 GB, free: 7.711 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-05/10.32, allocations: 3.828 kB / 4.092 GB, free: 7.711 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/10.32, allocations: 416.7 kB / 4.092 GB, free: 7.438 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03778/10.36, allocations: 6.923 MB / 4.099 GB, free: 3.082 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00122/10.36, allocations: 124.8 kB / 4.099 GB, free: 2.996 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.416/10.78, allocations: 26.93 MB / 4.125 GB, free: 94.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/10.78, allocations: 3.781 kB / 4.125 GB, free: 94.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0444/10.82, allocations: 13.75 MB / 4.139 GB, free: 93.65 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002887/10.82, allocations: 0.9049 MB / 4.139 GB, free: 93.26 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/10.82, allocations: 84.23 kB / 4.14 GB, free: 93.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004343/10.83, allocations: 284.3 kB / 4.14 GB, free: 93.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001861/10.83, allocations: 237.7 kB / 4.14 GB, free: 93.24 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000819/10.83, allocations: 105.5 kB / 4.14 GB, free: 93.24 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004613/10.84, allocations: 2.301 MB / 4.142 GB, free: 93.08 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.343e-06/10.84, allocations: 0 / 4.142 GB, free: 93.08 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01984/10.86, allocations: 3.317 MB / 4.146 GB, free: 92.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.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.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.007852/10.86, allocations: 1.423 MB / 4.147 GB, free: 92.74 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03841/10.9, allocations: 15.51 MB / 4.162 GB, free: 92.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/10.9, allocations: 6.281 kB / 4.162 GB, free: 92.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/10.91, allocations: 4.117 MB / 4.166 GB, free: 92.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/10.92, allocations: 0.6628 MB / 4.167 GB, free: 92.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/10.94, allocations: 9.915 MB / 4.176 GB, free: 90.72 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003702/10.95, allocations: 2.832 MB / 4.179 GB, free: 89.93 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01774/10.96, allocations: 5.903 MB / 4.185 GB, free: 89.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/10.96, allocations: 284.2 kB / 4.185 GB, free: 89.71 MB / 0.573 GB Notification: Performance of SimCode: time 1.876e-06/10.96, allocations: 0 / 4.185 GB, free: 89.71 MB / 0.573 GB Notification: Performance of Templates: time 0.6338/11.6, allocations: 172.3 MB / 4.354 GB, free: 92.82 MB / 0.573 GB