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.488/2.488, allocations: 256.4 MB / 268.5 MB, free: 12.26 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.371e-05, allocations: 8 kB / 331.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 59.8 MB / 391.1 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.564, allocations: 89.16 MB / 480.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/0.5644, allocations: 87.94 kB / 480.4 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385/1.949, allocations: 147.4 MB / 0.6131 GB, free: 58.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.949, allocations: 0 / 0.6131 GB, free: 58.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002139/1.949, allocations: 219.9 kB / 0.6133 GB, free: 58.16 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.05716/2.006, allocations: 11.28 MB / 0.6243 GB, free: 46.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/2.007, allocations: 12.03 kB / 0.6243 GB, free: 46.78 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007934/2.014, allocations: 2.03 MB / 0.6263 GB, free: 44.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006158/2.021, allocations: 1.114 MB / 0.6274 GB, free: 43.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01773/2.038, allocations: 5.133 MB / 0.6324 GB, free: 38.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/2.04, allocations: 0.8228 MB / 0.6332 GB, free: 37.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006016/2.046, allocations: 1.101 MB / 0.6343 GB, free: 36.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06705/2.113, allocations: 23.75 MB / 0.6574 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005026/2.113, allocations: 19.89 kB / 0.6575 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005044/2.118, allocations: 467.9 kB / 0.6579 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001836/2.12, allocations: 1.716 MB / 0.6596 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08883/2.209, allocations: 33.09 MB / 0.6919 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6381/2.847, allocations: 54.95 MB / 0.7456 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07411/2.921, allocations: 22.65 MB / 0.7677 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03129/2.953, allocations: 8.378 MB / 0.7759 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002142/2.955, allocations: 236.3 kB / 0.7761 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/2.955, allocations: 168.9 kB / 0.7763 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1323): time 2.856e-05/2.955, allocations: 2.25 kB / 0.7763 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1323): time 0.06191/3.017, allocations: 16.77 MB / 0.7926 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/3.017, allocations: 185.8 kB / 0.7928 GB, free: 94.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/3.018, allocations: 443 kB / 0.7932 GB, free: 94.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002515/3.021, allocations: 233.7 kB / 0.7935 GB, free: 94.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/3.023, allocations: 3.624 MB / 0.797 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006111/3.029, allocations: 4.459 MB / 0.8013 GB, free: 87.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/3.031, allocations: 220 kB / 0.8016 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007561/3.032, allocations: 0.8113 MB / 0.8024 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01914/3.051, allocations: 7.48 MB / 0.8097 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0212/3.072, allocations: 8.667 MB / 0.8181 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02327/3.096, allocations: 8.87 MB / 0.8268 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.065e-05/3.096, allocations: 8 kB / 0.8268 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.0506/3.146, allocations: 18.12 MB / 0.8445 GB, free: 47.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/3.147, allocations: 12 kB / 0.8445 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.494e-05/3.147, allocations: 16 kB / 0.8445 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/3.147, allocations: 71.98 kB / 0.8446 GB, free: 47.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02944/3.176, allocations: 2.772 MB / 0.8473 GB, free: 45.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002832/3.177, allocations: 75.86 kB / 0.8474 GB, free: 45.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/3.19, allocations: 1.143 MB / 0.8485 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003048/3.193, allocations: 447.7 kB / 0.8489 GB, free: 43.6 MB / 0.4948 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.004785/3.198, allocations: 0.6945 MB / 0.8496 GB, free: 43.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002725/3.201, allocations: 446.6 kB / 0.85 GB, free: 42.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06372/3.265, allocations: 20.97 MB / 0.8705 GB, free: 21.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/3.265, allocations: 140 kB / 0.8706 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.078e-05/3.265, allocations: 0 / 0.8706 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003264/3.265, allocations: 71.72 kB / 0.8707 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1217/3.387, allocations: 37.78 MB / 0.9076 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.061e-05/3.387, allocations: 8 kB / 0.9076 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03272/3.42, allocations: 2.902 MB / 0.9104 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002715/3.42, allocations: 63.95 kB / 0.9105 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00354/3.424, allocations: 371.7 kB / 0.9108 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002094/3.424, allocations: 63.92 kB / 0.9109 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/3.424, allocations: 15.94 kB / 0.9109 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4732/3.897, allocations: 32.37 MB / 0.9425 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/3.898, allocations: 0.7391 MB / 0.9433 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003932/3.902, allocations: 267.3 kB / 0.9435 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01432/3.917, allocations: 0.6123 MB / 0.9441 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004711/3.921, allocations: 0.894 MB / 0.945 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003511/3.925, allocations: 459 kB / 0.9454 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004955/3.925, allocations: 291.7 kB / 0.9457 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/3.925, allocations: 0 / 0.9457 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01372/3.939, allocations: 3.876 MB / 0.9495 GB, free: 153.6 MB / 0.5261 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.08477/4.024, allocations: 36.53 MB / 0.9852 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04478/4.069, allocations: 18.2 MB / 1.003 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/4.069, allocations: 4 kB / 1.003 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02484/4.094, allocations: 9.905 MB / 1.013 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/4.099, allocations: 467.5 kB / 1.013 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07696/4.176, allocations: 28.93 MB / 1.041 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0135/4.189, allocations: 6.644 MB / 1.048 GB, free: 78.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.03282/4.222, allocations: 7.323 MB / 1.055 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0177/4.24, allocations: 5.079 MB / 1.06 GB, free: 67.85 MB / 0.5261 GB Notification: Performance of SimCode: time 1.253e-06/4.24, allocations: 0 / 1.06 GB, free: 67.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.033/5.273, allocations: 166.6 MB / 1.223 GB, free: 95.12 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/5.273, allocations: 139.2 kB / 1.223 GB, free: 94.9 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.687/14.96, allocations: 0 / 1.223 GB, free: 94.9 MB / 0.5262 GB