Running command: translateModel(OpenHPL.Examples.HPSimple_Francis_GridGen,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPSimple_Francis_GridGen") Notification: Performance of loadModel(OpenHPL): time 2.263/2.263, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.214e-05, allocations: 4 kB / 332 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 59.98 MB / 392 MB, free: 4.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.4822, allocations: 114.6 MB / 0.4947 GB, free: 1.828 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.4825, allocations: 87.95 kB / 0.4948 GB, free: 1.742 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8332/1.316, allocations: 140.5 MB / 0.632 GB, free: 37.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.053e-06/1.316, allocations: 0 / 0.632 GB, free: 37.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000302/1.316, allocations: 171.9 kB / 0.6321 GB, free: 37.44 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.03111/1.347, allocations: 8.358 MB / 0.6403 GB, free: 29.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.347, allocations: 12.03 kB / 0.6403 GB, free: 29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009161/1.356, allocations: 1.29 MB / 0.6416 GB, free: 27.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/1.369, allocations: 4.381 MB / 0.6458 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009747/1.37, allocations: 0.7957 MB / 0.6466 GB, free: 22.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004154/1.374, allocations: 0.7265 MB / 0.6473 GB, free: 21.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04181/1.416, allocations: 15.15 MB / 0.6621 GB, free: 6.492 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002889/1.416, allocations: 15.84 kB / 0.6621 GB, free: 6.477 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003164/1.419, allocations: 308 kB / 0.6624 GB, free: 6.176 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000903/1.42, allocations: 1.018 MB / 0.6634 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04426/1.465, allocations: 16.1 MB / 0.6792 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4198/1.884, allocations: 40.6 MB / 0.7188 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02998/1.914, allocations: 15.11 MB / 0.7336 GB, free: 98.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01341/1.928, allocations: 5.985 MB / 0.7394 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/1.93, allocations: 1.005 MB / 0.7404 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.634e-05/1.93, allocations: 120.7 kB / 0.7405 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=862): time 1.532e-05/1.93, allocations: 0 / 0.7405 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=886): time 0.09832/2.028, allocations: 31.42 MB / 0.7712 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.028, allocations: 194.3 kB / 0.7714 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/2.032, allocations: 1.864 MB / 0.7732 GB, free: 89.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001954/2.034, allocations: 170.3 kB / 0.7734 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/2.036, allocations: 2.87 MB / 0.7762 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003993/2.04, allocations: 2.997 MB / 0.7791 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/2.041, allocations: 162.5 kB / 0.7792 GB, free: 85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006078/2.042, allocations: 0.646 MB / 0.7799 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01279/2.055, allocations: 5.406 MB / 0.7852 GB, free: 82.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01385/2.069, allocations: 6.227 MB / 0.7912 GB, free: 79.62 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.2191/2.288, allocations: 49 MB / 0.8391 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/2.288, allocations: 4 kB / 0.8391 GB, free: 43.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.0524/2.34, allocations: 17.94 MB / 0.8566 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001047/2.341, allocations: 5.349 MB / 0.8618 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-05/2.341, allocations: 12 kB / 0.8618 GB, free: 22.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/2.356, allocations: 3.489 MB / 0.8653 GB, free: 20.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01491/2.371, allocations: 1.902 MB / 0.8671 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05409/2.425, allocations: 29.64 MB / 0.8961 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008382/2.433, allocations: 0.5425 MB / 0.8966 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002543/2.436, allocations: 315.8 kB / 0.8969 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/2.436, allocations: 4 kB / 0.8969 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05925/2.495, allocations: 17.58 MB / 0.9141 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-05/2.495, allocations: 15.95 kB / 0.9141 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3218/2.817, allocations: 3.478 MB / 0.9175 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02134/2.838, allocations: 1.895 MB / 0.9193 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07379/2.912, allocations: 29.57 MB / 0.9482 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007974/2.92, allocations: 0.5301 MB / 0.9487 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002377/2.923, allocations: 306.2 kB / 0.949 GB, free: 114.7 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.00321/2.926, allocations: 0.5291 MB / 0.9495 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/2.928, allocations: 462.5 kB / 0.95 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05735/2.985, allocations: 19.11 MB / 0.9686 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.924e-05/2.985, allocations: 91.56 kB / 0.9687 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/2.985, allocations: 0 / 0.9687 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001959/2.986, allocations: 48.7 kB / 0.9688 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08922/3.075, allocations: 32.48 MB / 1 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001089/3.075, allocations: 8 kB / 1 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01417/3.089, allocations: 1.872 MB / 1.002 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/3.103, allocations: 3.278 MB / 1.006 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00235/3.105, allocations: 244.8 kB / 1.006 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04333/3.149, allocations: 28.61 MB / 1.034 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/3.149, allocations: 11.94 kB / 1.034 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06494/3.214, allocations: 27.91 MB / 1.061 GB, free: 43.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/3.215, allocations: 0.5552 MB / 1.061 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002672/3.218, allocations: 194.2 kB / 1.062 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007294/3.225, allocations: 0.5297 MB / 1.062 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002634/3.228, allocations: 0.791 MB / 1.063 GB, free: 41.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/3.229, allocations: 297.1 kB / 1.063 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002558/3.231, allocations: 1.381 MB / 1.065 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.79e-07/3.231, allocations: 0 / 1.065 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01262/3.244, allocations: 3.756 MB / 1.068 GB, free: 36.69 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 30,1 24,1 8,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002585/3.247, allocations: 0.7279 MB / 1.069 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0533/3.3, allocations: 23.55 MB / 1.092 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/3.3, allocations: 4.25 kB / 1.092 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02071/3.321, allocations: 8.868 MB / 1.101 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/3.325, allocations: 487.8 kB / 1.101 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04785/3.373, allocations: 18.49 MB / 1.119 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009223/3.382, allocations: 5.16 MB / 1.124 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.3277/3.71, allocations: 6.192 MB / 1.13 GB, free: 134.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005064/3.715, allocations: 0.552 MB / 1.131 GB, free: 134.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.395e-06/3.715, allocations: 0 / 1.131 GB, free: 134.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.2621/3.977, allocations: 134.8 MB / 1.262 GB, free: 60.35 MB / 0.5417 GB