Running command: translateModel(OpenHPL.Examples.HPSimple_Francis_IPSLGen,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPSimple_Francis_IPSLGen") Notification: Performance of loadModel(OpenHPL): time 2.267/2.267, allocations: 257 MB / 269.1 MB, free: 11.78 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.21e-05, allocations: 4 kB / 332 MB, free: 12.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3153, allocations: 59.97 MB / 392 MB, free: 4.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.4815, allocations: 114.4 MB / 0.4946 GB, free: 2.027 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.4818, allocations: 87.95 kB / 0.4946 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8275/1.309, allocations: 134.8 MB / 0.6262 GB, free: 43.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.143e-06/1.309, allocations: 0 / 0.6262 GB, free: 43.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003134/1.31, allocations: 175.8 kB / 0.6264 GB, free: 43.21 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.03093/1.341, allocations: 8.354 MB / 0.6346 GB, free: 34.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.341, allocations: 11.97 kB / 0.6346 GB, free: 34.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008846/1.35, allocations: 1.289 MB / 0.6358 GB, free: 33.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/1.362, allocations: 4.377 MB / 0.6401 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008936/1.362, allocations: 0.784 MB / 0.6409 GB, free: 28.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003818/1.366, allocations: 0.7342 MB / 0.6416 GB, free: 27.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03862/1.405, allocations: 15.15 MB / 0.6564 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/1.405, allocations: 7.906 kB / 0.6564 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003359/1.409, allocations: 304 kB / 0.6567 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009276/1.41, allocations: 1.027 MB / 0.6577 GB, free: 10.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04095/1.451, allocations: 16.1 MB / 0.6734 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1155/1.566, allocations: 40.6 MB / 0.7131 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3285/1.895, allocations: 15.12 MB / 0.7278 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01317/1.908, allocations: 5.984 MB / 0.7337 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/1.91, allocations: 1.005 MB / 0.7347 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.781e-05/1.91, allocations: 121.6 kB / 0.7348 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=862): time 1.52e-05/1.91, allocations: 0 / 0.7348 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=886): time 0.1181/2.028, allocations: 31.41 MB / 0.7654 GB, free: 95.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/2.028, allocations: 198.3 kB / 0.7656 GB, free: 95.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00561/2.034, allocations: 1.859 MB / 0.7674 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001881/2.036, allocations: 173.7 kB / 0.7676 GB, free: 94.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/2.037, allocations: 2.872 MB / 0.7704 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003917/2.041, allocations: 2.999 MB / 0.7733 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/2.042, allocations: 165.4 kB / 0.7735 GB, free: 90.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005163/2.043, allocations: 0.6409 MB / 0.7741 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01212/2.055, allocations: 5.406 MB / 0.7794 GB, free: 88.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/2.069, allocations: 6.229 MB / 0.7855 GB, free: 85.61 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.3096/2.378, allocations: 49 MB / 0.8333 GB, free: 50.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/2.379, allocations: 4 kB / 0.8333 GB, free: 50.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.05422/2.433, allocations: 17.93 MB / 0.8509 GB, free: 34.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001048/2.434, allocations: 5.357 MB / 0.8561 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/2.434, allocations: 16 kB / 0.8561 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/2.448, allocations: 3.481 MB / 0.8595 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/2.462, allocations: 1.906 MB / 0.8614 GB, free: 25.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05099/2.513, allocations: 29.63 MB / 0.8903 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008708/2.522, allocations: 0.5488 MB / 0.8908 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002671/2.525, allocations: 315.8 kB / 0.8911 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/2.525, allocations: 4 kB / 0.8911 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06139/2.586, allocations: 17.57 MB / 0.9083 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.471e-05/2.586, allocations: 16.22 kB / 0.9083 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01574/2.602, allocations: 3.475 MB / 0.9117 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/2.617, allocations: 1.903 MB / 0.9136 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3631/2.981, allocations: 29.55 MB / 0.9424 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008439/2.989, allocations: 0.5301 MB / 0.9429 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002596/2.992, allocations: 312.9 kB / 0.9432 GB, free: 114.2 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.003827/2.996, allocations: 0.5239 MB / 0.9438 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/2.998, allocations: 462.2 kB / 0.9442 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06/3.058, allocations: 19.13 MB / 0.9629 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/3.058, allocations: 93.16 kB / 0.963 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/3.058, allocations: 0 / 0.963 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002011/3.059, allocations: 46.17 kB / 0.963 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08813/3.147, allocations: 32.45 MB / 0.9947 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001029/3.147, allocations: 11.31 kB / 0.9947 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01551/3.162, allocations: 1.869 MB / 0.9965 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01423/3.177, allocations: 3.282 MB / 0.9997 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00238/3.179, allocations: 245.6 kB / 1 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04477/3.224, allocations: 28.66 MB / 1.028 GB, free: 75.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/3.224, allocations: 15.89 kB / 1.028 GB, free: 75.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06372/3.288, allocations: 27.84 MB / 1.055 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/3.289, allocations: 0.5633 MB / 1.056 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002599/3.292, allocations: 187.8 kB / 1.056 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007442/3.299, allocations: 0.5276 MB / 1.056 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003024/3.302, allocations: 0.7898 MB / 1.057 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001325/3.303, allocations: 298.2 kB / 1.057 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002579/3.306, allocations: 1.374 MB / 1.059 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.52e-07/3.306, allocations: 4 kB / 1.059 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01495/3.321, allocations: 3.759 MB / 1.062 GB, free: 43.46 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.003158/3.324, allocations: 0.7203 MB / 1.063 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0555/3.38, allocations: 23.56 MB / 1.086 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/3.38, allocations: 0 / 1.086 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02142/3.401, allocations: 8.884 MB / 1.095 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/3.406, allocations: 0.5007 MB / 1.095 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04253/3.449, allocations: 18.16 MB / 1.113 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/3.46, allocations: 5.167 MB / 1.118 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02542/3.485, allocations: 6.187 MB / 1.124 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005321/3.491, allocations: 0.5498 MB / 1.125 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of SimCode: time 1.381e-06/3.491, allocations: 0 / 1.125 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of Templates: time 0.6038/4.095, allocations: 134.6 MB / 1.256 GB, free: 65.66 MB / 0.5417 GB