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.202/2.202, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.968e-05, allocations: 4 kB / 332 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3141, allocations: 59.97 MB / 392 MB, free: 4.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.4702, allocations: 108 MB / 0.4883 GB, free: 8.406 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4706, allocations: 87.94 kB / 0.4884 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7247/1.195, allocations: 110.1 MB / 0.596 GB, free: 74.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.278e-06/1.195, allocations: 0 / 0.596 GB, free: 74.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001978/1.196, allocations: 136 kB / 0.5961 GB, free: 74.38 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.02497/1.221, allocations: 6.877 MB / 0.6028 GB, free: 67.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.221, allocations: 8.031 kB / 0.6028 GB, free: 67.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004303/1.225, allocations: 0.7096 MB / 0.6035 GB, free: 66.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009739/1.235, allocations: 3.658 MB / 0.6071 GB, free: 62.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006209/1.235, allocations: 0.5305 MB / 0.6076 GB, free: 62.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003464/1.239, allocations: 0.6678 MB / 0.6082 GB, free: 61.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0356/1.274, allocations: 14.32 MB / 0.6222 GB, free: 47.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/1.275, allocations: 11.91 kB / 0.6222 GB, free: 47.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0025/1.277, allocations: 276 kB / 0.6225 GB, free: 47.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000928/1.278, allocations: 1.001 MB / 0.6235 GB, free: 46.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03715/1.315, allocations: 15.27 MB / 0.6384 GB, free: 30.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/1.423, allocations: 37.19 MB / 0.6747 GB, free: 9.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02887/1.452, allocations: 13.3 MB / 0.6877 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01273/1.464, allocations: 5.417 MB / 0.693 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/1.466, allocations: 0.993 MB / 0.694 GB, free: 5.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/1.466, allocations: 108.6 kB / 0.6941 GB, free: 5.223 MB / 490.7 MB Notification: Performance of pre-optimization done (n=773): time 1.619e-05/1.466, allocations: 0 / 0.6941 GB, free: 5.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=797): time 0.3931/1.859, allocations: 26.11 MB / 0.7196 GB, free: 122 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.86, allocations: 139.4 kB / 0.7197 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/1.861, allocations: 1.019 MB / 0.7207 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001565/1.863, allocations: 150.8 kB / 0.7208 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.864, allocations: 2.389 MB / 0.7232 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003376/1.868, allocations: 2.699 MB / 0.7258 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000952/1.869, allocations: 149.8 kB / 0.7259 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005682/1.869, allocations: 0.6716 MB / 0.7266 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01051/1.88, allocations: 5.017 MB / 0.7315 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/1.892, allocations: 5.754 MB / 0.7371 GB, free: 118.8 MB / 0.4948 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.2232/2.115, allocations: 45.82 MB / 0.7819 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/2.115, allocations: 8.516 kB / 0.7819 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.05943/2.174, allocations: 13.98 MB / 0.7955 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/2.175, allocations: 8 kB / 0.7955 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.349e-05/2.175, allocations: 12 kB / 0.7956 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/2.189, allocations: 1.813 MB / 0.7973 GB, free: 94.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02582/2.215, allocations: 1.784 MB / 0.7991 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05226/2.268, allocations: 24.1 MB / 0.8226 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008547/2.276, allocations: 383.7 kB / 0.823 GB, free: 69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003227/2.279, allocations: 287.8 kB / 0.8232 GB, free: 68.72 MB / 0.4948 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.004718/2.284, allocations: 0.4898 MB / 0.8237 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002668/2.287, allocations: 339.9 kB / 0.824 GB, free: 67.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0405/2.327, allocations: 14.88 MB / 0.8386 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-05/2.328, allocations: 84 kB / 0.8387 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/2.328, allocations: 0 / 0.8387 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001675/2.328, allocations: 43.83 kB / 0.8387 GB, free: 52.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06632/2.394, allocations: 26.75 MB / 0.8648 GB, free: 26.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/2.394, allocations: 11.94 kB / 0.8648 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01302/2.407, allocations: 1.783 MB / 0.8666 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007302/2.415, allocations: 1.611 MB / 0.8681 GB, free: 22.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001984/2.417, allocations: 231.8 kB / 0.8684 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02688/2.443, allocations: 21.89 MB / 0.8897 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/2.444, allocations: 19.92 kB / 0.8898 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07685/2.52, allocations: 22.65 MB / 0.9119 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009679/2.521, allocations: 444.3 kB / 0.9123 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002268/2.524, allocations: 164 kB / 0.9125 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006537/2.53, allocations: 371.6 kB / 0.9128 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002654/2.533, allocations: 0.5719 MB / 0.9134 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001603/2.535, allocations: 279.8 kB / 0.9136 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001636/2.536, allocations: 0.7423 MB / 0.9144 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.63e-07/2.536, allocations: 0 / 0.9144 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009156/2.545, allocations: 2.03 MB / 0.9163 GB, free: 3.605 MB / 0.5261 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.002449/2.548, allocations: 441.9 kB / 0.9168 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3569/2.905, allocations: 12.86 MB / 0.9293 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/2.905, allocations: 3.594 kB / 0.9293 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02062/2.926, allocations: 7.107 MB / 0.9363 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/2.929, allocations: 386 kB / 0.9366 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04419/2.973, allocations: 16.66 MB / 0.9529 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006765/2.98, allocations: 4.557 MB / 0.9574 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01374/2.994, allocations: 3.796 MB / 0.9611 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005625/3, allocations: 0.5239 MB / 0.9616 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.246e-06/3, allocations: 0 / 0.9616 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1757/3.175, allocations: 88.01 MB / 1.048 GB, free: 78.1 MB / 0.5261 GB