Running command: "" <> buildModelFMU(OpenHPL.Examples.HPSimple_Francis_IPSLGen,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPSimple_Francis_IPSLGen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.392/2.392, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.62e-05, allocations: 7.984 kB / 332.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 59.97 MB / 392.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.6068, allocations: 114.4 MB / 0.4946 GB, free: 1.992 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.6072, allocations: 91.94 kB / 0.4947 GB, free: 1.902 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034/1.641, allocations: 134.8 MB / 0.6263 GB, free: 44.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.641, allocations: 0 / 0.6263 GB, free: 44.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004/1.642, allocations: 163.9 kB / 0.6265 GB, free: 43.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2523 * Number of variables: 2523 Notification: Performance of Generate backend data structure: time 0.04671/1.689, allocations: 8.361 MB / 0.6347 GB, free: 35.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.689, allocations: 12.03 kB / 0.6347 GB, free: 35.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006805/1.695, allocations: 1.276 MB / 0.6359 GB, free: 34.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/1.707, allocations: 1.289 MB / 0.6372 GB, free: 32.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/1.723, allocations: 4.377 MB / 0.6414 GB, free: 28.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/1.724, allocations: 0.7878 MB / 0.6422 GB, free: 27.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005388/1.73, allocations: 0.7304 MB / 0.6429 GB, free: 26.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05027/1.78, allocations: 15.15 MB / 0.6577 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005265/1.781, allocations: 7.906 kB / 0.6577 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005034/1.786, allocations: 304 kB / 0.658 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/1.787, allocations: 1.027 MB / 0.659 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05427/1.841, allocations: 16.1 MB / 0.6748 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1542/1.996, allocations: 40.6 MB / 0.7144 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3969/2.393, allocations: 15.12 MB / 0.7292 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01614/2.409, allocations: 5.987 MB / 0.735 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002484/2.411, allocations: 1.001 MB / 0.736 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/2.411, allocations: 122.4 kB / 0.7361 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=862): time 1.197e-05/2.411, allocations: 0 / 0.7361 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=886): time 0.1275/2.539, allocations: 31.4 MB / 0.7668 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/2.539, allocations: 196.5 kB / 0.767 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/2.544, allocations: 1.859 MB / 0.7688 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002596/2.546, allocations: 174.2 kB / 0.7689 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002121/2.548, allocations: 2.872 MB / 0.7718 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00527/2.554, allocations: 3.001 MB / 0.7747 GB, free: 90.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002896/2.557, allocations: 163.5 kB / 0.7748 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007701/2.558, allocations: 0.6447 MB / 0.7755 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01559/2.573, allocations: 5.406 MB / 0.7807 GB, free: 87.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01711/2.59, allocations: 6.222 MB / 0.7868 GB, free: 85.07 MB / 0.4948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: order2_1.w = $START.order2_1.w (1.0 = $START.order2_1.w) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.3439/2.934, allocations: 49.01 MB / 0.8347 GB, free: 49.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/2.934, allocations: 4 kB / 0.8347 GB, free: 49.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.08006/3.014, allocations: 17.93 MB / 0.8522 GB, free: 34.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/3.016, allocations: 5.357 MB / 0.8574 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.82e-05/3.016, allocations: 12 kB / 0.8574 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02118/3.037, allocations: 3.48 MB / 0.8608 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02185/3.059, allocations: 1.911 MB / 0.8627 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06797/3.127, allocations: 29.62 MB / 0.8916 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/3.141, allocations: 0.5503 MB / 0.8922 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003281/3.144, allocations: 307.8 kB / 0.8925 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/3.144, allocations: 4 kB / 0.8925 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08554/3.23, allocations: 17.58 MB / 0.9096 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-05/3.23, allocations: 12 kB / 0.9096 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02274/3.253, allocations: 3.495 MB / 0.9131 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02259/3.275, allocations: 1.892 MB / 0.9149 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4348/3.71, allocations: 29.56 MB / 0.9438 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01299/3.723, allocations: 0.5356 MB / 0.9443 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003205/3.727, allocations: 313.2 kB / 0.9446 GB, free: 113 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: order2_1.w = $START.order2_1.w surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 4 (penstock.KP.boundaryCon[2,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (936): * Single equations (assignments): 926 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 28,1 7,1 22,1 7,26 10} Notification: Performance of prepare postOptimizeDAE: time 0.005643/3.732, allocations: 0.5229 MB / 0.9451 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003719/3.736, allocations: 456.1 kB / 0.9455 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08163/3.818, allocations: 19.13 MB / 0.9642 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001403/3.818, allocations: 99.16 kB / 0.9643 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.03e-05/3.818, allocations: 2.812 kB / 0.9643 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002992/3.818, allocations: 44.72 kB / 0.9644 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1218/3.94, allocations: 32.44 MB / 0.996 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001408/3.94, allocations: 7.531 kB / 0.9961 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02085/3.961, allocations: 1.877 MB / 0.9979 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02081/3.982, allocations: 3.263 MB / 1.001 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003041/3.985, allocations: 250.2 kB / 1.001 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05702/4.042, allocations: 28.65 MB / 1.029 GB, free: 74.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/4.042, allocations: 19.89 kB / 1.029 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09336/4.136, allocations: 27.85 MB / 1.057 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/4.137, allocations: 0.5626 MB / 1.057 GB, free: 48.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003691/4.141, allocations: 187.7 kB / 1.057 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01258/4.153, allocations: 0.5292 MB / 1.058 GB, free: 48.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004821/4.158, allocations: 0.789 MB / 1.059 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002864/4.161, allocations: 292.1 kB / 1.059 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003173/4.164, allocations: 1.38 MB / 1.06 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.81e-07/4.165, allocations: 0 / 1.06 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02164/4.186, allocations: 3.768 MB / 1.064 GB, free: 42.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 29 (reservoir.m,tail.m,penstock.U[1],penstock.U[2],penstock.U[3],penstock.U[4],penstock.U[5],penstock.U[6],penstock.U[7],penstock.U[8],penstock.U[9],penstock.U[10],penstock.U[11],penstock.U[12],penstock.U[13],penstock.U[14],penstock.U[15],penstock.U[16],penstock.U[17],penstock.U[18],penstock.U[19],penstock.U[20],surgeTank.m,surgeTank.Vdot,order2_1.delta,order2_1.w,governor.pilot_servo.x_scaled[1],governor.main_servo.x_scaled[1],governor.control.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (887): * Single equations (assignments): 876 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {26 10,1 24,1 30,1 8,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.09895/4.285, allocations: 31.54 MB / 1.095 GB, free: 14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0908/4.376, allocations: 24.24 MB / 1.118 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-05/4.376, allocations: 4 kB / 1.118 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03255/4.409, allocations: 8.903 MB / 1.127 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006413/4.415, allocations: 0.4925 MB / 1.127 GB, free: 124 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4281/4.843, allocations: 20.25 MB / 1.147 GB, free: 133.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/4.854, allocations: 5.17 MB / 1.152 GB, free: 132.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03162/4.886, allocations: 6.185 MB / 1.158 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01279/4.899, allocations: 3.65 MB / 1.162 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.423e-06/4.899, allocations: 3.906 kB / 1.162 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8335/5.732, allocations: 193.5 MB / 1.351 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/5.733, allocations: 200.9 kB / 1.351 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/17.89, allocations: 0 / 1.351 GB, free: 123.3 MB / 0.5417 GB