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.269/2.269, allocations: 258 MB / 265.1 MB, free: 5.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.488e-05, allocations: 4 kB / 327.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 60.26 MB / 387.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5211/0.6272, allocations: 101.1 MB / 489 MB, free: 6.336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.6274, allocations: 80.98 kB / 489.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4623/1.09, allocations: 105.3 MB / 0.5804 GB, free: 12.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.695e-06/1.09, allocations: 0 / 0.5804 GB, free: 12.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002322/1.09, allocations: 132 kB / 0.5806 GB, free: 12.65 MB / 474.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.02701/1.117, allocations: 6.576 MB / 0.587 GB, free: 6.004 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.117, allocations: 8.031 kB / 0.587 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/1.122, allocations: 0.6593 MB / 0.5876 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/1.133, allocations: 3.584 MB / 0.5911 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004533/1.134, allocations: 208 kB / 0.5913 GB, free: 1.488 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003733/1.137, allocations: 383.9 kB / 0.5917 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0409/1.178, allocations: 15.3 MB / 0.6066 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03916/1.217, allocations: 12.84 MB / 0.6192 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002843/1.218, allocations: 11.91 kB / 0.6192 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00287/1.221, allocations: 4 kB / 0.6192 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/1.222, allocations: 0.9891 MB / 0.6202 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3758/1.598, allocations: 34.12 MB / 0.6535 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02454/1.622, allocations: 12.6 MB / 0.6658 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0105/1.633, allocations: 5.003 MB / 0.6707 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.635, allocations: 0.9738 MB / 0.6716 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.998e-05/1.635, allocations: 112.2 kB / 0.6717 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=722): time 1.287e-05/1.635, allocations: 0 / 0.6717 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=746): time 0.07481/1.71, allocations: 24.62 MB / 0.6958 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/1.71, allocations: 129.3 kB / 0.6959 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/1.711, allocations: 0.8656 MB / 0.6967 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001667/1.713, allocations: 25.7 kB / 0.6968 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.714, allocations: 2.276 MB / 0.699 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003415/1.718, allocations: 2.429 MB / 0.7014 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.719, allocations: 0 / 0.7014 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006251/1.719, allocations: 0.6406 MB / 0.702 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009898/1.729, allocations: 4.65 MB / 0.7065 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/1.74, allocations: 5.321 MB / 0.7117 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/1.753, allocations: 5.756 MB / 0.7173 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-05/1.753, allocations: 7.5 kB / 0.7174 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.03633/1.79, allocations: 12.65 MB / 0.7297 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/1.79, allocations: 12 kB / 0.7297 GB, free: 99.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/1.79, allocations: 11.95 kB / 0.7297 GB, free: 99.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007872/1.798, allocations: 1.468 MB / 0.7312 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01906/1.817, allocations: 1.552 MB / 0.7327 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03527/1.852, allocations: 10.52 MB / 0.743 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/1.864, allocations: 211.9 kB / 0.7432 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003286/1.867, allocations: 269.2 kB / 0.7434 GB, free: 87.31 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: penstockKP.U[20]:VARIABLE() "centered states" type: Real [20] penstockKP.U[11]:VARIABLE() "centered states" type: Real [20] surgeTank.Vdot:VARIABLE(start = surgeTank.Vdot_0 unit = "m3/s" ) "Water flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: penstockKP.p_[10,2]:VARIABLE(unit = "Pa" ) "boundary p. matrix" type: Real [10,4] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: penstockKP.p_[1,3]:VARIABLE(unit = "Pa" ) "boundary p. matrix" type: Real [10,4] 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 (820): * Single equations (assignments): 818 * 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 28,1 24} Notification: Performance of prepare postOptimizeDAE: time 0.004144/1.871, allocations: 207.3 kB / 0.7436 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002075/1.873, allocations: 306.2 kB / 0.7439 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04006/1.913, allocations: 13.78 MB / 0.7574 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/1.913, allocations: 87.92 kB / 0.7574 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/1.913, allocations: 0 / 0.7574 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001762/1.914, allocations: 36.09 kB / 0.7575 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06438/1.978, allocations: 23.91 MB / 0.7808 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001004/1.978, allocations: 4.688 kB / 0.7808 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0155/1.994, allocations: 1.635 MB / 0.7824 GB, free: 54.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006331/2, allocations: 1.439 MB / 0.7838 GB, free: 53.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002044/2.002, allocations: 108.9 kB / 0.7839 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/2.022, allocations: 13 MB / 0.7966 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.982e-06/2.022, allocations: 8 kB / 0.7966 GB, free: 40.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05427/2.077, allocations: 21.02 MB / 0.8172 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008318/2.078, allocations: 416.8 kB / 0.8176 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002387/2.08, allocations: 15.98 kB / 0.8176 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006369/2.086, allocations: 206.6 kB / 0.8178 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002734/2.089, allocations: 0.5287 MB / 0.8183 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001969/2.091, allocations: 247.8 kB / 0.8185 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001125/2.092, allocations: 0.6279 MB / 0.8191 GB, free: 17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.5e-07/2.092, allocations: 0 / 0.8191 GB, free: 17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008546/2.101, allocations: 1.614 MB / 0.8207 GB, free: 15.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 24 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (778): * Single equations (assignments): 774 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {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.0031/2.104, allocations: 0.5006 MB / 0.8212 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02421/2.128, allocations: 11.54 MB / 0.8325 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.128, allocations: 4 kB / 0.8325 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.338/2.466, allocations: 6.404 MB / 0.8387 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/2.47, allocations: 229.7 kB / 0.839 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03815/2.508, allocations: 15.26 MB / 0.8539 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009766/2.518, allocations: 4.387 MB / 0.8581 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01556/2.534, allocations: 3.743 MB / 0.8618 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005788/2.539, allocations: 492.9 kB / 0.8623 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.837e-06/2.539, allocations: 0 / 0.8623 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1639/2.703, allocations: 78.76 MB / 0.9392 GB, free: 90.43 MB / 0.5105 GB