Running command: translateModel(OpenHPL.Examples.HPDetailed_generator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPDetailed_generator") Notification: Performance of loadModel(OpenHPL): time 2.257/2.257, allocations: 256.4 MB / 268.5 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.076e-05/5.084e-05, allocations: 11.94 kB / 331.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 59.8 MB / 391 MB, free: 5.434 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.5504, allocations: 102.4 MB / 493.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5508, allocations: 83.95 kB / 493.5 MB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7656/1.316, allocations: 106.8 MB / 0.5862 GB, free: 84.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.879e-06/1.316, allocations: 0 / 0.5862 GB, free: 84.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001912/1.317, allocations: 136.2 kB / 0.5864 GB, free: 84.7 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: 2262 * Number of variables: 2262 Notification: Performance of Generate backend data structure: time 0.02433/1.341, allocations: 6.626 MB / 0.5928 GB, free: 78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.341, allocations: 12.03 kB / 0.5928 GB, free: 77.99 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/1.345, allocations: 0.6747 MB / 0.5935 GB, free: 77.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009792/1.355, allocations: 3.596 MB / 0.597 GB, free: 73.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006044/1.356, allocations: 488.9 kB / 0.5975 GB, free: 73.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/1.359, allocations: 0.6327 MB / 0.5981 GB, free: 72.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03992/1.399, allocations: 13.97 MB / 0.6117 GB, free: 58.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/1.4, allocations: 11.89 kB / 0.6117 GB, free: 58.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003958/1.404, allocations: 268.6 kB / 0.612 GB, free: 58.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/1.405, allocations: 0.9892 MB / 0.613 GB, free: 57.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0546/1.46, allocations: 14.94 MB / 0.6276 GB, free: 42.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09301/1.553, allocations: 35.83 MB / 0.6626 GB, free: 6.219 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/1.58, allocations: 13.01 MB / 0.6753 GB, free: 9.043 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01281/1.592, allocations: 5.244 MB / 0.6804 GB, free: 3.781 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/1.594, allocations: 0.985 MB / 0.6813 GB, free: 2.609 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/1.594, allocations: 116.2 kB / 0.6814 GB, free: 2.484 MB / 474.7 MB Notification: Performance of pre-optimization done (n=737): time 1.253e-05/1.594, allocations: 0 / 0.6814 GB, free: 2.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=761): time 0.08079/1.675, allocations: 25.33 MB / 0.7062 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/1.675, allocations: 133.3 kB / 0.7063 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/1.678, allocations: 0.8948 MB / 0.7072 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002318/1.681, allocations: 145.7 kB / 0.7073 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002914/1.684, allocations: 2.277 MB / 0.7095 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006468/1.69, allocations: 2.576 MB / 0.7121 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001847/1.692, allocations: 140 kB / 0.7122 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001171/1.693, allocations: 0.6427 MB / 0.7128 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3102/2.004, allocations: 4.806 MB / 0.7175 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/2.016, allocations: 5.53 MB / 0.7229 GB, free: 129.3 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.2055/2.221, allocations: 43.32 MB / 0.7652 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/2.222, allocations: 4 kB / 0.7652 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.0401/2.262, allocations: 13.41 MB / 0.7783 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/2.262, allocations: 12 kB / 0.7783 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/2.262, allocations: 8 kB / 0.7783 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007751/2.27, allocations: 1.718 MB / 0.78 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01158/2.281, allocations: 1.551 MB / 0.7815 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02759/2.309, allocations: 15.59 MB / 0.7968 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/2.315, allocations: 362.4 kB / 0.7971 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/2.317, allocations: 266.1 kB / 0.7974 GB, free: 95.59 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: 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 (813): * Single equations (assignments): 809 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 28,1 7,1 24,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002647/2.32, allocations: 471.3 kB / 0.7978 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/2.321, allocations: 312.2 kB / 0.7981 GB, free: 95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03923/2.36, allocations: 14.34 MB / 0.8121 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/2.361, allocations: 80 kB / 0.8122 GB, free: 81.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/2.361, allocations: 11.95 kB / 0.8122 GB, free: 81.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001713/2.361, allocations: 39.84 kB / 0.8122 GB, free: 81.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06584/2.427, allocations: 25.87 MB / 0.8375 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.261e-05/2.427, allocations: 4 kB / 0.8375 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01293/2.44, allocations: 1.69 MB / 0.8392 GB, free: 54.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006587/2.446, allocations: 1.444 MB / 0.8406 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002229/2.449, allocations: 223.8 kB / 0.8408 GB, free: 52.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/2.471, allocations: 14.77 MB / 0.8552 GB, free: 37.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/2.471, allocations: 11.94 kB / 0.8552 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05107/2.522, allocations: 21.8 MB / 0.8765 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/2.523, allocations: 412 kB / 0.8769 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002387/2.525, allocations: 159.6 kB / 0.877 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006222/2.532, allocations: 355.6 kB / 0.8774 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002681/2.534, allocations: 0.5365 MB / 0.8779 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00198/2.536, allocations: 255.8 kB / 0.8781 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001182/2.538, allocations: 0.6631 MB / 0.8788 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-07/2.538, allocations: 0 / 0.8788 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008411/2.546, allocations: 1.919 MB / 0.8807 GB, free: 10.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 25 (reservoir.m,tail.m,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],generator.K_a) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (793): * Single equations (assignments): 788 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 30,1 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.00318/2.549, allocations: 0.6603 MB / 0.8813 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02723/2.577, allocations: 12.29 MB / 0.8933 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/2.577, allocations: 64 / 0.8933 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0172/2.594, allocations: 6.706 MB / 0.8999 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/2.598, allocations: 378.1 kB / 0.9002 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.33/2.928, allocations: 15.94 MB / 0.9158 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008924/2.937, allocations: 4.425 MB / 0.9201 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01472/2.951, allocations: 3.729 MB / 0.9238 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005143/2.957, allocations: 491.9 kB / 0.9242 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.821e-06/2.957, allocations: 0 / 0.9242 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1726/3.129, allocations: 84.21 MB / 1.006 GB, free: 87.7 MB / 0.5105 GB