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.235/2.235, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.879e-05, allocations: 11.98 kB / 331.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3313, allocations: 59.8 MB / 391 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.4947, allocations: 108 MB / 499 MB, free: 9.328 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.495, allocations: 75.97 kB / 499.1 MB, free: 9.254 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7543/1.249, allocations: 110.2 MB / 0.5949 GB, free: 75.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.97e-06/1.249, allocations: 0 / 0.5949 GB, free: 75.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003292/1.25, allocations: 140 kB / 0.5951 GB, free: 75.28 MB / 458.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.04113/1.291, allocations: 6.863 MB / 0.6018 GB, free: 68.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.291, allocations: 16.03 kB / 0.6018 GB, free: 68.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/1.295, allocations: 0.7096 MB / 0.6025 GB, free: 67.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009937/1.305, allocations: 3.662 MB / 0.6061 GB, free: 63.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007/1.306, allocations: 0.5383 MB / 0.6066 GB, free: 63.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003711/1.31, allocations: 0.66 MB / 0.6072 GB, free: 62.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03715/1.347, allocations: 14.39 MB / 0.6213 GB, free: 48.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002771/1.347, allocations: 19.89 kB / 0.6213 GB, free: 48.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003043/1.35, allocations: 272 kB / 0.6216 GB, free: 47.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/1.351, allocations: 0.9976 MB / 0.6225 GB, free: 46.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03685/1.388, allocations: 15.38 MB / 0.6376 GB, free: 31.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/1.511, allocations: 37.2 MB / 0.6739 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02921/1.54, allocations: 13.36 MB / 0.6869 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01283/1.553, allocations: 5.413 MB / 0.6922 GB, free: 7.156 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/1.555, allocations: 0.9892 MB / 0.6932 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/1.555, allocations: 108.6 kB / 0.6933 GB, free: 5.863 MB / 490.7 MB Notification: Performance of pre-optimization done (n=773): time 1.31e-05/1.555, allocations: 0 / 0.6933 GB, free: 5.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=797): time 0.6457/2.201, allocations: 26.13 MB / 0.7188 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/2.201, allocations: 134.2 kB / 0.7189 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/2.203, allocations: 1.019 MB / 0.7199 GB, free: 121.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001696/2.205, allocations: 157.2 kB / 0.7201 GB, free: 121.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/2.206, allocations: 2.387 MB / 0.7224 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003762/2.21, allocations: 2.7 MB / 0.725 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/2.212, allocations: 150.8 kB / 0.7252 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007805/2.213, allocations: 0.6705 MB / 0.7258 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01159/2.224, allocations: 5.026 MB / 0.7307 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/2.237, allocations: 5.791 MB / 0.7364 GB, free: 118.3 MB / 0.4949 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = $START.surgeTank.Vdot (surgeTank.Vdot_0 = $START.surgeTank.Vdot) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.h = $START.surgeTank.h (surgeTank.h_0 = $START.surgeTank.h) Notification: Performance of analyzeInitialSystem (initialization): time 0.2196/2.457, allocations: 45.83 MB / 0.7812 GB, free: 107.9 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/2.457, allocations: 7.953 kB / 0.7812 GB, free: 107.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03879/2.495, allocations: 14 MB / 0.7948 GB, free: 95.73 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/2.496, allocations: 12 kB / 0.7949 GB, free: 95.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/2.496, allocations: 12 kB / 0.7949 GB, free: 95.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00791/2.504, allocations: 1.806 MB / 0.7966 GB, free: 94.36 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01359/2.517, allocations: 1.784 MB / 0.7984 GB, free: 93.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03253/2.55, allocations: 24.11 MB / 0.8219 GB, free: 69.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006684/2.556, allocations: 382.7 kB / 0.8223 GB, free: 69.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/2.558, allocations: 291.8 kB / 0.8226 GB, free: 68.89 MB / 0.4949 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h. 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 (884): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {2,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: 4 {1 28,1 7,1 22,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002285/2.561, allocations: 499.1 kB / 0.823 GB, free: 68.4 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/2.562, allocations: 335.9 kB / 0.8234 GB, free: 68.07 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03953/2.601, allocations: 14.88 MB / 0.8379 GB, free: 53.15 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.816e-05/2.602, allocations: 86.06 kB / 0.838 GB, free: 53.07 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/2.602, allocations: 0 / 0.838 GB, free: 53.07 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00018/2.602, allocations: 43.83 kB / 0.838 GB, free: 53.02 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.064/2.666, allocations: 26.78 MB / 0.8642 GB, free: 26.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-05/2.666, allocations: 8 kB / 0.8642 GB, free: 26.25 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01316/2.679, allocations: 1.787 MB / 0.8659 GB, free: 24.46 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007241/2.686, allocations: 1.613 MB / 0.8675 GB, free: 22.85 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001915/2.688, allocations: 227.8 kB / 0.8677 GB, free: 22.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02665/2.715, allocations: 21.9 MB / 0.8891 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.408e-05/2.715, allocations: 11.94 kB / 0.8891 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06386/2.779, allocations: 22.65 MB / 0.9112 GB, free: 8.348 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/2.78, allocations: 440.3 kB / 0.9116 GB, free: 7.895 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003093/2.784, allocations: 164 kB / 0.9118 GB, free: 7.734 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009504/2.793, allocations: 371.6 kB / 0.9122 GB, free: 7.371 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003549/2.797, allocations: 0.5836 MB / 0.9127 GB, free: 6.785 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002191/2.799, allocations: 275.7 kB / 0.913 GB, free: 6.52 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.002424/2.801, allocations: 0.7462 MB / 0.9137 GB, free: 5.762 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.314e-06/2.801, allocations: 0 / 0.9137 GB, free: 5.762 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01294/2.814, allocations: 2.03 MB / 0.9157 GB, free: 3.75 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 30 (reservoir.m,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,surgeTank.m,surgeTank.Vdot,penstockKP.U[1],penstockKP.U[2],penstockKP.U[3],penstockKP.U[4],penstockKP.U[5],penstockKP.U[6],penstockKP.U[7],penstockKP.U[8],penstockKP.U[9],penstockKP.U[10],penstockKP.U[11],penstockKP.U[12],penstockKP.U[13],penstockKP.U[14],penstockKP.U[15],penstockKP.U[16],penstockKP.U[17],penstockKP.U[18],penstockKP.U[19],penstockKP.U[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (838): * Single equations (assignments): 828 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {2,1,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 30,1 24,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00299/2.817, allocations: 447 kB / 0.9161 GB, free: 3.328 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.3771/3.194, allocations: 13.01 MB / 0.9288 GB, free: 151.8 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/3.194, allocations: 3.188 kB / 0.9288 GB, free: 151.8 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01543/3.21, allocations: 7.194 MB / 0.9359 GB, free: 151.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/3.213, allocations: 386.7 kB / 0.9362 GB, free: 151.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/3.247, allocations: 16.7 MB / 0.9525 GB, free: 148.6 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006583/3.254, allocations: 4.55 MB / 0.957 GB, free: 147.3 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01297/3.267, allocations: 3.795 MB / 0.9607 GB, free: 147 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004007/3.271, allocations: 0.5226 MB / 0.9612 GB, free: 146.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.514e-06/3.271, allocations: 0 / 0.9612 GB, free: 146.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.1771/3.448, allocations: 88.69 MB / 1.048 GB, free: 78.09 MB / 0.5262 GB