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.587/2.587, allocations: 258 MB / 272.4 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.872e-05, allocations: 7.984 kB / 336.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 60.24 MB / 396.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.HPDetailed_Francis): time 0.008313/0.1439, allocations: 5.036 MB / 401.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of NFInst.instExpressions(OpenHPL.Examples.HPDetailed_Francis): time 0.007647/0.1516, allocations: 3.021 MB / 404.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008948/0.1526, allocations: 8 kB / 404.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents(OpenHPL.Examples.HPDetailed_Francis): time 0.0007369/0.1533, allocations: 238.5 kB / 404.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings(OpenHPL.Examples.HPDetailed_Francis): time 0.001689/0.155, allocations: 0.5139 MB / 405.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections(OpenHPL.Examples.HPDetailed_Francis): time 0.003237/0.1583, allocations: 1.068 MB / 406.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of NFFlatten.flatten(OpenHPL.Examples.HPDetailed_Francis): time 0.003093/0.1614, allocations: 1.589 MB / 408 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections(OpenHPL.Examples.HPDetailed_Francis): time 0.0002155/0.1616, allocations: 64.39 kB / 408.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.1637, allocations: 1.143 MB / 409.2 MB, free: 8.961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007069/0.1708, allocations: 3.781 MB / 413 MB, free: 5.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions(OpenHPL.Examples.HPDetailed_Francis): time 0.002602/0.1735, allocations: 0.4958 MB / 413.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.1751, allocations: 328 kB / 413.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize(OpenHPL.Examples.HPDetailed_Francis): time 0.004464/0.1796, allocations: 3.095 MB / 416.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-06/0.1797, allocations: 4 kB / 416.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert(OpenHPL.Examples.HPDetailed_Francis): time 0.3557/0.5354, allocations: 9.369 MB / 426.3 MB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5354, allocations: 1.5 kB / 426.3 MB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5355, allocations: 0 / 426.3 MB, free: 6.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004766/0.536, allocations: 0 / 426.3 MB, free: 6.715 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: 2345 * Number of variables: 2345 Notification: Performance of Generate backend data structure: time 0.1043/0.6403, allocations: 7.212 MB / 433.5 MB, free: 3.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.439e-05/0.6404, allocations: 7.75 kB / 433.5 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008074/0.6485, allocations: 0.6893 MB / 434.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.6611, allocations: 3.074 MB / 437.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00118/0.6623, allocations: 486.7 kB / 437.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006254/0.6686, allocations: 0.5783 MB / 438.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05635/0.725, allocations: 14.96 MB / 453.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004466/0.7255, allocations: 11.53 kB / 453.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005125/0.7306, allocations: 237.2 kB / 453.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004753/0.7354, allocations: 1.56 MB / 455.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05625/0.7918, allocations: 15.32 MB / 470.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6232/1.415, allocations: 97.99 MB / 0.5551 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06671/1.482, allocations: 25.07 MB / 0.5796 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002815/1.485, allocations: 0.9898 MB / 0.5805 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/1.485, allocations: 112.6 kB / 0.5807 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=773): time 1.218e-05/1.485, allocations: 0 / 0.5807 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of matching and sorting (n=797): time 0.8962/2.381, allocations: 101.6 MB / 0.6799 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/2.381, allocations: 133.7 kB / 0.68 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/2.384, allocations: 1.03 MB / 0.6811 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.005447/2.389, allocations: 157.7 kB / 0.6812 GB, free: 122 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/2.391, allocations: 2.392 MB / 0.6835 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007931/2.399, allocations: 2.693 MB / 0.6862 GB, free: 117 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005683/2.404, allocations: 148 kB / 0.6863 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008438/2.405, allocations: 0.6713 MB / 0.687 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04147/2.447, allocations: 16.06 MB / 0.7026 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04362/2.491, allocations: 16.84 MB / 0.7191 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0457/2.536, allocations: 17.2 MB / 0.7359 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-05/2.536, allocations: 0 / 0.7359 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.2465/2.783, allocations: 45.83 MB / 0.7806 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/2.783, allocations: 12 kB / 0.7807 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.004e-05/2.783, allocations: 12 kB / 0.7807 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1333/2.916, allocations: 11.68 MB / 0.7921 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03787/2.954, allocations: 2.106 MB / 0.7941 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6336/3.588, allocations: 64.37 MB / 0.857 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03469/3.623, allocations: 451.5 kB / 0.8574 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005861/3.629, allocations: 1.021 MB / 0.8584 GB, free: 136.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: penstockKP.U[20]:VARIABLE(fixed = true ) "centered states" type: Real [20] penstockKP.U[11]:VARIABLE(fixed = true ) "centered states" type: Real [20] 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: 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 (874): * Single equations (assignments): 866 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {1 46,1 28} Notification: Performance of prepare postOptimizeDAE: time 0.01333/3.642, allocations: 2.505 MB / 0.8609 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00397/3.646, allocations: 338 kB / 0.8612 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2551/3.901, allocations: 48.81 MB / 0.9089 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000266/3.901, allocations: 47.84 kB / 0.9089 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/3.901, allocations: 0 / 0.9089 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009431/3.902, allocations: 438.3 kB / 0.9093 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00779/3.91, allocations: 148 kB / 0.9095 GB, free: 85.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06523/3.975, allocations: 439.6 kB / 0.9099 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009887/3.985, allocations: 0.896 MB / 0.9107 GB, free: 83.78 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2076/4.193, allocations: 40.77 MB / 0.9506 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.5346/4.728, allocations: 62.13 MB / 1.011 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04229/4.77, allocations: 18.99 MB / 1.03 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001596/4.772, allocations: 0.7625 MB / 1.031 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of Backend: time 1.954e-06/4.772, allocations: 0 / 1.031 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06177/4.833, allocations: 21.61 MB / 1.052 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of SimCode: time 0.04107/4.875, allocations: 16.67 MB / 1.068 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of Templates: time 1.984/6.858, allocations: 429.7 MB / 1.488 GB, free: 124.9 MB / 0.5418 GB