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.524/2.524, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.914e-05, allocations: 8 kB / 331.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3893, allocations: 59.8 MB / 391.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.5733, allocations: 100.6 MB / 491.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.5737, allocations: 83.94 kB / 491.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.984/9.558, allocations: 1.002 GB / 1.482 GB, free: 19.64 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.314e-06/9.558, allocations: 0 / 1.482 GB, free: 19.64 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.003184/9.561, allocations: 1.023 MB / 1.483 GB, free: 19.64 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.3159/9.877, allocations: 51.63 MB / 1.533 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/9.877, allocations: 8.031 kB / 1.533 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.08009/9.957, allocations: 10.91 MB / 1.544 GB, free: 0 / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04852/10.01, allocations: 5.421 MB / 1.549 GB, free: 10.51 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6514/10.66, allocations: 33.52 MB / 1.582 GB, free: 42.5 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01604/10.67, allocations: 10.02 MB / 1.592 GB, free: 36.11 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04503/10.72, allocations: 5.159 MB / 1.597 GB, free: 36.11 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4596/11.18, allocations: 130.3 MB / 1.724 GB, free: 9.43 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004053/11.18, allocations: 101 kB / 1.724 GB, free: 9.383 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0395/11.22, allocations: 2.1 MB / 1.726 GB, free: 7.73 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01097/11.23, allocations: 9.18 MB / 1.735 GB, free: 5.762 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.181/12.41, allocations: 191.7 MB / 1.922 GB, free: 63.4 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.761/14.17, allocations: 333.9 MB / 2.249 GB, free: 6.668 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9632/15.14, allocations: 115.4 MB / 2.361 GB, free: 77.13 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1431/15.28, allocations: 46.74 MB / 2.407 GB, free: 64.2 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/15.29, allocations: 1.926 MB / 2.409 GB, free: 63.08 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008282/15.29, allocations: 0.5498 MB / 2.409 GB, free: 62.68 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=5197): time 0.0002165/15.29, allocations: 0 / 2.409 GB, free: 62.68 MB / 0.6668 GB Notification: Performance of matching and sorting (n=5207): time 1.277/16.57, allocations: 192.3 MB / 2.597 GB, free: 67.21 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004616/16.57, allocations: 0.5943 MB / 2.598 GB, free: 67.07 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009653/16.58, allocations: 3.324 MB / 2.601 GB, free: 66.78 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.02081/16.6, allocations: 0.8534 MB / 2.602 GB, free: 66.75 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.01522/16.62, allocations: 18.27 MB / 2.62 GB, free: 55.71 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.04599/16.66, allocations: 17.74 MB / 2.637 GB, free: 44.32 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02159/16.68, allocations: 0.867 MB / 2.638 GB, free: 44.32 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.00604/16.69, allocations: 2.252 MB / 2.64 GB, free: 43.91 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.144/16.83, allocations: 39.45 MB / 2.678 GB, free: 37.11 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.131/16.96, allocations: 43.1 MB / 2.721 GB, free: 20.81 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 4.009/20.97, allocations: 477.6 MB / 3.187 GB, free: 29.97 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.845e-05/20.97, allocations: 8.5 kB / 3.187 GB, free: 29.97 MB / 0.6668 GB Notification: Performance of matching and sorting (n=5660) (initialization): time 0.9704/21.94, allocations: 96.21 MB / 3.281 GB, free: 91.67 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/21.94, allocations: 15.94 kB / 3.281 GB, free: 91.67 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/21.95, allocations: 25.28 kB / 3.281 GB, free: 91.67 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/21.95, allocations: 397.1 kB / 3.281 GB, free: 91.66 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1429/22.09, allocations: 13.01 MB / 3.294 GB, free: 91.31 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/22.1, allocations: 2.706 MB / 3.297 GB, free: 89.96 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0756/22.17, allocations: 3.833 MB / 3.3 GB, free: 89.95 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02016/22.19, allocations: 1.856 MB / 3.302 GB, free: 89.95 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.04197/22.23, allocations: 2.326 MB / 3.305 GB, free: 89.3 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02253/22.26, allocations: 1.8 MB / 3.306 GB, free: 89.3 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4399/22.7, allocations: 107.4 MB / 3.411 GB, free: 70.65 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009808/22.7, allocations: 0.5891 MB / 3.412 GB, free: 70.65 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005814/22.7, allocations: 0.75 kB / 3.412 GB, free: 70.65 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002356/22.7, allocations: 303.2 kB / 3.412 GB, free: 70.65 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.353/24.05, allocations: 212.1 MB / 3.619 GB, free: 98.61 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000926/24.06, allocations: 22.78 kB / 3.619 GB, free: 98.61 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1578/24.21, allocations: 14.1 MB / 3.633 GB, free: 98.11 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/24.22, allocations: 416.1 kB / 3.633 GB, free: 98.11 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0211/24.24, allocations: 1.669 MB / 3.635 GB, free: 98.11 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006841/24.24, allocations: 5.3 MB / 3.64 GB, free: 94.13 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.271e-05/24.24, allocations: 37.88 kB / 3.64 GB, free: 94.12 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.126/25.37, allocations: 175.6 MB / 3.812 GB, free: 91.9 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005818/25.38, allocations: 2.328 MB / 3.814 GB, free: 91.71 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02317/25.4, allocations: 1.15 MB / 3.815 GB, free: 91.71 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07511/25.47, allocations: 3.841 MB / 3.819 GB, free: 91.7 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.06656/25.54, allocations: 15.33 MB / 3.834 GB, free: 89.58 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0218/25.56, allocations: 1.925 MB / 3.836 GB, free: 89.58 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.006657/25.57, allocations: 2.399 MB / 3.838 GB, free: 89.42 MB / 0.6824 GB Notification: Performance of sort global known variables: time 1.112e-06/25.57, allocations: 0 / 3.838 GB, free: 89.42 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.08276/25.65, allocations: 12.35 MB / 3.85 GB, free: 89.41 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.5186/26.17, allocations: 180.6 MB / 4.026 GB, free: 12.04 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.8534/27.02, allocations: 97.43 MB / 4.122 GB, free: 120.6 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-05/27.02, allocations: 5.484 kB / 4.122 GB, free: 120.6 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.2111/27.24, allocations: 85.26 MB / 4.205 GB, free: 96.18 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04476/27.28, allocations: 4.211 MB / 4.209 GB, free: 93 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.201/28.48, allocations: 171.8 MB / 4.377 GB, free: 91.64 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1277/28.61, allocations: 34.19 MB / 4.41 GB, free: 89.57 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.1556/28.76, allocations: 29.94 MB / 4.439 GB, free: 86.37 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.108/28.87, allocations: 28.29 MB / 4.467 GB, free: 75.52 MB / 0.6824 GB Notification: Performance of SimCode: time 1.463e-06/28.87, allocations: 0 / 4.467 GB, free: 75.52 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.013/33.89, allocations: 0.9436 GB / 5.411 GB, free: 11.81 MB / 0.7294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/33.89, allocations: 212.1 kB / 5.411 GB, free: 11.59 MB / 0.7294 GB Notification: Performance of buildModelFMU: Generate platform static: time 68.9/102.8, allocations: 6.344 kB / 5.411 GB, free: 11.59 MB / 0.7294 GB