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.168/2.168, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.67e-05, allocations: 7.984 kB / 335.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 60.25 MB / 396 MB, free: 5.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5306, allocations: 114.7 MB / 0.4987 GB, free: 1.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5309, allocations: 93.7 kB / 0.4988 GB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.884/1.415, allocations: 141 MB / 0.6365 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.268e-06/1.415, allocations: 3.531 kB / 0.6365 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003175/1.415, allocations: 163.9 kB / 0.6367 GB, free: 125.7 MB / 0.4948 GB 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.03252/1.448, allocations: 8.364 MB / 0.6448 GB, free: 123 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.448, allocations: 6.969 kB / 0.6448 GB, free: 123 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009855/1.458, allocations: 1.288 MB / 0.6461 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/1.471, allocations: 4.465 MB / 0.6505 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/1.472, allocations: 0.7891 MB / 0.6512 GB, free: 121 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004623/1.477, allocations: 0.7286 MB / 0.6519 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04334/1.52, allocations: 15.68 MB / 0.6673 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003038/1.521, allocations: 23.77 kB / 0.6673 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003875/1.524, allocations: 307.6 kB / 0.6676 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009085/1.525, allocations: 1.023 MB / 0.6686 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0423/1.568, allocations: 16.84 MB / 0.685 GB, free: 96.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09978/1.668, allocations: 40.58 MB / 0.7246 GB, free: 55.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02906/1.697, allocations: 15.67 MB / 0.74 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/1.698, allocations: 0.9999 MB / 0.7409 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.594e-05/1.698, allocations: 125.3 kB / 0.741 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=862): time 1.542e-05/1.698, allocations: 4 kB / 0.7411 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=886): time 0.1325/1.831, allocations: 42.57 MB / 0.7826 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.831, allocations: 193.8 kB / 0.7828 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004646/1.836, allocations: 1.962 MB / 0.7847 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002118/1.838, allocations: 165.7 kB / 0.7849 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/1.841, allocations: 2.865 MB / 0.7877 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004997/1.846, allocations: 3.001 MB / 0.7906 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/1.847, allocations: 160 kB / 0.7908 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006873/1.847, allocations: 0.6408 MB / 0.7914 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4333/2.281, allocations: 5.781 MB / 0.797 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01762/2.298, allocations: 6.666 MB / 0.8035 GB, free: 126.2 MB / 0.5105 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.2204/2.519, allocations: 44.14 MB / 0.8467 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-05/2.519, allocations: 3.719 kB / 0.8467 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.07247/2.591, allocations: 18.59 MB / 0.8648 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001316/2.593, allocations: 5.348 MB / 0.87 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.501e-05/2.593, allocations: 12 kB / 0.8701 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02696/2.62, allocations: 3.666 MB / 0.8736 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01436/2.634, allocations: 1.946 MB / 0.8755 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06054/2.695, allocations: 30.06 MB / 0.9049 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008405/2.703, allocations: 0.5425 MB / 0.9054 GB, free: 75.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/2.706, allocations: 311.8 kB / 0.9057 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/2.706, allocations: 4 kB / 0.9057 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07484/2.78, allocations: 18.2 MB / 0.9235 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/2.781, allocations: 12 kB / 0.9235 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01502/2.796, allocations: 3.668 MB / 0.9271 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/2.81, allocations: 1.923 MB / 0.929 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06009/2.87, allocations: 30.01 MB / 0.9583 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00817/2.878, allocations: 0.5308 MB / 0.9588 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/2.881, allocations: 311.8 kB / 0.9591 GB, free: 20.11 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: penstock.U[20]:VARIABLE(fixed = true ) "centered states" type: Real [20] penstock.U[11]:VARIABLE(fixed = true ) "centered states" type: Real [20] intake.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: order2_1.w = $START.order2_1.w. 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 (950): * Single equations (assignments): 942 * 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: 3 * 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: 3 {1 28,1 22,26 10} Notification: Performance of prepare postOptimizeDAE: time 0.007964/2.889, allocations: 2.662 MB / 0.9617 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002184/2.891, allocations: 463.4 kB / 0.9621 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05954/2.95, allocations: 20.13 MB / 0.9818 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001164/2.95, allocations: 92 kB / 0.9819 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/2.951, allocations: 0 / 0.9819 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002106/2.951, allocations: 51.33 kB / 0.9819 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3975/3.348, allocations: 33.49 MB / 1.015 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001018/3.348, allocations: 7.906 kB / 1.015 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01351/3.362, allocations: 1.885 MB / 1.016 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01577/3.378, allocations: 3.741 MB / 1.02 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002532/3.38, allocations: 247.3 kB / 1.02 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05849/3.439, allocations: 32.31 MB / 1.052 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/3.439, allocations: 14.77 kB / 1.052 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07301/3.512, allocations: 29.3 MB / 1.081 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/3.513, allocations: 0.5608 MB / 1.081 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002974/3.516, allocations: 187 kB / 1.081 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008178/3.524, allocations: 0.5383 MB / 1.082 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003188/3.528, allocations: 0.7839 MB / 1.083 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001242/3.529, allocations: 294.4 kB / 1.083 GB, free: 97.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003211/3.532, allocations: 1.479 MB / 1.084 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.48e-07/3.532, allocations: 0 / 1.084 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01469/3.547, allocations: 3.725 MB / 1.088 GB, free: 92.86 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,intake.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,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.003176/3.55, allocations: 0.7231 MB / 1.089 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0578/3.608, allocations: 24.42 MB / 1.112 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/3.608, allocations: 0 / 1.112 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02215/3.63, allocations: 9.394 MB / 1.122 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/3.635, allocations: 497.6 kB / 1.122 GB, free: 62.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04374/3.678, allocations: 24.24 MB / 1.146 GB, free: 39.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007235/3.686, allocations: 5.116 MB / 1.151 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0228/3.708, allocations: 6.283 MB / 1.157 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004761/3.713, allocations: 0.5554 MB / 1.157 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.426e-06/3.713, allocations: 0 / 1.157 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.8584/4.572, allocations: 130.8 MB / 1.285 GB, free: 112 MB / 0.5418 GB