Running command: "" <> buildModelFMU(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock,fileNamePrefix="OpenHPL_OpenHPL_Functions_KP07_TestKPpde_ElasticPenstock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.527/2.527, allocations: 258 MB / 271.8 MB, free: 13.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.645e-05, allocations: 7.938 kB / 335.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 60.24 MB / 396 MB, free: 5.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5893, allocations: 89.38 MB / 485.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.5897, allocations: 93.88 kB / 485.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422/2.012, allocations: 147.8 MB / 0.6185 GB, free: 143 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.767e-06/2.012, allocations: 0 / 0.6185 GB, free: 143 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002524/2.012, allocations: 226.8 kB / 0.6187 GB, free: 143 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.06003/2.072, allocations: 11.28 MB / 0.6297 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/2.072, allocations: 6.844 kB / 0.6297 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008863/2.081, allocations: 2.028 MB / 0.6317 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/2.088, allocations: 1.112 MB / 0.6328 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/2.105, allocations: 5.137 MB / 0.6378 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/2.107, allocations: 0.8301 MB / 0.6386 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00691/2.113, allocations: 1.092 MB / 0.6397 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06716/2.181, allocations: 23.99 MB / 0.6631 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004245/2.181, allocations: 19.81 kB / 0.6631 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005573/2.187, allocations: 459 kB / 0.6636 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001688/2.188, allocations: 1.716 MB / 0.6652 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07494/2.263, allocations: 33.5 MB / 0.698 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1629/2.426, allocations: 54.96 MB / 0.7516 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04762/2.474, allocations: 22.85 MB / 0.7739 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/2.476, allocations: 235.1 kB / 0.7742 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/2.476, allocations: 164.9 kB / 0.7743 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1323): time 1.779e-05/2.476, allocations: 0 / 0.7743 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1323): time 0.4196/2.896, allocations: 24.45 MB / 0.7982 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002267/2.896, allocations: 192.9 kB / 0.7984 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/2.897, allocations: 451.4 kB / 0.7988 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002941/2.9, allocations: 239 kB / 0.799 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/2.902, allocations: 3.625 MB / 0.8026 GB, free: 140 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00693/2.909, allocations: 4.456 MB / 0.8069 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002691/2.912, allocations: 223.9 kB / 0.8071 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00112/2.913, allocations: 0.8107 MB / 0.8079 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02287/2.936, allocations: 7.599 MB / 0.8154 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02316/2.959, allocations: 8.789 MB / 0.8239 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0235/2.983, allocations: 8.976 MB / 0.8327 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-05/2.983, allocations: 4.719 kB / 0.8327 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.05333/3.036, allocations: 18.37 MB / 0.8507 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/3.036, allocations: 14.53 kB / 0.8507 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.592e-05/3.036, allocations: 22.16 kB / 0.8507 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/3.037, allocations: 64.81 kB / 0.8507 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02847/3.065, allocations: 2.775 MB / 0.8535 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000229/3.065, allocations: 75.31 kB / 0.8535 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/3.079, allocations: 1.145 MB / 0.8546 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003387/3.083, allocations: 444.2 kB / 0.8551 GB, free: 124.2 MB / 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.01255/3.095, allocations: 3.762 MB / 0.8587 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003527/3.099, allocations: 447 kB / 0.8592 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06217/3.161, allocations: 21.22 MB / 0.8799 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/3.161, allocations: 144 kB / 0.88 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/3.161, allocations: 3.938 kB / 0.88 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002725/3.162, allocations: 71.62 kB / 0.8801 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.108/3.27, allocations: 37.99 MB / 0.9172 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-05/3.27, allocations: 12 kB / 0.9172 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02993/3.3, allocations: 2.892 MB / 0.92 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/3.3, allocations: 60 kB / 0.9201 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003018/3.303, allocations: 375.7 kB / 0.9205 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001376/3.303, allocations: 63.75 kB / 0.9205 GB, free: 68.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/3.303, allocations: 15.94 kB / 0.9205 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07986/3.383, allocations: 32.74 MB / 0.9525 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/3.384, allocations: 0.738 MB / 0.9532 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004325/3.388, allocations: 268.8 kB / 0.9535 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01414/3.402, allocations: 0.614 MB / 0.9541 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004241/3.407, allocations: 0.8963 MB / 0.955 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003214/3.41, allocations: 451.7 kB / 0.9554 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004694/3.41, allocations: 299.1 kB / 0.9557 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/3.41, allocations: 0 / 0.9557 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0122/3.423, allocations: 3.875 MB / 0.9595 GB, free: 28.46 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.08994/3.513, allocations: 36.89 MB / 0.9955 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.4514/3.964, allocations: 18.44 MB / 1.013 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/3.964, allocations: 2.438 kB / 1.013 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02795/3.992, allocations: 10.03 MB / 1.023 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/3.997, allocations: 462.9 kB / 1.024 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1826/4.18, allocations: 81.89 MB / 1.104 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0132/4.193, allocations: 6.648 MB / 1.11 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02987/4.223, allocations: 7.317 MB / 1.117 GB, free: 92.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01633/4.24, allocations: 5.076 MB / 1.122 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/4.24, allocations: 0 / 1.122 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.073/5.312, allocations: 161.6 MB / 1.28 GB, free: 107.1 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/5.313, allocations: 145.9 kB / 1.28 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.56/14.87, allocations: 2.625 kB / 1.28 GB, free: 106.9 MB / 0.5262 GB