Running command: "" <> buildModelFMU(OpenHPL.Examples.HPSimple_OpenChannel,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.677/2.677, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.745e-05, allocations: 8 kB / 332.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4392, allocations: 59.95 MB / 392.1 MB, free: 4.5 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2607/0.6999, allocations: 100.7 MB / 492.8 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004645/0.7005, allocations: 87.95 kB / 492.9 MB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.886/9.586, allocations: 1.002 GB / 1.483 GB, free: 20.39 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.338e-06/9.586, allocations: 2.812 kB / 1.483 GB, free: 20.39 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.002588/9.589, allocations: 1.026 MB / 1.484 GB, free: 20.38 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.3671/9.956, allocations: 51.94 MB / 1.535 GB, free: 14.95 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/9.956, allocations: 15.97 kB / 1.535 GB, free: 14.94 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.05649/10.01, allocations: 9.535 MB / 1.544 GB, free: 11.2 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04488/10.06, allocations: 5.42 MB / 1.549 GB, free: 5.707 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1122/10.17, allocations: 30.18 MB / 1.579 GB, free: 4 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4822/10.65, allocations: 10.02 MB / 1.589 GB, free: 49.06 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04364/10.7, allocations: 5.156 MB / 1.594 GB, free: 49.05 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5018/11.2, allocations: 129.7 MB / 1.72 GB, free: 23.22 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004029/11.2, allocations: 101 kB / 1.72 GB, free: 23.18 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04042/11.24, allocations: 2.089 MB / 1.722 GB, free: 21.53 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01031/11.25, allocations: 9.191 MB / 1.731 GB, free: 19.55 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.244/12.5, allocations: 191.8 MB / 1.919 GB, free: 63.39 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.751/14.25, allocations: 333.9 MB / 2.245 GB, free: 9.945 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 1.012/15.26, allocations: 114.9 MB / 2.357 GB, free: 74.16 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1435/15.4, allocations: 46.74 MB / 2.403 GB, free: 67.15 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009866/15.41, allocations: 1.926 MB / 2.404 GB, free: 66.04 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007258/15.41, allocations: 0.5485 MB / 2.405 GB, free: 65.63 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=5197): time 0.0001197/15.41, allocations: 0.5625 kB / 2.405 GB, free: 65.63 MB / 0.6668 GB Notification: Performance of matching and sorting (n=5207): time 1.367/16.78, allocations: 194.7 MB / 2.595 GB, free: 89.31 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004674/16.78, allocations: 0.601 MB / 2.596 GB, free: 89.18 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009079/16.79, allocations: 3.32 MB / 2.599 GB, free: 88.93 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.02003/16.81, allocations: 0.8544 MB / 2.6 GB, free: 88.9 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.01249/16.82, allocations: 18.27 MB / 2.618 GB, free: 80.8 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.03944/16.86, allocations: 17.73 MB / 2.635 GB, free: 69.41 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02179/16.88, allocations: 0.8683 MB / 2.636 GB, free: 69.41 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.006113/16.89, allocations: 2.248 MB / 2.638 GB, free: 69.01 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1269/17.02, allocations: 39.44 MB / 2.676 GB, free: 68.91 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1283/17.15, allocations: 42.84 MB / 2.718 GB, free: 52.88 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 4.144/21.29, allocations: 477.2 MB / 3.184 GB, free: 77.29 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/21.29, allocations: 6 kB / 3.184 GB, free: 77.29 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5660) (initialization): time 0.3306/21.62, allocations: 90.8 MB / 3.273 GB, free: 49.43 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/21.62, allocations: 21.14 kB / 3.273 GB, free: 49.43 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/21.62, allocations: 25.78 kB / 3.273 GB, free: 49.43 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/21.62, allocations: 396.1 kB / 3.273 GB, free: 49.39 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1397/21.76, allocations: 13.01 MB / 3.286 GB, free: 48.59 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/21.77, allocations: 2.709 MB / 3.289 GB, free: 46.74 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07359/21.84, allocations: 3.828 MB / 3.293 GB, free: 46.05 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02156/21.86, allocations: 1.859 MB / 3.294 GB, free: 45.7 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.04555/21.91, allocations: 2.327 MB / 3.297 GB, free: 43.71 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02452/21.93, allocations: 1.793 MB / 3.298 GB, free: 43.71 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9926/22.93, allocations: 107.6 MB / 3.403 GB, free: 84.38 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006753/22.93, allocations: 0.588 MB / 3.404 GB, free: 84.38 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00059/22.93, allocations: 2.5 kB / 3.404 GB, free: 84.38 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001914/22.93, allocations: 300.9 kB / 3.404 GB, free: 84.38 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6609/23.59, allocations: 209 MB / 3.608 GB, free: 5.73 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0009659/23.59, allocations: 24 kB / 3.608 GB, free: 5.707 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.7914/24.38, allocations: 14.11 MB / 3.622 GB, free: 97.51 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/24.39, allocations: 421.9 kB / 3.623 GB, free: 97.5 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.02347/24.41, allocations: 1.667 MB / 3.624 GB, free: 97.5 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009507/24.42, allocations: 5.296 MB / 3.629 GB, free: 93.53 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.262e-05/24.42, allocations: 41.66 kB / 3.629 GB, free: 93.52 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4789/24.9, allocations: 171.5 MB / 3.797 GB, free: 50.75 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005307/24.9, allocations: 2.334 MB / 3.799 GB, free: 49.61 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02422/24.93, allocations: 1.152 MB / 3.8 GB, free: 48.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07359/25, allocations: 3.832 MB / 3.804 GB, free: 46.09 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.07096/25.07, allocations: 15.33 MB / 3.819 GB, free: 36.86 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.05029/25.12, allocations: 1.921 MB / 3.821 GB, free: 35.27 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.007835/25.13, allocations: 2.403 MB / 3.823 GB, free: 33.12 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8.71e-07/25.13, allocations: 0 / 3.823 GB, free: 33.12 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0798/25.21, allocations: 12.35 MB / 3.835 GB, free: 20.8 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 1.147/26.36, allocations: 185 MB / 4.016 GB, free: 70.9 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.2706/26.63, allocations: 92.06 MB / 4.106 GB, free: 4.676 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.208e-05/26.63, allocations: 7.844 kB / 4.106 GB, free: 4.672 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.8305/27.46, allocations: 90.06 MB / 4.194 GB, free: 110.9 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04595/27.5, allocations: 4.209 MB / 4.198 GB, free: 110.8 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5314/28.04, allocations: 159.1 MB / 4.353 GB, free: 25.77 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.661/28.7, allocations: 34.39 MB / 4.387 GB, free: 97.54 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.2117/28.91, allocations: 29.94 MB / 4.416 GB, free: 94.31 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1111/29.02, allocations: 28.29 MB / 4.444 GB, free: 94.3 MB / 0.6824 GB Notification: Performance of SimCode: time 2.104e-06/29.02, allocations: 0 / 4.444 GB, free: 94.3 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.651/33.67, allocations: 0.9372 GB / 5.381 GB, free: 49.64 MB / 0.745 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/33.67, allocations: 209.5 kB / 5.381 GB, free: 49.41 MB / 0.745 GB Notification: Performance of buildModelFMU: Generate platform static: time 68.42/102.1, allocations: 0 / 5.381 GB, free: 49.41 MB / 0.745 GB