Running command: translateModel(OpenHPL.Examples.HPSimple_OpenChannel,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPSimple_OpenChannel") Notification: Performance of loadModel(OpenHPL): time 2.159/2.159, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.302e-05, allocations: 6.188 kB / 335.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 60.24 MB / 395.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5393, allocations: 100.9 MB / 496.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.5396, allocations: 88.52 kB / 496.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.178/7.718, allocations: 1.003 GB / 1.489 GB, free: 45.34 MB / 0.5732 GB Notification: Performance of FrontEnd: time 3.539e-06/7.718, allocations: 0 / 1.489 GB, free: 45.34 MB / 0.5732 GB Notification: Performance of Transformations before backend: time 0.002126/7.72, allocations: 1.021 MB / 1.49 GB, free: 45.34 MB / 0.5732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19147 * Number of variables: 19147 Notification: Performance of Generate backend data structure: time 0.2287/7.949, allocations: 51.62 MB / 1.54 GB, free: 29.59 MB / 0.5732 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/7.949, allocations: 9.812 kB / 1.54 GB, free: 29.59 MB / 0.5732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03982/7.989, allocations: 5.418 MB / 1.545 GB, free: 26.52 MB / 0.5732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08502/8.074, allocations: 30.2 MB / 1.575 GB, free: 21.73 MB / 0.5732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01207/8.086, allocations: 10.02 MB / 1.585 GB, free: 15.31 MB / 0.5732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03907/8.125, allocations: 5.157 MB / 1.59 GB, free: 14.5 MB / 0.5732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8703/8.996, allocations: 135.2 MB / 1.722 GB, free: 67.47 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00322/8.999, allocations: 95.31 kB / 1.722 GB, free: 67.46 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03493/9.034, allocations: 2.092 MB / 1.724 GB, free: 65.81 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008457/9.042, allocations: 9.188 MB / 1.733 GB, free: 63.86 MB / 0.6044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.073/10.11, allocations: 201.5 MB / 1.93 GB, free: 74.51 MB / 0.62 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.376/11.49, allocations: 333.9 MB / 2.256 GB, free: 47.72 MB / 0.6357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7777/12.27, allocations: 120 MB / 2.373 GB, free: 105.1 MB / 0.6669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007053/12.28, allocations: 1.927 MB / 2.375 GB, free: 104.1 MB / 0.6669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006585/12.28, allocations: 0.5482 MB / 2.375 GB, free: 104 MB / 0.6669 GB Notification: Performance of pre-optimization done (n=5197): time 0.0001232/12.28, allocations: 0.5938 kB / 2.375 GB, free: 104 MB / 0.6669 GB Notification: Performance of matching and sorting (n=5207): time 0.6877/12.96, allocations: 238.3 MB / 2.608 GB, free: 8.652 MB / 0.6669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004085/12.96, allocations: 0.5916 MB / 2.609 GB, free: 8.039 MB / 0.6669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007802/12.97, allocations: 3.356 MB / 2.612 GB, free: 5.203 MB / 0.6669 GB Notification: Performance of collectPreVariables (initialization): time 0.01472/12.99, allocations: 0.8532 MB / 2.613 GB, free: 4.344 MB / 0.6669 GB Notification: Performance of collectInitialEqns (initialization): time 0.4419/13.43, allocations: 18.26 MB / 2.63 GB, free: 101.3 MB / 0.6669 GB Notification: Performance of collectInitialBindings (initialization): time 0.03033/13.46, allocations: 17.73 MB / 2.648 GB, free: 89.89 MB / 0.6669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01643/13.48, allocations: 0.8679 MB / 2.649 GB, free: 89.89 MB / 0.6669 GB Notification: Performance of setup shared object (initialization): time 0.005354/13.48, allocations: 2.251 MB / 2.651 GB, free: 89.49 MB / 0.6669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1083/13.59, allocations: 41.19 MB / 2.691 GB, free: 89.24 MB / 0.6669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1143/13.7, allocations: 44.86 MB / 2.735 GB, free: 72.94 MB / 0.6669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1196/13.82, allocations: 47.83 MB / 2.782 GB, free: 54.4 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002191/13.82, allocations: 7.812 kB / 2.782 GB, free: 54.4 MB / 0.6669 GB Notification: Performance of matching and sorting (n=5660) (initialization): time 0.7443/14.57, allocations: 98.71 MB / 2.878 GB, free: 91.65 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/14.57, allocations: 16.5 kB / 2.878 GB, free: 91.65 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001598/14.57, allocations: 25.05 kB / 2.878 GB, free: 91.65 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/14.57, allocations: 397.1 kB / 2.878 GB, free: 91.64 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09532/14.67, allocations: 13.03 MB / 2.891 GB, free: 91.23 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005246/14.67, allocations: 2.745 MB / 2.894 GB, free: 89.88 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04522/14.72, allocations: 3.827 MB / 2.898 GB, free: 89.88 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0174/14.73, allocations: 1.855 MB / 2.899 GB, free: 89.88 MB / 0.6669 GB Warning: Assuming fixed start value for the following 3 variables: pipe1.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real pipe.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real penstock.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5642): * Single equations (assignments): 5641 * 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 {1 18} Notification: Performance of prepare postOptimizeDAE: time 0.06828/14.8, allocations: 22.88 MB / 2.922 GB, free: 89.21 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01784/14.82, allocations: 1.797 MB / 2.923 GB, free: 89.21 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3339/15.15, allocations: 110.9 MB / 3.032 GB, free: 54.86 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005828/15.15, allocations: 0.5872 MB / 3.032 GB, free: 54.86 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001882/15.15, allocations: 0 / 3.032 GB, free: 54.86 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001682/15.16, allocations: 303.3 kB / 3.033 GB, free: 54.86 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.077/16.23, allocations: 213.1 MB / 3.241 GB, free: 82.82 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006092/16.23, allocations: 25.88 kB / 3.241 GB, free: 82.82 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1087/16.34, allocations: 14.1 MB / 3.255 GB, free: 81.85 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/16.34, allocations: 408.5 kB / 3.255 GB, free: 81.81 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01667/16.36, allocations: 1.668 MB / 3.257 GB, free: 80.98 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006053/16.37, allocations: 5.374 MB / 3.262 GB, free: 76.42 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.242e-05/16.37, allocations: 35.38 kB / 3.262 GB, free: 76.41 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9627/17.33, allocations: 181.3 MB / 3.439 GB, free: 106.9 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/17.34, allocations: 2.326 MB / 3.441 GB, free: 106.7 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01742/17.35, allocations: 1.151 MB / 3.442 GB, free: 106.7 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05103/17.4, allocations: 3.836 MB / 3.446 GB, free: 106.7 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.04805/17.45, allocations: 15.33 MB / 3.461 GB, free: 104.7 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01724/17.47, allocations: 1.923 MB / 3.463 GB, free: 104.7 MB / 0.6825 GB Notification: Performance of sorting global known variables: time 0.005136/17.47, allocations: 2.431 MB / 3.465 GB, free: 104.5 MB / 0.6825 GB Notification: Performance of sort global known variables: time 8.77e-07/17.47, allocations: 0 / 3.465 GB, free: 104.5 MB / 0.6825 GB Notification: Performance of remove unused functions: time 0.06269/17.54, allocations: 12.35 MB / 3.477 GB, free: 104.2 MB / 0.6825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 104 * Number of states: 206 (reservoir.m,tail.m,penstock.M,pipe.M,openChannel.openChannel.U[1],openChannel.openChannel.U[2],openChannel.openChannel.U[3],openChannel.openChannel.U[4],openChannel.openChannel.U[5],openChannel.openChannel.U[6],openChannel.openChannel.U[7],openChannel.openChannel.U[8],openChannel.openChannel.U[9],openChannel.openChannel.U[10],openChannel.openChannel.U[11],openChannel.openChannel.U[12],openChannel.openChannel.U[13],openChannel.openChannel.U[14],openChannel.openChannel.U[15],openChannel.openChannel.U[16],openChannel.openChannel.U[17],openChannel.openChannel.U[18],openChannel.openChannel.U[19],openChannel.openChannel.U[20],openChannel.openChannel.U[21],openChannel.openChannel.U[22],openChannel.openChannel.U[23],openChannel.openChannel.U[24],openChannel.openChannel.U[25],openChannel.openChannel.U[26],openChannel.openChannel.U[27],openChannel.openChannel.U[28],openChannel.openChannel.U[29],openChannel.openChannel.U[30],openChannel.openChannel.U[31],openChannel.openChannel.U[32],openChannel.openChannel.U[33],openChannel.openChannel.U[34],openChannel.openChannel.U[35],openChannel.openChannel.U[36],openChannel.openChannel.U[37],openChannel.openChannel.U[38],openChannel.openChannel.U[39],openChannel.openChannel.U[40],openChannel.openChannel.U[41],openChannel.openChannel.U[42],openChannel.openChannel.U[43],openChannel.openChannel.U[44],openChannel.openChannel.U[45],openChannel.openChannel.U[46],openChannel.openChannel.U[47],openChannel.openChannel.U[48],openChannel.openChannel.U[49],openChannel.openChannel.U[50],openChannel.openChannel.U[51],openChannel.openChannel.U[52],openChannel.openChannel.U[53],openChannel.openChannel.U[54],openChannel.openChannel.U[55],openChannel.openChannel.U[56],openChannel.openChannel.U[57],openChannel.openChannel.U[58],openChannel.openChannel.U[59],openChannel.openChannel.U[60],openChannel.openChannel.U[61],openChannel.openChannel.U[62],openChannel.openChannel.U[63],openChannel.openChannel.U[64],openChannel.openChannel.U[65],openChannel.openChannel.U[66],openChannel.openChannel.U[67],openChannel.openChannel.U[68],openChannel.openChannel.U[69],openChannel.openChannel.U[70],openChannel.openChannel.U[71],openChannel.openChannel.U[72],openChannel.openChannel.U[73],openChannel.openChannel.U[74],openChannel.openChannel.U[75],openChannel.openChannel.U[76],openChannel.openChannel.U[77],openChannel.openChannel.U[78],openChannel.openChannel.U[79],openChannel.openChannel.U[80],openChannel.openChannel.U[81],openChannel.openChannel.U[82],openChannel.openChannel.U[83],openChannel.openChannel.U[84],openChannel.openChannel.U[85],openChannel.openChannel.U[86],openChannel.openChannel.U[87],openChannel.openChannel.U[88],openChannel.openChannel.U[89],openChannel.openChannel.U[90],openChannel.openChannel.U[91],openChannel.openChannel.U[92],openChannel.openChannel.U[93],openChannel.openChannel.U[94],openChannel.openChannel.U[95],openChannel.openChannel.U[96],openChannel.openChannel.U[97],openChannel.openChannel.U[98],openChannel.openChannel.U[99],openChannel.openChannel.U[100],openChannel.openChannel.U[101],openChannel.openChannel.U[102],openChannel.openChannel.U[103],openChannel.openChannel.U[104],openChannel.openChannel.U[105],openChannel.openChannel.U[106],openChannel.openChannel.U[107],openChannel.openChannel.U[108],openChannel.openChannel.U[109],openChannel.openChannel.U[110],openChannel.openChannel.U[111],openChannel.openChannel.U[112],openChannel.openChannel.U[113],openChannel.openChannel.U[114],openChannel.openChannel.U[115],openChannel.openChannel.U[116],openChannel.openChannel.U[117],openChannel.openChannel.U[118],openChannel.openChannel.U[119],openChannel.openChannel.U[120],openChannel.openChannel.U[121],openChannel.openChannel.U[122],openChannel.openChannel.U[123],openChannel.openChannel.U[124],openChannel.openChannel.U[125],openChannel.openChannel.U[126],openChannel.openChannel.U[127],openChannel.openChannel.U[128],openChannel.openChannel.U[129],openChannel.openChannel.U[130],openChannel.openChannel.U[131],openChannel.openChannel.U[132],openChannel.openChannel.U[133],openChannel.openChannel.U[134],openChannel.openChannel.U[135],openChannel.openChannel.U[136],openChannel.openChannel.U[137],openChannel.openChannel.U[138],openChannel.openChannel.U[139],openChannel.openChannel.U[140],openChannel.openChannel.U[141],openChannel.openChannel.U[142],openChannel.openChannel.U[143],openChannel.openChannel.U[144],openChannel.openChannel.U[145],openChannel.openChannel.U[146],openChannel.openChannel.U[147],openChannel.openChannel.U[148],openChannel.openChannel.U[149],openChannel.openChannel.U[150],openChannel.openChannel.U[151],openChannel.openChannel.U[152],openChannel.openChannel.U[153],openChannel.openChannel.U[154],openChannel.openChannel.U[155],openChannel.openChannel.U[156],openChannel.openChannel.U[157],openChannel.openChannel.U[158],openChannel.openChannel.U[159],openChannel.openChannel.U[160],openChannel.openChannel.U[161],openChannel.openChannel.U[162],openChannel.openChannel.U[163],openChannel.openChannel.U[164],openChannel.openChannel.U[165],openChannel.openChannel.U[166],openChannel.openChannel.U[167],openChannel.openChannel.U[168],openChannel.openChannel.U[169],openChannel.openChannel.U[170],openChannel.openChannel.U[171],openChannel.openChannel.U[172],openChannel.openChannel.U[173],openChannel.openChannel.U[174],openChannel.openChannel.U[175],openChannel.openChannel.U[176],openChannel.openChannel.U[177],openChannel.openChannel.U[178],openChannel.openChannel.U[179],openChannel.openChannel.U[180],openChannel.openChannel.U[181],openChannel.openChannel.U[182],openChannel.openChannel.U[183],openChannel.openChannel.U[184],openChannel.openChannel.U[185],openChannel.openChannel.U[186],openChannel.openChannel.U[187],openChannel.openChannel.U[188],openChannel.openChannel.U[189],openChannel.openChannel.U[190],openChannel.openChannel.U[191],openChannel.openChannel.U[192],openChannel.openChannel.U[193],openChannel.openChannel.U[194],openChannel.openChannel.U[195],openChannel.openChannel.U[196],openChannel.openChannel.U[197],openChannel.openChannel.U[198],openChannel.openChannel.U[199],openChannel.openChannel.U[200],surgeTank.m,pipe1.M) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6397): * Single equations (assignments): 6394 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01777/17.55, allocations: 2.228 MB / 3.48 GB, free: 102.7 MB / 0.6825 GB Notification: Performance of simCode: created initialization part: time 0.2831/17.84, allocations: 96.23 MB / 3.574 GB, free: 70.38 MB / 0.6825 GB Notification: Performance of simCode: created event and clocks part: time 1.95e-05/17.84, allocations: 3.812 kB / 3.574 GB, free: 70.38 MB / 0.6825 GB Notification: Performance of simCode: created simulation system equations: time 0.6489/18.49, allocations: 87.81 MB / 3.659 GB, free: 126.4 MB / 0.6825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03214/18.52, allocations: 4.212 MB / 3.663 GB, free: 126.2 MB / 0.6825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3916/18.91, allocations: 184.7 MB / 3.844 GB, free: 58.61 MB / 0.6825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1003/19.01, allocations: 34.18 MB / 3.877 GB, free: 32.92 MB / 0.6825 GB Notification: Performance of simCode: alias equations: time 0.1237/19.13, allocations: 29.94 MB / 3.906 GB, free: 11.12 MB / 0.6825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5142/19.65, allocations: 4.288 MB / 3.911 GB, free: 99.34 MB / 0.6825 GB Notification: Performance of SimCode: time 1.777e-06/19.65, allocations: 0 / 3.911 GB, free: 99.34 MB / 0.6825 GB Notification: Performance of Templates: time 2.867/22.52, allocations: 0.5923 GB / 4.503 GB, free: 174.8 MB / 0.7453 GB