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.356/2.356, allocations: 256.4 MB / 268.5 MB, free: 12.24 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.18e-05, allocations: 4 kB / 331.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3147, allocations: 59.79 MB / 391 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.4819, allocations: 114.5 MB / 0.4937 GB, free: 2.766 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.4822, allocations: 87.94 kB / 0.4938 GB, free: 2.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8272/1.309, allocations: 140.5 MB / 0.631 GB, free: 39.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.98e-06/1.31, allocations: 0 / 0.631 GB, free: 39.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003141/1.31, allocations: 167.9 kB / 0.6311 GB, free: 38.96 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.03749/1.347, allocations: 8.358 MB / 0.6393 GB, free: 30.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.347, allocations: 12.03 kB / 0.6393 GB, free: 30.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009118/1.357, allocations: 1.29 MB / 0.6406 GB, free: 29.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/1.369, allocations: 4.377 MB / 0.6448 GB, free: 24.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/1.37, allocations: 0.7957 MB / 0.6456 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004275/1.374, allocations: 0.7304 MB / 0.6463 GB, free: 23.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.041/1.415, allocations: 15.24 MB / 0.6612 GB, free: 7.926 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003443/1.416, allocations: 15.89 kB / 0.6612 GB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003636/1.419, allocations: 308 kB / 0.6615 GB, free: 7.609 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009545/1.42, allocations: 1.015 MB / 0.6625 GB, free: 6.594 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04333/1.464, allocations: 16.21 MB / 0.6783 GB, free: 6.375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7246/2.188, allocations: 40.59 MB / 0.718 GB, free: 98.27 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02903/2.217, allocations: 15.2 MB / 0.7328 GB, free: 96.68 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.013/2.23, allocations: 5.982 MB / 0.7387 GB, free: 96.64 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/2.232, allocations: 1.005 MB / 0.7396 GB, free: 95.69 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.067e-05/2.232, allocations: 120.9 kB / 0.7398 GB, free: 95.64 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=862): time 1.511e-05/2.232, allocations: 0 / 0.7398 GB, free: 95.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=886): time 0.09337/2.326, allocations: 31.42 MB / 0.7704 GB, free: 89.06 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/2.326, allocations: 197.8 kB / 0.7706 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/2.329, allocations: 1.861 MB / 0.7724 GB, free: 88.21 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001899/2.331, allocations: 169.2 kB / 0.7726 GB, free: 88.07 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/2.333, allocations: 2.874 MB / 0.7754 GB, free: 85.98 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00373/2.337, allocations: 2.995 MB / 0.7783 GB, free: 83.67 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/2.338, allocations: 164.7 kB / 0.7785 GB, free: 83.54 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005336/2.338, allocations: 0.6388 MB / 0.7791 GB, free: 83.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01226/2.351, allocations: 5.408 MB / 0.7844 GB, free: 81.27 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/2.364, allocations: 6.274 MB / 0.7905 GB, free: 78.74 MB / 0.4949 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.2146/2.579, allocations: 49.01 MB / 0.8384 GB, free: 43.71 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/2.579, allocations: 7.188 kB / 0.8384 GB, free: 43.71 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.05378/2.633, allocations: 17.97 MB / 0.8559 GB, free: 28.51 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001059/2.634, allocations: 5.353 MB / 0.8612 GB, free: 22.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/2.634, allocations: 18.34 kB / 0.8612 GB, free: 22.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/2.648, allocations: 3.485 MB / 0.8646 GB, free: 20.11 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01416/2.662, allocations: 1.909 MB / 0.8665 GB, free: 18.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0542/2.717, allocations: 29.63 MB / 0.8954 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008649/2.725, allocations: 0.5464 MB / 0.8959 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/2.728, allocations: 311.8 kB / 0.8962 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/2.728, allocations: 5.406 kB / 0.8962 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06009/2.788, allocations: 17.62 MB / 0.9134 GB, free: 1.949 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.018e-05/2.788, allocations: 23.89 kB / 0.9135 GB, free: 1.926 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3193/3.107, allocations: 3.478 MB / 0.9168 GB, free: 127.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01594/3.123, allocations: 1.893 MB / 0.9187 GB, free: 127.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05362/3.177, allocations: 29.57 MB / 0.9476 GB, free: 114.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008918/3.186, allocations: 0.5316 MB / 0.9481 GB, free: 114.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/3.189, allocations: 307.1 kB / 0.9484 GB, free: 114.9 MB / 0.5262 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.003953/3.193, allocations: 0.5295 MB / 0.9489 GB, free: 114.8 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002575/3.195, allocations: 470.5 kB / 0.9494 GB, free: 114.8 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06085/3.256, allocations: 19.1 MB / 0.968 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-05/3.256, allocations: 93.88 kB / 0.9681 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.842e-05/3.256, allocations: 0 / 0.9681 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002117/3.256, allocations: 52.83 kB / 0.9681 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08989/3.346, allocations: 32.49 MB / 0.9999 GB, free: 99.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000107/3.346, allocations: 12 kB / 0.9999 GB, free: 99.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01358/3.36, allocations: 1.876 MB / 1.002 GB, free: 98.38 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0134/3.373, allocations: 3.268 MB / 1.005 GB, free: 95.99 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002502/3.376, allocations: 242.4 kB / 1.005 GB, free: 95.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04312/3.419, allocations: 28.62 MB / 1.033 GB, free: 68.33 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/3.419, allocations: 15.94 kB / 1.033 GB, free: 68.32 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06693/3.486, allocations: 27.92 MB / 1.06 GB, free: 43.32 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/3.488, allocations: 0.5568 MB / 1.061 GB, free: 42.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002584/3.49, allocations: 183.3 kB / 1.061 GB, free: 42.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007636/3.498, allocations: 0.533 MB / 1.062 GB, free: 42.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003349/3.501, allocations: 0.7843 MB / 1.062 GB, free: 41.74 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001757/3.503, allocations: 294.1 kB / 1.063 GB, free: 41.49 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.002552/3.506, allocations: 1.381 MB / 1.064 GB, free: 40.21 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7.45e-07/3.506, allocations: 0 / 1.064 GB, free: 40.21 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01491/3.52, allocations: 3.76 MB / 1.068 GB, free: 36.48 MB / 0.5262 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.003321/3.524, allocations: 0.7298 MB / 1.068 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.05619/3.58, allocations: 23.85 MB / 1.092 GB, free: 14.09 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/3.58, allocations: 0 / 1.092 GB, free: 14.09 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02116/3.601, allocations: 8.978 MB / 1.1 GB, free: 5.871 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/3.606, allocations: 497.6 kB / 1.101 GB, free: 5.438 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05713/3.663, allocations: 18.82 MB / 1.119 GB, free: 6.414 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01162/3.675, allocations: 5.162 MB / 1.124 GB, free: 1.219 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.3367/4.012, allocations: 6.191 MB / 1.13 GB, free: 134.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005763/4.017, allocations: 0.555 MB / 1.131 GB, free: 134.1 MB / 0.5418 GB Notification: Performance of SimCode: time 1.658e-06/4.018, allocations: 0 / 1.131 GB, free: 134.1 MB / 0.5418 GB Notification: Performance of Templates: time 0.2863/4.304, allocations: 135.7 MB / 1.263 GB, free: 57.56 MB / 0.5418 GB