Running command: translateModel(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus") Notification: Performance of loadModel(OpenHPL): time 2.422/2.422, allocations: 258 MB / 272.4 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.398e-05, allocations: 4 kB / 336.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1329, allocations: 60.24 MB / 396.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.01284/0.1458, allocations: 7.962 MB / 404.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.01106/0.1569, allocations: 4.119 MB / 408.7 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.1591, allocations: 39.88 kB / 408.7 MB, free: 9.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.001536/0.1606, allocations: 337.6 kB / 409 MB, free: 9.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.004547/0.1652, allocations: 1.02 MB / 410 MB, free: 8.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.00488/0.1701, allocations: 1.173 MB / 411.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.003936/0.1741, allocations: 1.391 MB / 412.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.0006893/0.1748, allocations: 257.4 kB / 412.9 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.1766, allocations: 0.8416 MB / 413.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.1791, allocations: 1.051 MB / 414.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.001797/0.181, allocations: 423.5 kB / 415.2 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006692/0.1817, allocations: 112 kB / 415.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.0006205/0.1823, allocations: 434.2 kB / 415.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-06/0.1823, allocations: 0 / 415.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert(OpenHPL.Examples.HPSimple_Francis_IPSLGenInfBus): time 0.004247/0.1866, allocations: 2.053 MB / 417.7 MB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1866, allocations: 0 / 417.7 MB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1867, allocations: 7.938 kB / 417.8 MB, free: 440 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001098/0.1868, allocations: 4 kB / 417.8 MB, free: 436 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.3316/0.5184, allocations: 3.1 MB / 420.9 MB, free: 20.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5184, allocations: 9.938 kB / 420.9 MB, free: 20.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00888/0.5273, allocations: 0.9292 MB / 421.8 MB, free: 19.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/0.5311, allocations: 1.218 MB / 423 MB, free: 19.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/0.5317, allocations: 365.2 kB / 423.4 MB, free: 19.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.5323, allocations: 162.8 kB / 423.5 MB, free: 19.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007378/0.5397, allocations: 2.101 MB / 425.6 MB, free: 18.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.116e-05/0.5398, allocations: 11.84 kB / 425.6 MB, free: 18.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.5401, allocations: 62.36 kB / 425.7 MB, free: 18.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.5402, allocations: 37.81 kB / 425.7 MB, free: 18.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008493/0.5487, allocations: 2.114 MB / 427.9 MB, free: 17.51 MB / 346.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.02131/0.57, allocations: 6.473 MB / 434.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/0.5906, allocations: 3.527 MB / 437.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.5921, allocations: 0.879 MB / 438.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.5922, allocations: 51.12 kB / 438.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 4.759e-06/0.5922, allocations: 1.031 kB / 438.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.05888/0.6511, allocations: 11.58 MB / 450.4 MB, free: 3.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.6512, allocations: 120.8 kB / 450.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.6544, allocations: 1.476 MB / 452 MB, free: 2.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006397/0.6551, allocations: 57.7 kB / 452 MB, free: 1.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009811/0.6561, allocations: 0.9712 MB / 453 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/0.6573, allocations: 0.6426 MB / 453.6 MB, free: 340 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.6577, allocations: 44 kB / 453.7 MB, free: 296 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.6579, allocations: 390.5 kB / 454.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/0.6634, allocations: 1.18 MB / 455.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008714/0.6722, allocations: 1.465 MB / 456.7 MB, free: 13.16 MB / 362.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.06726/0.7395, allocations: 7.436 MB / 464.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.7396, allocations: 4 kB / 464.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.0318/0.7714, allocations: 5.924 MB / 470.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.7725, allocations: 2.285 MB / 472.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.7725, allocations: 7.953 kB / 472.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01324/0.7858, allocations: 2.136 MB / 474.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007205/0.7931, allocations: 0.6046 MB / 475.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04202/0.8351, allocations: 15.94 MB / 491 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004922/0.8401, allocations: 211.9 kB / 491.2 MB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006714/0.8408, allocations: 83.97 kB / 491.3 MB, free: 9.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8408, allocations: 0 / 491.3 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03995/0.8808, allocations: 5.661 MB / 497 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/0.8809, allocations: 8 kB / 497 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01772/0.8986, allocations: 2.138 MB / 499.1 MB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009596/0.9083, allocations: 0.593 MB / 499.7 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04452/0.9529, allocations: 15.9 MB / 0.5035 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004557/0.9575, allocations: 199.9 kB / 0.5037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000646/0.9582, allocations: 75.98 kB / 0.5038 GB, free: 15.71 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: penstock.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real 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: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.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: 1 {(1,100.0%) 16} * Non-linear torn systems: 1 {20 4} Notification: Performance of prepare postOptimizeDAE: time 0.001621/0.9598, allocations: 409.1 kB / 0.5042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007588/0.9606, allocations: 221.2 kB / 0.5044 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03615/0.9968, allocations: 5.769 MB / 0.51 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.091e-05/0.9969, allocations: 7.969 kB / 0.5101 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.9969, allocations: 0 / 0.5101 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.9978, allocations: 306 kB / 0.5103 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008211/0.9987, allocations: 36 kB / 0.5104 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/1.002, allocations: 183.9 kB / 0.5106 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002202/1.004, allocations: 0.4972 MB / 0.511 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02548/1.03, allocations: 3.888 MB / 0.5148 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01462/1.044, allocations: 3.928 MB / 0.5187 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004369/1.049, allocations: 1.093 MB / 0.5197 GB, free: 15.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002615/1.051, allocations: 1.116 MB / 0.5208 GB, free: 14.16 MB / 442.7 MB Notification: Performance of Backend: time 8.52e-07/1.051, allocations: 0 / 0.5208 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01821/1.07, allocations: 3.616 MB / 0.5244 GB, free: 10.55 MB / 442.7 MB Notification: Performance of SimCode: time 0.0111/1.081, allocations: 5.19 MB / 0.5294 GB, free: 5.309 MB / 442.7 MB Notification: Performance of Templates: time 0.1402/1.221, allocations: 33.83 MB / 0.5625 GB, free: 3.445 MB / 474.7 MB