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.242/2.242, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.22e-05, allocations: 4 kB / 332 MB, free: 12.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 59.96 MB / 392 MB, free: 4.605 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.4738, allocations: 100.7 MB / 492.7 MB, free: 15.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4741, allocations: 87.95 kB / 492.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.005/7.479, allocations: 1.002 GB / 1.483 GB, free: 20.18 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.202e-06/7.479, allocations: 0 / 1.483 GB, free: 20.18 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.001619/7.48, allocations: 1.028 MB / 1.484 GB, free: 20.17 MB / 0.573 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.2281/7.709, allocations: 51.77 MB / 1.534 GB, free: 14.95 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/7.709, allocations: 12.03 kB / 1.534 GB, free: 14.94 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0418/7.751, allocations: 5.413 MB / 1.54 GB, free: 9.457 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1576/7.908, allocations: 34.04 MB / 1.573 GB, free: 15.48 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01448/7.923, allocations: 10.03 MB / 1.583 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03795/7.961, allocations: 5.158 MB / 1.588 GB, free: 2.785 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7947/8.755, allocations: 130.8 MB / 1.715 GB, free: 32.06 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002973/8.758, allocations: 101.2 kB / 1.716 GB, free: 32.05 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03347/8.792, allocations: 2.09 MB / 1.718 GB, free: 30.4 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008645/8.801, allocations: 9.185 MB / 1.727 GB, free: 28.42 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.983/9.784, allocations: 191 MB / 1.913 GB, free: 68.27 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.31/11.09, allocations: 333.9 MB / 2.239 GB, free: 22.23 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7501/11.84, allocations: 114.9 MB / 2.351 GB, free: 71.91 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1064/11.95, allocations: 46.74 MB / 2.397 GB, free: 69.07 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006495/11.96, allocations: 1.924 MB / 2.399 GB, free: 67.96 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/11.96, allocations: 0.5545 MB / 2.4 GB, free: 67.55 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=5197): time 9.192e-05/11.96, allocations: 0 / 2.4 GB, free: 67.55 MB / 0.6668 GB Notification: Performance of matching and sorting (n=5207): time 1.01/12.97, allocations: 194.8 MB / 2.59 GB, free: 85.64 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004031/12.97, allocations: 0.6004 MB / 2.59 GB, free: 85.51 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00737/12.98, allocations: 3.324 MB / 2.594 GB, free: 85.26 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.01424/12.99, allocations: 0.8504 MB / 2.594 GB, free: 85.23 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.008494/13, allocations: 18.27 MB / 2.612 GB, free: 77.13 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.02789/13.03, allocations: 17.74 MB / 2.63 GB, free: 65.74 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01448/13.04, allocations: 0.863 MB / 2.63 GB, free: 65.74 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.004613/13.05, allocations: 2.259 MB / 2.633 GB, free: 65.33 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09472/13.14, allocations: 39.44 MB / 2.671 GB, free: 65.24 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1046/13.25, allocations: 42.84 MB / 2.713 GB, free: 52.25 MB / 0.6824 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = $START.surgeTank.Vdot (surgeTank.Vdot_0 = $START.surgeTank.Vdot) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.h = $START.surgeTank.h (surgeTank.h_0 = $START.surgeTank.h) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (surgeTank.Vdot_0 - pipe.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discharge.Vdot = discharge.Vdot_0 (pipe.Vdot_0 - surgeTank.Vdot_0 = discharge.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 2.954/16.2, allocations: 477.2 MB / 3.179 GB, free: 74.39 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/16.2, allocations: 11.36 kB / 3.179 GB, free: 74.39 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5660) (initialization): time 0.2506/16.45, allocations: 90.8 MB / 3.268 GB, free: 49.29 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/16.45, allocations: 19.12 kB / 3.268 GB, free: 49.29 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/16.45, allocations: 22.81 kB / 3.268 GB, free: 49.29 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/16.45, allocations: 391.4 kB / 3.268 GB, free: 49.24 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09955/16.55, allocations: 13.01 MB / 3.281 GB, free: 48.43 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/16.56, allocations: 2.709 MB / 3.283 GB, free: 46.57 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04472/16.6, allocations: 3.829 MB / 3.287 GB, free: 45.88 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01685/16.62, allocations: 1.856 MB / 3.289 GB, free: 45.54 MB / 0.6824 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h penstock.Vdot = penstock.Vdot_0 discharge.Vdot = discharge.Vdot_0. 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.02893/16.65, allocations: 2.33 MB / 3.291 GB, free: 43.54 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01702/16.66, allocations: 1.798 MB / 3.293 GB, free: 43.54 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8433/17.51, allocations: 111.6 MB / 3.402 GB, free: 80.3 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000475/17.51, allocations: 0.5866 MB / 3.403 GB, free: 80.3 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001548/17.51, allocations: 1.188 kB / 3.403 GB, free: 80.3 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/17.51, allocations: 299.3 kB / 3.403 GB, free: 80.3 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5359/18.05, allocations: 209 MB / 3.607 GB, free: 24.71 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005694/18.05, allocations: 20 kB / 3.607 GB, free: 24.69 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1061/18.15, allocations: 14.1 MB / 3.621 GB, free: 13.89 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/18.15, allocations: 419.1 kB / 3.621 GB, free: 13.53 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01635/18.17, allocations: 1.67 MB / 3.623 GB, free: 12.23 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005624/18.18, allocations: 5.303 MB / 3.628 GB, free: 6.816 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.541e-05/18.18, allocations: 39.81 kB / 3.628 GB, free: 6.777 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.826/19, allocations: 171.5 MB / 3.795 GB, free: 60.98 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004276/19.01, allocations: 2.323 MB / 3.798 GB, free: 60.64 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01808/19.03, allocations: 1.154 MB / 3.799 GB, free: 59.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0497/19.07, allocations: 3.839 MB / 3.803 GB, free: 59 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.04878/19.12, allocations: 15.33 MB / 3.818 GB, free: 55.82 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01765/19.14, allocations: 1.926 MB / 3.819 GB, free: 54.23 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.005178/19.15, allocations: 2.396 MB / 3.822 GB, free: 52.09 MB / 0.6824 GB Notification: Performance of sort global known variables: time 9.68e-07/19.15, allocations: 0 / 3.822 GB, free: 52.09 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.06081/19.21, allocations: 12.36 MB / 3.834 GB, free: 39.75 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 104 * Number of states: 206 (reservoir.m,tail.m,pipe.Vdot,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,surgeTank.Vdot,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.0178/19.23, allocations: 2.226 MB / 3.836 GB, free: 37.93 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.6602/19.89, allocations: 96.6 MB / 3.93 GB, free: 122.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/19.89, allocations: 3.562 kB / 3.93 GB, free: 122.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.1747/20.06, allocations: 84.93 MB / 4.013 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03191/20.09, allocations: 4.208 MB / 4.017 GB, free: 117.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3817/20.47, allocations: 141.5 MB / 4.156 GB, free: 19.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.007/21.48, allocations: 34.22 MB / 4.189 GB, free: 104 MB / 0.6982 GB Notification: Performance of simCode: alias equations: time 0.126/21.61, allocations: 29.94 MB / 4.218 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05182/21.66, allocations: 4.18 MB / 4.222 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of SimCode: time 2.145e-06/21.66, allocations: 0 / 4.222 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of Templates: time 2.864/24.52, allocations: 0.5851 GB / 4.807 GB, free: 125.1 MB / 0.7296 GB