Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast") Notification: Performance of loadModel(ThermoPower): time 2.281/2.281, allocations: 254.6 MB / 267.6 MB, free: 12.37 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.23e-05, allocations: 4 kB / 330.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3135, allocations: 60.24 MB / 391 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.174/8.488, allocations: 3.296 GB / 3.678 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/8.488, allocations: 76.12 kB / 3.678 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.136/13.62, allocations: 1.343 GB / 5.021 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.009e-06/13.62, allocations: 0 / 5.021 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001071/13.62, allocations: 53.67 kB / 5.021 GB, free: 77.19 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01435/13.64, allocations: 4.053 MB / 5.025 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/13.64, allocations: 7.938 kB / 5.025 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/13.64, allocations: 260.2 kB / 5.025 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00601/13.65, allocations: 1.574 MB / 5.026 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/13.65, allocations: 173.4 kB / 5.027 GB, free: 75.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/13.65, allocations: 271.8 kB / 5.027 GB, free: 75.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009358/13.66, allocations: 3.805 MB / 5.031 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/13.66, allocations: 3.344 kB / 5.031 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000381/13.66, allocations: 97.3 kB / 5.031 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/13.66, allocations: 138 kB / 5.031 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/13.67, allocations: 5.522 MB / 5.036 GB, free: 75.24 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.02859/13.7, allocations: 15.48 MB / 5.051 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/13.71, allocations: 4.719 MB / 5.056 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0041/13.71, allocations: 1.931 MB / 5.058 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01706/13.73, allocations: 9.968 MB / 5.068 GB, free: 62.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/13.73, allocations: 60.38 kB / 5.068 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 5.332e-06/13.73, allocations: 0 / 5.068 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.013/13.74, allocations: 4.881 MB / 5.072 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/13.74, allocations: 78.5 kB / 5.072 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/13.75, allocations: 0.6971 MB / 5.073 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005252/13.75, allocations: 73.11 kB / 5.073 GB, free: 60.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/13.75, allocations: 0.8476 MB / 5.074 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000966/13.75, allocations: 0.847 MB / 5.075 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/13.75, allocations: 51.5 kB / 5.075 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000221/13.75, allocations: 458.9 kB / 5.075 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/13.75, allocations: 1.368 MB / 5.077 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/13.75, allocations: 2.022 MB / 5.079 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/13.76, allocations: 1.693 MB / 5.08 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.902e-05/13.76, allocations: 6.844 kB / 5.08 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01074/13.77, allocations: 4.366 MB / 5.085 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001408/13.77, allocations: 7.148 MB / 5.092 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/13.77, allocations: 19.28 kB / 5.092 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006191/13.78, allocations: 1.258 MB / 5.093 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/13.78, allocations: 496.3 kB / 5.093 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009165/13.79, allocations: 11.58 MB / 5.105 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/13.79, allocations: 397.8 kB / 5.105 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000594/13.79, allocations: 116.7 kB / 5.105 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/13.79, allocations: 6.719 kB / 5.105 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01007/13.8, allocations: 4.166 MB / 5.109 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-05/13.8, allocations: 18.97 kB / 5.109 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006419/13.81, allocations: 1.261 MB / 5.11 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/13.81, allocations: 477.5 kB / 5.111 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008562/13.82, allocations: 11.59 MB / 5.122 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/13.82, allocations: 353.5 kB / 5.122 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003709/13.82, allocations: 111.4 kB / 5.123 GB, free: 21.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 263 * 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: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007365/13.83, allocations: 260.2 kB / 5.123 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/13.83, allocations: 154.2 kB / 5.123 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/13.84, allocations: 5.47 MB / 5.128 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/13.84, allocations: 26.53 kB / 5.128 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/13.84, allocations: 16 kB / 5.128 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.143e-05/13.84, allocations: 10.31 kB / 5.128 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/13.85, allocations: 2.505 MB / 5.131 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/13.85, allocations: 4 kB / 5.131 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/13.85, allocations: 325.5 kB / 5.131 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01197/13.86, allocations: 2.693 MB / 5.134 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007161/13.86, allocations: 91.38 kB / 5.134 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/13.89, allocations: 11.77 MB / 5.145 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.459e-06/13.89, allocations: 3.938 kB / 5.145 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/13.91, allocations: 7.113 MB / 5.152 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/13.91, allocations: 0.5779 MB / 5.153 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007501/13.91, allocations: 63.47 kB / 5.153 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/13.91, allocations: 185.7 kB / 5.153 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009438/13.91, allocations: 182.2 kB / 5.153 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000411/13.91, allocations: 84.67 kB / 5.153 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001021/13.91, allocations: 0.5145 MB / 5.154 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.004e-06/13.91, allocations: 0 / 5.154 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008478/13.92, allocations: 1.614 MB / 5.155 GB, free: 10.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 179 * 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: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/13.92, allocations: 344.4 kB / 5.156 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02545/13.95, allocations: 6.844 MB / 5.162 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.454e-06/13.95, allocations: 2.719 kB / 5.162 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008404/13.96, allocations: 2.594 MB / 5.165 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/13.96, allocations: 0.8847 MB / 5.166 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3726/14.34, allocations: 5.082 MB / 5.171 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/14.34, allocations: 1.691 MB / 5.172 GB, free: 84.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005735/14.34, allocations: 1.325 MB / 5.174 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/14.34, allocations: 156.9 kB / 5.174 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.97e-06/14.34, allocations: 0 / 5.174 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.1144/14.46, allocations: 56.46 MB / 5.229 GB, free: 82.59 MB / 0.5261 GB