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.628/2.628, allocations: 258 MB / 272.4 MB, free: 13.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.413e-05, allocations: 4 kB / 336.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 60.24 MB / 396.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.01873/0.1539, allocations: 8.286 MB / 404.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.01594/0.1699, allocations: 4.556 MB / 409.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.1728, allocations: 35.88 kB / 409.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.002495/0.1753, allocations: 433.3 kB / 409.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.00651/0.1819, allocations: 1.117 MB / 411 MB, free: 7.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.008118/0.1901, allocations: 1.684 MB / 412.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.01098/0.2011, allocations: 2.327 MB / 415 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.001028/0.2022, allocations: 265.3 kB / 415.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.2063, allocations: 1.591 MB / 416.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3349/0.5413, allocations: 4.299 MB / 421.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.005011/0.5463, allocations: 0.6642 MB / 421.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004172/0.5505, allocations: 372.2 kB / 422.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.008202/0.5588, allocations: 3.315 MB / 425.5 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.5589, allocations: 0 / 425.5 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert(OpenHPL.Examples.HPSimple_Francis_IPSLGen): time 0.01812/0.577, allocations: 10.51 MB / 436 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5771, allocations: 1.75 kB / 436 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5771, allocations: 1.094 kB / 436 MB, free: 2.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005964/0.5777, allocations: 0 / 436 MB, free: 2.133 MB / 346.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.09084/0.6686, allocations: 9.102 MB / 445.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.6687, allocations: 11.92 kB / 445.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.6826, allocations: 1.481 MB / 446.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.6965, allocations: 3.79 MB / 450.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001305/0.6978, allocations: 0.7296 MB / 451.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005233/0.7031, allocations: 0.6522 MB / 451.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05758/0.7608, allocations: 16.06 MB / 467.8 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003825/0.7612, allocations: 15.89 kB / 467.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004681/0.7659, allocations: 263.3 kB / 468.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004606/0.7706, allocations: 1.596 MB / 469.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05866/0.8293, allocations: 16.45 MB / 486.1 MB, free: 9.902 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6327/1.462, allocations: 101.4 MB / 0.5738 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0727/1.535, allocations: 26.91 MB / 0.6 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002952/1.538, allocations: 1 MB / 0.601 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/1.538, allocations: 125.3 kB / 0.6011 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=860): time 1.402e-05/1.538, allocations: 0 / 0.6011 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=884): time 1.27/2.808, allocations: 111.5 MB / 0.71 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/2.809, allocations: 193.7 kB / 0.7102 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/2.813, allocations: 1.792 MB / 0.7119 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.005273/2.818, allocations: 173.7 kB / 0.7121 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00206/2.82, allocations: 2.865 MB / 0.7149 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008028/2.828, allocations: 2.996 MB / 0.7178 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006177/2.834, allocations: 164 kB / 0.718 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008776/2.835, allocations: 0.6531 MB / 0.7186 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06214/2.897, allocations: 16.78 MB / 0.735 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0455/2.943, allocations: 17.66 MB / 0.7523 GB, free: 48.31 MB / 0.5105 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 13.85/16.8, allocations: 0.5538 GB / 1.306 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/16.8, allocations: 10.16 kB / 1.306 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.2984/17.09, allocations: 50.73 MB / 1.356 GB, free: 51.53 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.001081/17.09, allocations: 5.332 MB / 1.361 GB, free: 45.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-05/17.1, allocations: 16.86 kB / 1.361 GB, free: 45.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1222/17.22, allocations: 13.75 MB / 1.374 GB, free: 32.03 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03976/17.26, allocations: 2.278 MB / 1.376 GB, free: 29.75 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6863/17.94, allocations: 72.82 MB / 1.448 GB, free: 159.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03416/17.98, allocations: 0.5904 MB / 1.448 GB, free: 159.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006144/17.98, allocations: 1.043 MB / 1.449 GB, free: 158.6 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/17.98, allocations: 7.781 kB / 1.449 GB, free: 158.6 MB / 0.5262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2725/18.26, allocations: 50.34 MB / 1.498 GB, free: 113.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.355e-05/18.26, allocations: 12 kB / 1.498 GB, free: 113.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1228/18.38, allocations: 13.76 MB / 1.512 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.039/18.42, allocations: 2.258 MB / 1.514 GB, free: 97.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2357/18.65, allocations: 74.87 MB / 1.587 GB, free: 22.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03372/18.69, allocations: 0.566 MB / 1.588 GB, free: 21.58 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006776/18.69, allocations: 1.05 MB / 1.589 GB, free: 20.53 MB / 0.5262 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 (957): * Single equations (assignments): 949 * 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 52,1 22,26 10} Notification: Performance of prepare postOptimizeDAE: time 0.01758/18.71, allocations: 2.67 MB / 1.591 GB, free: 17.86 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007193/18.72, allocations: 459.2 kB / 1.592 GB, free: 17.64 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7236/19.44, allocations: 53.77 MB / 1.644 GB, free: 168.6 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002657/19.44, allocations: 45.75 kB / 1.644 GB, free: 168.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/19.44, allocations: 0 / 1.644 GB, free: 168.6 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/19.44, allocations: 0.5229 MB / 1.645 GB, free: 168.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007964/19.45, allocations: 178 kB / 1.645 GB, free: 168.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05432/19.51, allocations: 0.5544 MB / 1.646 GB, free: 168.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.03989/19.55, allocations: 1.378 MB / 1.647 GB, free: 168.1 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2428/19.79, allocations: 43.07 MB / 1.689 GB, free: 127.6 MB / 0.5262 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1728/19.96, allocations: 64.38 MB / 1.752 GB, free: 63.43 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04528/20.01, allocations: 19.65 MB / 1.771 GB, free: 43.77 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.002991/20.01, allocations: 1.336 MB / 1.772 GB, free: 42.43 MB / 0.5262 GB Notification: Performance of Backend: time 1.352e-06/20.01, allocations: 4 kB / 1.772 GB, free: 42.42 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.07204/20.08, allocations: 23.78 MB / 1.796 GB, free: 18.88 MB / 0.5262 GB Notification: Performance of SimCode: time 0.4084/20.49, allocations: 19.04 MB / 1.814 GB, free: 167.6 MB / 0.5262 GB Notification: Performance of Templates: time 1.811/22.3, allocations: 448.5 MB / 2.252 GB, free: 186.1 MB / 0.5574 GB