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.497/2.497, allocations: 258 MB / 272.4 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.974e-05, allocations: 4 kB / 336.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 60.25 MB / 396.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.01348/0.1496, allocations: 8.298 MB / 404.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of NFInst.instExpressions(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.0123/0.162, allocations: 4.553 MB / 409.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.1645, allocations: 35.88 kB / 409.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.001951/0.1665, allocations: 433.4 kB / 409.9 MB, free: 8.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.005056/0.1715, allocations: 1.131 MB / 411 MB, free: 7.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.006179/0.1777, allocations: 1.696 MB / 412.7 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.006002/0.1838, allocations: 2.327 MB / 415 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.0007269/0.1846, allocations: 249.4 kB / 415.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.1882, allocations: 1.599 MB / 416.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.345/0.5332, allocations: 4.303 MB / 421.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.005339/0.5386, allocations: 0.6647 MB / 421.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00425/0.543, allocations: 374.9 kB / 422.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.008375/0.5514, allocations: 3.312 MB / 425.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.5515, allocations: 0 / 425.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert(OpenHPL.Examples.HPSimple_Francis_GridGen): time 0.01725/0.5687, allocations: 10.52 MB / 436 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5688, allocations: 3.156 kB / 436 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5688, allocations: 0.75 kB / 436 MB, free: 2.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006377/0.5695, allocations: 0 / 436 MB, free: 2.211 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.08966/0.6591, allocations: 9.104 MB / 445.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.6592, allocations: 11.45 kB / 445.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.6732, allocations: 1.474 MB / 446.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.687, allocations: 3.787 MB / 450.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/0.6883, allocations: 0.7343 MB / 451.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006442/0.6947, allocations: 0.6477 MB / 451.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08208/0.7769, allocations: 16.06 MB / 467.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005087/0.7775, allocations: 22.23 kB / 467.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006172/0.7837, allocations: 264.9 kB / 468.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006204/0.7899, allocations: 1.583 MB / 469.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07471/0.8647, allocations: 16.45 MB / 486.2 MB, free: 9.918 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.6596/1.524, allocations: 101.4 MB / 0.5738 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.071/1.595, allocations: 26.93 MB / 0.6001 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00344/1.599, allocations: 0.9982 MB / 0.6011 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/1.599, allocations: 121.3 kB / 0.6012 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=860): time 2.009e-05/1.599, allocations: 8 kB / 0.6012 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=884): time 1.283/2.882, allocations: 111.1 MB / 0.7097 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/2.882, allocations: 193.7 kB / 0.7099 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/2.886, allocations: 1.803 MB / 0.7116 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.005088/2.891, allocations: 165.7 kB / 0.7118 GB, free: 90.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/2.893, allocations: 2.871 MB / 0.7146 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007808/2.9, allocations: 3.002 MB / 0.7175 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004843/2.905, allocations: 164 kB / 0.7177 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006339/2.906, allocations: 0.6569 MB / 0.7183 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04306/2.949, allocations: 16.78 MB / 0.7347 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04382/2.993, allocations: 17.66 MB / 0.7519 GB, free: 48.73 MB / 0.5105 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 13.5/16.49, allocations: 0.5538 GB / 1.306 GB, free: 101.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/16.49, allocations: 4 kB / 1.306 GB, free: 101.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.2736/16.76, allocations: 50.66 MB / 1.355 GB, free: 52.15 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.001142/16.76, allocations: 5.335 MB / 1.36 GB, free: 46.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.38e-05/16.76, allocations: 17.38 kB / 1.36 GB, free: 46.42 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1203/16.88, allocations: 13.76 MB / 1.374 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03947/16.92, allocations: 2.274 MB / 1.376 GB, free: 30.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6857/17.61, allocations: 72.68 MB / 1.447 GB, free: 159.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04632/17.66, allocations: 0.5838 MB / 1.448 GB, free: 159.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00578/17.66, allocations: 1.047 MB / 1.449 GB, free: 159.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/17.66, allocations: 0 / 1.449 GB, free: 159.2 MB / 0.5262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.334/18, allocations: 50.27 MB / 1.498 GB, free: 114.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/18, allocations: 15.75 kB / 1.498 GB, free: 114.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1293/18.13, allocations: 13.76 MB / 1.511 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03928/18.17, allocations: 2.262 MB / 1.513 GB, free: 98.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.229/18.39, allocations: 74.82 MB / 1.586 GB, free: 23 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0334/18.43, allocations: 0.5699 MB / 1.587 GB, free: 22.43 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006148/18.43, allocations: 1.05 MB / 1.588 GB, free: 21.38 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 46,1 28,26 10} Notification: Performance of prepare postOptimizeDAE: time 0.01633/18.45, allocations: 2.667 MB / 1.591 GB, free: 18.71 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006289/18.46, allocations: 462.2 kB / 1.591 GB, free: 18.49 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6514/19.11, allocations: 53.73 MB / 1.644 GB, free: 168 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003107/19.11, allocations: 46.17 kB / 1.644 GB, free: 168 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/19.11, allocations: 3.906 kB / 1.644 GB, free: 168 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/19.11, allocations: 0.5276 MB / 1.644 GB, free: 167.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008192/19.12, allocations: 171.6 kB / 1.644 GB, free: 167.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03281/19.15, allocations: 0.5529 MB / 1.645 GB, free: 167.6 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01066/19.16, allocations: 1.38 MB / 1.646 GB, free: 167.5 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2663/19.43, allocations: 43.06 MB / 1.688 GB, free: 128.4 MB / 0.5262 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1776/19.61, allocations: 64.39 MB / 1.751 GB, free: 64.3 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04739/19.65, allocations: 19.64 MB / 1.77 GB, free: 44.64 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.00315/19.66, allocations: 1.333 MB / 1.772 GB, free: 43.3 MB / 0.5262 GB Notification: Performance of Backend: time 1.042e-06/19.66, allocations: 3.938 kB / 1.772 GB, free: 43.29 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.07559/19.73, allocations: 23.75 MB / 1.795 GB, free: 19.79 MB / 0.5262 GB Notification: Performance of SimCode: time 0.4166/20.15, allocations: 19.07 MB / 1.813 GB, free: 166.9 MB / 0.5262 GB Notification: Performance of Templates: time 1.862/22.01, allocations: 448.6 MB / 2.252 GB, free: 186.8 MB / 0.5574 GB