Running command: translateModel(OpenHPL.Examples.HPDetailed,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPDetailed") Notification: Performance of loadModel(OpenHPL): time 2.655/2.655, allocations: 258 MB / 272.4 MB, free: 13.65 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.432e-05, allocations: 4 kB / 336.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 60.25 MB / 396.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.HPDetailed): time 0.006729/0.133, allocations: 4.03 MB / 400.6 MB, free: 1.633 MB / 330.7 MB Notification: Performance of NFInst.instExpressions(OpenHPL.Examples.HPDetailed): time 0.006932/0.14, allocations: 2.781 MB / 403.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008954/0.141, allocations: 11.94 kB / 403.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents(OpenHPL.Examples.HPDetailed): time 0.001074/0.1421, allocations: 262.8 kB / 403.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings(OpenHPL.Examples.HPDetailed): time 0.001921/0.144, allocations: 430.7 kB / 404.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections(OpenHPL.Examples.HPDetailed): time 0.0034/0.1475, allocations: 0.9941 MB / 405.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten(OpenHPL.Examples.HPDetailed): time 0.00316/0.1507, allocations: 1.388 MB / 406.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections(OpenHPL.Examples.HPDetailed): time 0.0002777/0.151, allocations: 52.55 kB / 406.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.1535, allocations: 1.007 MB / 407.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006863/0.1604, allocations: 3.563 MB / 411.1 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions(OpenHPL.Examples.HPDetailed): time 0.002833/0.1633, allocations: 0.4958 MB / 411.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002332/0.1657, allocations: 304 kB / 411.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize(OpenHPL.Examples.HPDetailed): time 0.005604/0.1714, allocations: 3.013 MB / 414.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.1714, allocations: 0 / 414.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert(OpenHPL.Examples.HPDetailed): time 0.3689/0.5404, allocations: 9.133 MB / 424 MB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5404, allocations: 1.406 kB / 424 MB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.5404, allocations: 3.469 kB / 424 MB, free: 6.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003565/0.5408, allocations: 0 / 424 MB, free: 6.672 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.07559/0.6164, allocations: 6.893 MB / 430.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.6165, allocations: 9.281 kB / 430.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006337/0.6228, allocations: 0.6378 MB / 431.6 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.6349, allocations: 3.015 MB / 434.6 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007488/0.6357, allocations: 425.4 kB / 435 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005564/0.6413, allocations: 0.5414 MB / 435.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05257/0.6939, allocations: 14.49 MB / 450 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003764/0.6944, allocations: 17.95 kB / 450 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005016/0.6994, allocations: 226.8 kB / 450.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004585/0.704, allocations: 1.548 MB / 451.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05547/0.7596, allocations: 14.82 MB / 466.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6068/1.366, allocations: 96.52 MB / 0.5499 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06448/1.431, allocations: 24.66 MB / 0.574 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/1.434, allocations: 0.978 MB / 0.575 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/1.434, allocations: 108.3 kB / 0.5751 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=731): time 1.299e-05/1.434, allocations: 0 / 0.5751 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=755): time 0.8903/2.324, allocations: 100.5 MB / 0.6732 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/2.324, allocations: 129.3 kB / 0.6734 GB, free: 129 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/2.326, allocations: 0.828 MB / 0.6742 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.005077/2.331, allocations: 149.7 kB / 0.6743 GB, free: 128 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/2.333, allocations: 2.258 MB / 0.6765 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007251/2.34, allocations: 2.553 MB / 0.679 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00518/2.345, allocations: 136 kB / 0.6791 GB, free: 123 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005601/2.346, allocations: 0.6387 MB / 0.6798 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03995/2.386, allocations: 15.83 MB / 0.6952 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04066/2.426, allocations: 16.54 MB / 0.7114 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04367/2.47, allocations: 16.94 MB / 0.7279 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/2.47, allocations: 4 kB / 0.7279 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.2432/2.714, allocations: 45.17 MB / 0.772 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/2.714, allocations: 8 kB / 0.7721 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/2.714, allocations: 13.09 kB / 0.7721 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1093/2.823, allocations: 11.67 MB / 0.7835 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03383/2.857, allocations: 1.851 MB / 0.7853 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6611/3.518, allocations: 55.43 MB / 0.8394 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03028/3.548, allocations: 421.9 kB / 0.8398 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005578/3.554, allocations: 0.9929 MB / 0.8408 GB, free: 154.6 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: 46 * 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 (796): * Single equations (assignments): 794 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 48,1 28} Notification: Performance of prepare postOptimizeDAE: time 0.01335/3.567, allocations: 2.479 MB / 0.8432 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005628/3.573, allocations: 307 kB / 0.8435 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2666/3.84, allocations: 48.27 MB / 0.8906 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000265/3.84, allocations: 43.84 kB / 0.8907 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/3.84, allocations: 3.938 kB / 0.8907 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/3.841, allocations: 378.1 kB / 0.891 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006911/3.848, allocations: 148 kB / 0.8912 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02909/3.877, allocations: 408.2 kB / 0.8916 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006929/3.884, allocations: 0.8683 MB / 0.8924 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2442/4.128, allocations: 40.12 MB / 0.9316 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1566/4.285, allocations: 61.46 MB / 0.9916 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.404/4.689, allocations: 18.79 MB / 1.01 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00182/4.691, allocations: 0.6118 MB / 1.011 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of Backend: time 1.593e-06/4.691, allocations: 2.938 kB / 1.011 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.05695/4.748, allocations: 21.32 MB / 1.031 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of SimCode: time 0.03381/4.782, allocations: 15.63 MB / 1.047 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of Templates: time 1.972/6.753, allocations: 423.4 MB / 1.46 GB, free: 141.2 MB / 0.5418 GB