Running command: translateModel(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock") Notification: Performance of loadModel(OpenHPL): time 2.268/2.268, allocations: 256.4 MB / 268.5 MB, free: 12.26 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.517e-05, allocations: 7.984 kB / 331.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3182, allocations: 59.8 MB / 391 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4511, allocations: 89.17 MB / 480.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.4514, allocations: 91.88 kB / 480.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014/1.466, allocations: 147.4 MB / 0.613 GB, free: 58.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.19e-06/1.466, allocations: 3.938 kB / 0.613 GB, free: 58.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002112/1.466, allocations: 220 kB / 0.6132 GB, free: 58.13 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: 4046 * Number of variables: 4046 Notification: Performance of Generate backend data structure: time 0.03725/1.503, allocations: 11.27 MB / 0.6242 GB, free: 46.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.503, allocations: 12.03 kB / 0.6242 GB, free: 46.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007287/1.51, allocations: 1.118 MB / 0.6253 GB, free: 45.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02197/1.533, allocations: 5.137 MB / 0.6303 GB, free: 40.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/1.534, allocations: 0.8228 MB / 0.6311 GB, free: 39.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00685/1.541, allocations: 1.097 MB / 0.6322 GB, free: 38.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06494/1.606, allocations: 23.75 MB / 0.6554 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003655/1.606, allocations: 23.89 kB / 0.6554 GB, free: 14.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003302/1.609, allocations: 460 kB / 0.6558 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/1.611, allocations: 1.72 MB / 0.6575 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07135/1.682, allocations: 33.09 MB / 0.6898 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8016/2.484, allocations: 54.95 MB / 0.7435 GB, free: 113.9 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03814/2.522, allocations: 22.65 MB / 0.7656 GB, free: 105.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01603/2.538, allocations: 8.377 MB / 0.7738 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/2.539, allocations: 235.8 kB / 0.774 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/2.539, allocations: 164.8 kB / 0.7742 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1323): time 2.161e-05/2.539, allocations: 0 / 0.7742 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1323): time 0.03813/2.578, allocations: 16.76 MB / 0.7905 GB, free: 94.18 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/2.578, allocations: 200.3 kB / 0.7907 GB, free: 93.97 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/2.578, allocations: 445.5 kB / 0.7912 GB, free: 93.59 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001843/2.58, allocations: 233.7 kB / 0.7914 GB, free: 93.36 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/2.582, allocations: 3.617 MB / 0.7949 GB, free: 90.93 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004494/2.586, allocations: 4.458 MB / 0.7993 GB, free: 86.93 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/2.588, allocations: 220 kB / 0.7995 GB, free: 86.71 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007155/2.589, allocations: 0.8082 MB / 0.8003 GB, free: 86.03 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01522/2.604, allocations: 7.48 MB / 0.8076 GB, free: 79.28 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01694/2.621, allocations: 8.67 MB / 0.816 GB, free: 71.27 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/2.639, allocations: 8.875 MB / 0.8247 GB, free: 63.7 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.447e-05/2.639, allocations: 4 kB / 0.8247 GB, free: 63.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.0411/2.68, allocations: 18.12 MB / 0.8424 GB, free: 47.79 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/2.681, allocations: 15.75 kB / 0.8424 GB, free: 47.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.273e-05/2.681, allocations: 18.16 kB / 0.8424 GB, free: 47.76 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/2.681, allocations: 64 kB / 0.8425 GB, free: 47.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01874/2.7, allocations: 2.777 MB / 0.8452 GB, free: 45.24 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001894/2.7, allocations: 75.67 kB / 0.8453 GB, free: 45.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008352/2.708, allocations: 1.158 MB / 0.8464 GB, free: 44.01 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00274/2.711, allocations: 451.7 kB / 0.8468 GB, free: 43.57 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 4 (kP.boundaryCon[2,2],kP.boundaryCon[2,1],kP.boundaryCon[1,2],kP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1429): * Single equations (assignments): 1428 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003625/2.715, allocations: 0.6893 MB / 0.8475 GB, free: 43.01 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/2.716, allocations: 446.6 kB / 0.8479 GB, free: 42.57 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04866/2.765, allocations: 20.97 MB / 0.8684 GB, free: 21.58 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001197/2.765, allocations: 144 kB / 0.8686 GB, free: 21.44 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-05/2.765, allocations: 0 / 0.8686 GB, free: 21.44 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002736/2.766, allocations: 71.72 kB / 0.8686 GB, free: 21.37 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09317/2.859, allocations: 37.77 MB / 0.9055 GB, free: 15.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-05/2.859, allocations: 8 kB / 0.9055 GB, free: 15.75 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02124/2.88, allocations: 2.898 MB / 0.9083 GB, free: 12.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/2.88, allocations: 60 kB / 0.9084 GB, free: 12.79 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003063/2.884, allocations: 375.7 kB / 0.9088 GB, free: 12.42 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001539/2.884, allocations: 63.94 kB / 0.9088 GB, free: 12.36 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-05/2.884, allocations: 19.94 kB / 0.9088 GB, free: 12.34 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4009/3.285, allocations: 32.37 MB / 0.9405 GB, free: 152.6 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000742/3.285, allocations: 0.7386 MB / 0.9412 GB, free: 152.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003061/3.289, allocations: 266.8 kB / 0.9414 GB, free: 152.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008749/3.297, allocations: 0.6133 MB / 0.942 GB, free: 152.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003608/3.301, allocations: 0.8972 MB / 0.9429 GB, free: 152 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002896/3.304, allocations: 456.4 kB / 0.9433 GB, free: 151.9 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0004112/3.304, allocations: 299.3 kB / 0.9436 GB, free: 151.8 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.524e-06/3.304, allocations: 0 / 0.9436 GB, free: 151.8 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.011/3.315, allocations: 3.875 MB / 0.9474 GB, free: 151.3 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (U[1],U[2],U[3],U[4],U[5],U[6],U[7],U[8],U[9],U[10],U[11],U[12],U[13],U[14],U[15],U[16],U[17],U[18],U[19],U[20],U[21],U[22],U[23],U[24],U[25],U[26],U[27],U[28],U[29],U[30],U[31],U[32],U[33],U[34],U[35],U[36],U[37],U[38],U[39],U[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1511): * Single equations (assignments): 1511 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003438/3.319, allocations: 0.5887 MB / 0.948 GB, free: 151 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03713/3.356, allocations: 18.2 MB / 0.9658 GB, free: 146.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/3.356, allocations: 0 / 0.9658 GB, free: 146.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02044/3.376, allocations: 9.906 MB / 0.9754 GB, free: 139.6 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/3.381, allocations: 469.5 kB / 0.9759 GB, free: 139.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05535/3.436, allocations: 25.9 MB / 1.001 GB, free: 116.1 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01289/3.449, allocations: 6.648 MB / 1.008 GB, free: 111.2 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.02532/3.474, allocations: 7.32 MB / 1.015 GB, free: 106.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008705/3.483, allocations: 0.8657 MB / 1.016 GB, free: 105.4 MB / 0.5262 GB Notification: Performance of SimCode: time 1.567e-06/3.483, allocations: 0 / 1.016 GB, free: 105.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.2062/3.689, allocations: 98.45 MB / 1.112 GB, free: 11.43 MB / 0.5262 GB