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.436/2.436, allocations: 258 MB / 265.1 MB, free: 5.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.848e-05, allocations: 4 kB / 327.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 60.24 MB / 387.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.5472, allocations: 88.7 MB / 476.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.5476, allocations: 84.83 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8159/1.363, allocations: 146.7 MB / 0.6087 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.82e-06/1.364, allocations: 0 / 0.6087 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002775/1.364, allocations: 216 kB / 0.609 GB, free: 15.55 MB / 0.4948 GB 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.04193/1.406, allocations: 11.28 MB / 0.62 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.406, allocations: 8.031 kB / 0.62 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/1.411, allocations: 1.11 MB / 0.6211 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/1.426, allocations: 5.133 MB / 0.6261 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/1.426, allocations: 372 kB / 0.6264 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004484/1.431, allocations: 0.6483 MB / 0.6271 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6425/2.073, allocations: 34.25 MB / 0.6605 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05511/2.129, allocations: 21.81 MB / 0.6818 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000425/2.129, allocations: 27 kB / 0.6818 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/2.132, allocations: 3.844 kB / 0.6818 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/2.134, allocations: 1.714 MB / 0.6835 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1358/2.27, allocations: 52.19 MB / 0.7345 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03941/2.309, allocations: 22.08 MB / 0.756 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01632/2.325, allocations: 8.01 MB / 0.7639 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/2.327, allocations: 228.9 kB / 0.7641 GB, free: 73.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/2.327, allocations: 168.9 kB / 0.7642 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1323): time 1.977e-05/2.327, allocations: 4 kB / 0.7642 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1323): time 0.04181/2.369, allocations: 16.35 MB / 0.7802 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/2.369, allocations: 185.8 kB / 0.7804 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/2.369, allocations: 432.6 kB / 0.7808 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001917/2.371, allocations: 25.7 kB / 0.7808 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001575/2.373, allocations: 3.616 MB / 0.7844 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004736/2.378, allocations: 4.28 MB / 0.7885 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/2.38, allocations: 0 / 0.7885 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009698/2.381, allocations: 0.8131 MB / 0.7893 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01489/2.396, allocations: 7.261 MB / 0.7964 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01606/2.412, allocations: 8.388 MB / 0.8046 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02004/2.432, allocations: 8.943 MB / 0.8133 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.767e-05/2.432, allocations: 4 kB / 0.8133 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.04277/2.475, allocations: 17.59 MB / 0.8305 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/2.475, allocations: 16.88 kB / 0.8305 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.532e-05/2.475, allocations: 20 kB / 0.8306 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/2.475, allocations: 64 kB / 0.8306 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01898/2.494, allocations: 2.781 MB / 0.8333 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001561/2.494, allocations: 75.86 kB / 0.8334 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008452/2.503, allocations: 0.928 MB / 0.8343 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004404/2.507, allocations: 443.7 kB / 0.8347 GB, free: 324 kB / 0.5105 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.004982/2.512, allocations: 278.5 kB / 0.835 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.322/2.834, allocations: 440 kB / 0.8354 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0554/2.89, allocations: 20.16 MB / 0.8551 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/2.89, allocations: 142.6 kB / 0.8552 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.608e-05/2.89, allocations: 0 / 0.8552 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002835/2.89, allocations: 73.45 kB / 0.8553 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0882/2.978, allocations: 34.85 MB / 0.8893 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.103e-05/2.979, allocations: 10.53 kB / 0.8894 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0213/3, allocations: 2.902 MB / 0.8922 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/3, allocations: 58.66 kB / 0.8922 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003073/3.003, allocations: 193.4 kB / 0.8924 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001663/3.003, allocations: 74.56 kB / 0.8925 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/3.003, allocations: 15.84 kB / 0.8925 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06524/3.069, allocations: 31.64 MB / 0.9234 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/3.07, allocations: 0.7453 MB / 0.9241 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003088/3.073, allocations: 30.94 kB / 0.9242 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008775/3.081, allocations: 389.9 kB / 0.9245 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003723/3.085, allocations: 0.9003 MB / 0.9254 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002905/3.088, allocations: 455.2 kB / 0.9259 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003612/3.089, allocations: 275.4 kB / 0.9261 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.93e-07/3.089, allocations: 0 / 0.9261 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01061/3.099, allocations: 3.43 MB / 0.9295 GB, free: 97.94 MB / 0.5105 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.003118/3.102, allocations: 367.1 kB / 0.9298 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03392/3.136, allocations: 17.59 MB / 0.947 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/3.136, allocations: 4 kB / 0.947 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/3.155, allocations: 9.591 MB / 0.9564 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/3.159, allocations: 241.8 kB / 0.9566 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05411/3.213, allocations: 25.18 MB / 0.9812 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/3.226, allocations: 6.634 MB / 0.9877 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02519/3.251, allocations: 7.32 MB / 0.9948 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008854/3.26, allocations: 0.8581 MB / 0.9957 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.585e-06/3.26, allocations: 0 / 0.9957 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.5101/3.77, allocations: 95.86 MB / 1.089 GB, free: 114.2 MB / 0.5105 GB