Running command: translateModel(OpenHPL.Examples.HPDetailed_Francis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPDetailed_Francis") Notification: Performance of loadModel(OpenHPL): time 2.354/2.354, allocations: 258 MB / 265.1 MB, free: 5.469 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.731e-05, allocations: 0 / 327.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 60.24 MB / 387.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.5851, allocations: 107.5 MB / 495.4 MB, free: 4.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5853, allocations: 78.12 kB / 495.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6457/1.231, allocations: 109.4 MB / 0.5907 GB, free: 2.246 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.323e-06/1.231, allocations: 4 kB / 0.5907 GB, free: 2.242 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003873/1.232, allocations: 140 kB / 0.5908 GB, free: 2.105 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2345 * Number of variables: 2345 Notification: Performance of Generate backend data structure: time 0.04773/1.279, allocations: 6.866 MB / 0.5975 GB, free: 11.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.279, allocations: 12.03 kB / 0.5976 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/1.286, allocations: 0.7096 MB / 0.5982 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/1.306, allocations: 3.659 MB / 0.6018 GB, free: 6.723 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/1.307, allocations: 315.3 kB / 0.6021 GB, free: 6.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005746/1.313, allocations: 407.9 kB / 0.6025 GB, free: 6.008 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0672/1.38, allocations: 15.73 MB / 0.6179 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06184/1.442, allocations: 13.25 MB / 0.6308 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004758/1.442, allocations: 7.906 kB / 0.6308 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004316/1.447, allocations: 4 kB / 0.6308 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002157/1.449, allocations: 1.002 MB / 0.6318 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4473/1.896, allocations: 35.53 MB / 0.6665 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02465/1.921, allocations: 12.97 MB / 0.6792 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01094/1.932, allocations: 5.177 MB / 0.6842 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/1.934, allocations: 0.9842 MB / 0.6852 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.011e-05/1.934, allocations: 114.8 kB / 0.6853 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=764): time 1.349e-05/1.934, allocations: 0 / 0.6853 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=788): time 0.0777/2.011, allocations: 25.41 MB / 0.7101 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/2.011, allocations: 133.6 kB / 0.7102 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/2.013, allocations: 0.9676 MB / 0.7112 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001943/2.015, allocations: 25.7 kB / 0.7112 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/2.017, allocations: 2.414 MB / 0.7135 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004048/2.021, allocations: 2.567 MB / 0.7161 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002167/2.023, allocations: 0 / 0.7161 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008176/2.024, allocations: 0.6697 MB / 0.7167 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01084/2.035, allocations: 4.853 MB / 0.7215 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/2.047, allocations: 5.598 MB / 0.7269 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01419/2.061, allocations: 6.011 MB / 0.7328 GB, free: 98.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.032e-05/2.061, allocations: 2.906 kB / 0.7328 GB, free: 98.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04093/2.102, allocations: 13.24 MB / 0.7457 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/2.102, allocations: 15.95 kB / 0.7457 GB, free: 86.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.12e-05/2.102, allocations: 12 kB / 0.7457 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007042/2.109, allocations: 1.552 MB / 0.7473 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/2.123, allocations: 1.811 MB / 0.749 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02575/2.149, allocations: 18.73 MB / 0.7673 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007721/2.156, allocations: 233.8 kB / 0.7675 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003714/2.16, allocations: 289.7 kB / 0.7678 GB, free: 65.38 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: penstockKP.U[20]:VARIABLE() "centered states" type: Real [20] penstockKP.U[11]:VARIABLE() "centered states" type: Real [20] surgeTank.Vdot:VARIABLE(start = surgeTank.Vdot_0 unit = "m3/s" ) "Water flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.theta:VARIABLE(unit = "rad" ) "one of servo angles" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.d:VARIABLE(unit = "m" ) "servo term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.psi:VARIABLE(unit = "rad" ) "one of servo angles" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.phi:VARIABLE(unit = "rad" ) "one of servo angles" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: generator.Idq[2]:VARIABLE(unit = "A" ) type: Real [2] generator.Idq[1]:VARIABLE(unit = "A" ) type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: penstockKP.p_[10,2]:VARIABLE(unit = "Pa" ) "boundary p. matrix" type: Real [10,4] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: penstockKP.p_[1,3]:VARIABLE(unit = "Pa" ) "boundary p. matrix" type: Real [10,4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 4 (penstockKP.KP.boundaryCon[2,2],penstockKP.KP.boundaryCon[2,1],penstockKP.KP.boundaryCon[1,2],penstockKP.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (898): * Single equations (assignments): 890 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {2,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: 2 {1 28,1 22} Notification: Performance of prepare postOptimizeDAE: time 0.005588/2.166, allocations: 251.1 kB / 0.7681 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00344/2.169, allocations: 328 kB / 0.7684 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04367/2.213, allocations: 14.4 MB / 0.7824 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001208/2.213, allocations: 84 kB / 0.7825 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/2.213, allocations: 0 / 0.7825 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000203/2.213, allocations: 43.88 kB / 0.7825 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06583/2.279, allocations: 24.79 MB / 0.8068 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.585e-05/2.279, allocations: 7.953 kB / 0.8068 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01264/2.292, allocations: 1.771 MB / 0.8085 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007273/2.299, allocations: 1.595 MB / 0.81 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002114/2.301, allocations: 111.8 kB / 0.8102 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/2.327, allocations: 21.1 MB / 0.8308 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/2.327, allocations: 11.77 kB / 0.8308 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3477/2.675, allocations: 21.86 MB / 0.8521 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/2.676, allocations: 433.9 kB / 0.8525 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002616/2.679, allocations: 18.92 kB / 0.8525 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00651/2.685, allocations: 223.8 kB / 0.8528 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002815/2.688, allocations: 0.5836 MB / 0.8533 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002127/2.69, allocations: 264.6 kB / 0.8536 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001934/2.692, allocations: 0.687 MB / 0.8543 GB, free: 127 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.04e-07/2.692, allocations: 1.625 kB / 0.8543 GB, free: 127 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0124/2.705, allocations: 1.714 MB / 0.8559 GB, free: 127 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 30 (reservoir.m,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,surgeTank.m,surgeTank.Vdot,penstockKP.U[1],penstockKP.U[2],penstockKP.U[3],penstockKP.U[4],penstockKP.U[5],penstockKP.U[6],penstockKP.U[7],penstockKP.U[8],penstockKP.U[9],penstockKP.U[10],penstockKP.U[11],penstockKP.U[12],penstockKP.U[13],penstockKP.U[14],penstockKP.U[15],penstockKP.U[16],penstockKP.U[17],penstockKP.U[18],penstockKP.U[19],penstockKP.U[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (829): * Single equations (assignments): 819 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {2,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: 3 {1 30,1 24,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003059/2.708, allocations: 311.2 kB / 0.8562 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03852/2.746, allocations: 12.27 MB / 0.8682 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/2.746, allocations: 3.719 kB / 0.8682 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02138/2.768, allocations: 6.914 MB / 0.875 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/2.772, allocations: 243.4 kB / 0.8752 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/2.809, allocations: 16.16 MB / 0.891 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008957/2.818, allocations: 4.547 MB / 0.8954 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01556/2.834, allocations: 3.822 MB / 0.8991 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005791/2.84, allocations: 0.5211 MB / 0.8997 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.717e-06/2.84, allocations: 0 / 0.8997 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.1659/3.006, allocations: 83.47 MB / 0.9812 GB, free: 44.64 MB / 0.5105 GB