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.234/2.234, allocations: 256.4 MB / 268.5 MB, free: 12.26 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.767e-05/4.777e-05, allocations: 8 kB / 331.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.341, allocations: 59.81 MB / 391 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5413, allocations: 100.6 MB / 491.6 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5416, allocations: 79.95 kB / 491.7 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.805/7.347, allocations: 1.002 GB / 1.482 GB, free: 19.78 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.925e-06/7.347, allocations: 0 / 1.482 GB, free: 19.78 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.001958/7.349, allocations: 1.025 MB / 1.483 GB, free: 19.77 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.2256/7.574, allocations: 51.62 MB / 1.533 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/7.574, allocations: 16.03 kB / 1.533 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04167/7.616, allocations: 5.412 MB / 1.539 GB, free: 11.49 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1403/7.756, allocations: 33.03 MB / 1.571 GB, free: 15.48 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01503/7.771, allocations: 10.02 MB / 1.581 GB, free: 6.238 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03978/7.811, allocations: 5.158 MB / 1.586 GB, free: 2.789 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.802/8.613, allocations: 131.5 MB / 1.714 GB, free: 33.48 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003125/8.616, allocations: 98.36 kB / 1.714 GB, free: 33.46 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03309/8.65, allocations: 2.096 MB / 1.716 GB, free: 31.81 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008257/8.658, allocations: 9.18 MB / 1.725 GB, free: 29.84 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9772/9.635, allocations: 191.8 MB / 1.912 GB, free: 68.31 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.386/11.02, allocations: 333.9 MB / 2.239 GB, free: 21.64 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7733/11.79, allocations: 118.4 MB / 2.354 GB, free: 75.12 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1071/11.9, allocations: 46.74 MB / 2.4 GB, free: 74.61 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007075/11.91, allocations: 1.929 MB / 2.402 GB, free: 73.5 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/11.91, allocations: 0.5493 MB / 2.402 GB, free: 73.1 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=5197): time 9.185e-05/11.91, allocations: 3.656 kB / 2.402 GB, free: 73.1 MB / 0.6668 GB Notification: Performance of matching and sorting (n=5207): time 1.012/12.92, allocations: 194.7 MB / 2.592 GB, free: 74.89 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004/12.92, allocations: 0.5952 MB / 2.593 GB, free: 74.75 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007796/12.93, allocations: 3.322 MB / 2.596 GB, free: 74.5 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.01532/12.94, allocations: 0.8547 MB / 2.597 GB, free: 74.47 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.008607/12.95, allocations: 18.27 MB / 2.615 GB, free: 66.37 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.02946/12.98, allocations: 17.74 MB / 2.632 GB, free: 54.98 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01597/13, allocations: 0.8669 MB / 2.633 GB, free: 54.98 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.005133/13, allocations: 2.253 MB / 2.635 GB, free: 54.57 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09722/13.1, allocations: 39.44 MB / 2.674 GB, free: 54.48 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1057/13.21, allocations: 43.11 MB / 2.716 GB, free: 38.32 MB / 0.6668 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.898/16.1, allocations: 477.8 MB / 3.182 GB, free: 51.06 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.793e-05/16.11, allocations: 7.844 kB / 3.182 GB, free: 51.06 MB / 0.6668 GB Notification: Performance of matching and sorting (n=5660) (initialization): time 0.256/16.36, allocations: 90.87 MB / 3.271 GB, free: 11.18 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/16.36, allocations: 17.02 kB / 3.271 GB, free: 11.17 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/16.36, allocations: 28 kB / 3.271 GB, free: 11.14 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/16.36, allocations: 395.1 kB / 3.272 GB, free: 10.79 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1038/16.47, allocations: 13.01 MB / 3.284 GB, free: 1.152 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/16.48, allocations: 2.708 MB / 3.287 GB, free: 14.53 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05916/16.53, allocations: 3.824 MB / 3.291 GB, free: 12.2 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01791/16.55, allocations: 1.854 MB / 3.292 GB, free: 10.78 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.03052/16.58, allocations: 2.332 MB / 3.295 GB, free: 8.438 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01768/16.6, allocations: 1.801 MB / 3.297 GB, free: 7.539 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8087/17.41, allocations: 111.8 MB / 3.406 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004565/17.41, allocations: 0.5891 MB / 3.406 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001508/17.41, allocations: 0 / 3.406 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/17.41, allocations: 299.9 kB / 3.407 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5388/17.95, allocations: 209.1 MB / 3.611 GB, free: 5.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005811/17.95, allocations: 27.19 kB / 3.611 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6925/18.64, allocations: 14.12 MB / 3.625 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/18.65, allocations: 419.7 kB / 3.625 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.02393/18.67, allocations: 1.668 MB / 3.627 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008195/18.68, allocations: 5.3 MB / 3.632 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-05/18.68, allocations: 37.03 kB / 3.632 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3737/19.05, allocations: 171.5 MB / 3.799 GB, free: 65.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004314/19.06, allocations: 2.324 MB / 3.802 GB, free: 64.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01779/19.08, allocations: 1.153 MB / 3.803 GB, free: 63.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04822/19.12, allocations: 3.842 MB / 3.806 GB, free: 60.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.04676/19.17, allocations: 15.32 MB / 3.821 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01611/19.19, allocations: 1.926 MB / 3.823 GB, free: 50.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004975/19.19, allocations: 2.396 MB / 3.826 GB, free: 47.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.27e-07/19.19, allocations: 0 / 3.826 GB, free: 47.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.05945/19.25, allocations: 12.36 MB / 3.838 GB, free: 35.65 MB / 0.698 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.01701/19.27, allocations: 2.217 MB / 3.84 GB, free: 33.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.671/19.94, allocations: 93.64 MB / 3.931 GB, free: 114 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-05/19.94, allocations: 2.844 kB / 3.931 GB, free: 114 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.1773/20.12, allocations: 85.26 MB / 4.015 GB, free: 100.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03394/20.15, allocations: 4.209 MB / 4.019 GB, free: 98.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.368/21.52, allocations: 141.8 MB / 4.157 GB, free: 101.4 MB / 0.6982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1017/21.62, allocations: 34.19 MB / 4.19 GB, free: 99.29 MB / 0.6982 GB Notification: Performance of simCode: alias equations: time 0.1281/21.75, allocations: 29.94 MB / 4.22 GB, free: 96.07 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05116/21.8, allocations: 4.178 MB / 4.224 GB, free: 96.07 MB / 0.6982 GB Notification: Performance of SimCode: time 1.693e-06/21.8, allocations: 4 kB / 4.224 GB, free: 96.07 MB / 0.6982 GB Notification: Performance of Templates: time 2.313/24.11, allocations: 0.5923 GB / 4.816 GB, free: 106.5 MB / 0.7138 GB