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.562/2.562, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.143e-05, allocations: 8 kB / 332.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 59.97 MB / 392.1 MB, free: 4.488 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.5394, allocations: 89.23 MB / 481.3 MB, free: 11.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.5398, allocations: 91.88 kB / 481.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.345/1.885, allocations: 147.4 MB / 0.6141 GB, free: 56.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.885, allocations: 0 / 0.6141 GB, free: 56.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002416/1.885, allocations: 220 kB / 0.6143 GB, free: 56.3 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.05881/1.944, allocations: 11.29 MB / 0.6253 GB, free: 44.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.944, allocations: 8.031 kB / 0.6253 GB, free: 44.91 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008563/1.952, allocations: 2.026 MB / 0.6273 GB, free: 42.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006226/1.959, allocations: 1.114 MB / 0.6284 GB, free: 41.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/1.976, allocations: 5.133 MB / 0.6334 GB, free: 36.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001159/1.977, allocations: 0.8306 MB / 0.6342 GB, free: 35.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006305/1.984, allocations: 1.094 MB / 0.6353 GB, free: 34.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06983/2.054, allocations: 23.62 MB / 0.6583 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006065/2.054, allocations: 15.91 kB / 0.6584 GB, free: 10.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005308/2.06, allocations: 463.9 kB / 0.6588 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001906/2.061, allocations: 1.713 MB / 0.6605 GB, free: 8.773 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0917/2.153, allocations: 32.91 MB / 0.6926 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5409/2.694, allocations: 54.96 MB / 0.7463 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05/2.744, allocations: 22.54 MB / 0.7683 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02125/2.766, allocations: 8.375 MB / 0.7765 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001855/2.767, allocations: 236.6 kB / 0.7767 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/2.768, allocations: 168.6 kB / 0.7769 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1323): time 2.758e-05/2.768, allocations: 0 / 0.7769 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1323): time 0.06773/2.835, allocations: 16.77 MB / 0.7932 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/2.836, allocations: 185.8 kB / 0.7934 GB, free: 93.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/2.837, allocations: 436.3 kB / 0.7938 GB, free: 93.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003006/2.84, allocations: 233.7 kB / 0.7941 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002575/2.842, allocations: 3.616 MB / 0.7976 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007594/2.85, allocations: 4.463 MB / 0.8019 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003048/2.853, allocations: 227.8 kB / 0.8022 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008678/2.854, allocations: 0.8135 MB / 0.803 GB, free: 85.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02446/2.879, allocations: 7.478 MB / 0.8103 GB, free: 78.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02119/2.9, allocations: 8.596 MB / 0.8187 GB, free: 70.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/2.923, allocations: 8.876 MB / 0.8273 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.306e-05/2.923, allocations: 7.75 kB / 0.8273 GB, free: 63.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.05162/2.974, allocations: 18.07 MB / 0.845 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/2.975, allocations: 13.09 kB / 0.845 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.411e-05/2.975, allocations: 16 kB / 0.845 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/2.975, allocations: 68.78 kB / 0.8451 GB, free: 46.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02897/3.004, allocations: 2.782 MB / 0.8478 GB, free: 43.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002747/3.004, allocations: 74.08 kB / 0.8479 GB, free: 43.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0135/3.018, allocations: 1.141 MB / 0.849 GB, free: 42.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003006/3.021, allocations: 450.7 kB / 0.8494 GB, free: 41.89 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.005067/3.026, allocations: 0.6964 MB / 0.8501 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003225/3.029, allocations: 442.7 kB / 0.8505 GB, free: 40.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06256/3.092, allocations: 20.97 MB / 0.871 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/3.092, allocations: 144 kB / 0.8711 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.107e-05/3.092, allocations: 0 / 0.8711 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002955/3.092, allocations: 75.66 kB / 0.8712 GB, free: 19.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1176/3.21, allocations: 37.73 MB / 0.908 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-05/3.21, allocations: 12 kB / 0.9081 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03196/3.242, allocations: 2.899 MB / 0.9109 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003176/3.242, allocations: 60 kB / 0.9109 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003951/3.246, allocations: 375.7 kB / 0.9113 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002441/3.246, allocations: 63.92 kB / 0.9114 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.51e-05/3.246, allocations: 15.94 kB / 0.9114 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4306/3.677, allocations: 32.37 MB / 0.943 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/3.678, allocations: 0.737 MB / 0.9437 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003841/3.682, allocations: 272.5 kB / 0.944 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01396/3.696, allocations: 0.6116 MB / 0.9446 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004424/3.7, allocations: 0.8975 MB / 0.9454 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003244/3.704, allocations: 457.3 kB / 0.9459 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004695/3.704, allocations: 291.3 kB / 0.9462 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/3.704, allocations: 3.906 kB / 0.9462 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01322/3.717, allocations: 3.875 MB / 0.9499 GB, free: 153 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.08631/3.804, allocations: 36.54 MB / 0.9856 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04562/3.849, allocations: 18.04 MB / 1.003 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/3.849, allocations: 0 / 1.003 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02526/3.875, allocations: 9.829 MB / 1.013 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/3.88, allocations: 467.5 kB / 1.013 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07802/3.958, allocations: 28.85 MB / 1.041 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/3.971, allocations: 6.649 MB / 1.048 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.03333/4.004, allocations: 7.316 MB / 1.055 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01845/4.023, allocations: 5.072 MB / 1.06 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/4.023, allocations: 8 kB / 1.06 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/5.08, allocations: 166.1 MB / 1.222 GB, free: 92.98 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/5.08, allocations: 141.2 kB / 1.222 GB, free: 92.76 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.789/14.87, allocations: 3.938 kB / 1.222 GB, free: 92.76 MB / 0.5262 GB