Running command: translateModel(OpenHPL.Examples.HPSimple_Francis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPSimple_Francis") Notification: Performance of loadModel(OpenHPL): time 2.682/2.682, allocations: 258 MB / 272.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.223e-05, allocations: 4 kB / 336.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 60.24 MB / 396.6 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.HPSimple_Francis): time 0.00755/0.1398, allocations: 4.77 MB / 401.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of NFInst.instExpressions(OpenHPL.Examples.HPSimple_Francis): time 0.006582/0.1464, allocations: 2.607 MB / 404 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.1476, allocations: 8 kB / 404 MB, free: 14.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents(OpenHPL.Examples.HPSimple_Francis): time 0.0005668/0.1481, allocations: 134.8 kB / 404.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings(OpenHPL.Examples.HPSimple_Francis): time 0.001799/0.15, allocations: 438.5 kB / 404.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections(OpenHPL.Examples.HPSimple_Francis): time 0.002329/0.1523, allocations: 0.5572 MB / 405.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of NFFlatten.flatten(OpenHPL.Examples.HPSimple_Francis): time 0.001728/0.1541, allocations: 0.6611 MB / 405.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections(OpenHPL.Examples.HPSimple_Francis): time 0.0002127/0.1543, allocations: 56.95 kB / 405.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006815/0.155, allocations: 407 kB / 406.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1563, allocations: 0.5452 MB / 406.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions(OpenHPL.Examples.HPSimple_Francis): time 0.001305/0.1577, allocations: 391.5 kB / 407.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004396/0.1581, allocations: 72 kB / 407.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize(OpenHPL.Examples.HPSimple_Francis): time 0.0003346/0.1585, allocations: 215.2 kB / 407.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-06/0.1585, allocations: 0 / 407.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert(OpenHPL.Examples.HPSimple_Francis): time 0.002901/0.1614, allocations: 1.013 MB / 408.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1615, allocations: 0 / 408.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1615, allocations: 0 / 408.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.1615, allocations: 0 / 408.4 MB, free: 9.785 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.007236/0.1688, allocations: 1.247 MB / 409.7 MB, free: 8.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.1689, allocations: 12.02 kB / 409.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008375/0.1697, allocations: 126.7 kB / 409.8 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.171, allocations: 494.3 kB / 410.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.1712, allocations: 137.3 kB / 410.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/0.1716, allocations: 88 kB / 410.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/0.1752, allocations: 1.023 MB / 411.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.1753, allocations: 7.906 kB / 411.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.1755, allocations: 32 kB / 411.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.1755, allocations: 24 kB / 411.6 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004354/0.1799, allocations: 0.9955 MB / 412.6 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.19, allocations: 3.22 MB / 415.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.1937, allocations: 0.8567 MB / 416.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.195, allocations: 0.8669 MB / 417.5 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.195, allocations: 43.34 kB / 417.6 MB, free: 224 kB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 3.586e-06/0.195, allocations: 0 / 417.6 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=107): time 0.321/0.516, allocations: 3.117 MB / 420.7 MB, free: 20.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.5161, allocations: 61.94 kB / 420.7 MB, free: 20.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5175, allocations: 0.6743 MB / 421.4 MB, free: 19.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.5176, allocations: 45.67 kB / 421.5 MB, free: 19.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/0.518, allocations: 474 kB / 421.9 MB, free: 19.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.5184, allocations: 375.8 kB / 422.3 MB, free: 19.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.5185, allocations: 32.88 kB / 422.3 MB, free: 19.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5187, allocations: 403.8 kB / 422.7 MB, free: 18.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.5204, allocations: 478.6 kB / 423.2 MB, free: 18.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.5222, allocations: 0.6511 MB / 423.8 MB, free: 18.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.524, allocations: 0.5433 MB / 424.4 MB, free: 18.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.524, allocations: 1.375 kB / 424.4 MB, free: 18.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006965/0.531, allocations: 1.605 MB / 426 MB, free: 17.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.5311, allocations: 14.42 kB / 426 MB, free: 17.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.5312, allocations: 4.594 kB / 426 MB, free: 17.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/0.5334, allocations: 237.2 kB / 426.2 MB, free: 17.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007789/0.5412, allocations: 435.1 kB / 426.7 MB, free: 17.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/0.5598, allocations: 11.92 MB / 438.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.5629, allocations: 64.98 kB / 438.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.5631, allocations: 49.53 kB / 438.7 MB, free: 5.844 MB / 346.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 152 * 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: 2 {(1,100.0%) 17,(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007823/0.5639, allocations: 242.3 kB / 438.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.5642, allocations: 99.16 kB / 439 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008045/0.5723, allocations: 1.4 MB / 440.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/0.5724, allocations: 5.719 kB / 440.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5724, allocations: 0 / 440.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.573, allocations: 181.9 kB / 440.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004253/0.5734, allocations: 21.97 kB / 440.6 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.5755, allocations: 50.38 kB / 440.7 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/0.576, allocations: 89.61 kB / 440.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0127/0.5887, allocations: 1.679 MB / 442.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00704/0.5958, allocations: 1.723 MB / 444.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001931/0.5978, allocations: 455.7 kB / 444.6 MB, free: 3.246 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.5994, allocations: 0.5109 MB / 445.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of Backend: time 8.52e-07/0.5994, allocations: 1.094 kB / 445.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00925/0.6086, allocations: 1.534 MB / 446.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of SimCode: time 0.007448/0.6161, allocations: 3.058 MB / 449.7 MB, free: 140 kB / 346.7 MB Notification: Performance of Templates: time 0.0569/0.6731, allocations: 16.9 MB / 466.6 MB, free: 2.887 MB / 362.7 MB