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.397/2.397, allocations: 258 MB / 265.1 MB, free: 5.457 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.048e-05, allocations: 0 / 327.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 60.25 MB / 388 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5059/0.633, allocations: 88.69 MB / 476.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.6334, allocations: 88.66 kB / 476.8 MB, free: 8.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044/1.678, allocations: 146.7 MB / 0.6089 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.745e-06/1.678, allocations: 0 / 0.6089 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002905/1.678, allocations: 216 kB / 0.6091 GB, free: 15.3 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.06309/1.741, allocations: 11.28 MB / 0.6201 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.741, allocations: 12.02 kB / 0.6201 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006643/1.748, allocations: 1.11 MB / 0.6212 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01938/1.767, allocations: 5.141 MB / 0.6262 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008284/1.768, allocations: 364 kB / 0.6265 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006336/1.775, allocations: 0.6561 MB / 0.6272 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4286/2.203, allocations: 34.25 MB / 0.6606 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06384/2.267, allocations: 21.81 MB / 0.6819 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005945/2.268, allocations: 15.58 kB / 0.6819 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004824/2.273, allocations: 11.31 kB / 0.682 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002085/2.275, allocations: 1.718 MB / 0.6836 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/2.467, allocations: 52.19 MB / 0.7346 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04368/2.511, allocations: 22.08 MB / 0.7562 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01816/2.529, allocations: 8.011 MB / 0.764 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/2.531, allocations: 228.1 kB / 0.7642 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/2.531, allocations: 168.9 kB / 0.7644 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1323): time 1.613e-05/2.531, allocations: 0 / 0.7644 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1323): time 0.04764/2.579, allocations: 16.36 MB / 0.7803 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/2.579, allocations: 185.8 kB / 0.7805 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/2.58, allocations: 428.6 kB / 0.7809 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002347/2.582, allocations: 25.7 kB / 0.781 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/2.584, allocations: 3.615 MB / 0.7845 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005686/2.59, allocations: 4.286 MB / 0.7887 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/2.592, allocations: 0 / 0.7887 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008059/2.593, allocations: 0.8131 MB / 0.7895 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01691/2.61, allocations: 7.261 MB / 0.7966 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01857/2.629, allocations: 8.378 MB / 0.8047 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02353/2.652, allocations: 8.946 MB / 0.8135 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.908e-05/2.652, allocations: 4 kB / 0.8135 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.05076/2.703, allocations: 17.59 MB / 0.8307 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/2.703, allocations: 12 kB / 0.8307 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.589e-05/2.703, allocations: 16 kB / 0.8307 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/2.703, allocations: 68 kB / 0.8307 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02888/2.732, allocations: 2.777 MB / 0.8335 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002024/2.732, allocations: 79.86 kB / 0.8335 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/2.746, allocations: 0.9202 MB / 0.8344 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003183/2.749, allocations: 451.7 kB / 0.8349 GB, free: 1.801 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.004671/2.754, allocations: 278.4 kB / 0.8351 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4049/3.159, allocations: 16.35 MB / 0.8511 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003521/3.162, allocations: 447.9 kB / 0.8515 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06378/3.226, allocations: 20.16 MB / 0.8712 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001206/3.226, allocations: 142.8 kB / 0.8714 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/3.226, allocations: 2.281 kB / 0.8714 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003602/3.227, allocations: 71.81 kB / 0.8714 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1054/3.332, allocations: 34.85 MB / 0.9055 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.827e-05/3.332, allocations: 11.97 kB / 0.9055 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0306/3.363, allocations: 2.901 MB / 0.9083 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/3.363, allocations: 65.12 kB / 0.9084 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003101/3.366, allocations: 186.9 kB / 0.9085 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001389/3.366, allocations: 65.89 kB / 0.9086 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/3.366, allocations: 15.94 kB / 0.9086 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07532/3.442, allocations: 31.64 MB / 0.9395 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/3.443, allocations: 0.7451 MB / 0.9402 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004367/3.447, allocations: 34.92 kB / 0.9403 GB, free: 91.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01389/3.461, allocations: 391.2 kB / 0.9406 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00453/3.466, allocations: 0.8991 MB / 0.9415 GB, free: 90.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003223/3.469, allocations: 451.7 kB / 0.942 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004199/3.469, allocations: 278.9 kB / 0.9422 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/3.469, allocations: 2 kB / 0.9422 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01285/3.482, allocations: 3.422 MB / 0.9456 GB, free: 86.27 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.08132/3.564, allocations: 35.58 MB / 0.9803 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04097/3.605, allocations: 17.59 MB / 0.9975 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/3.605, allocations: 0 / 0.9975 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02296/3.628, allocations: 9.596 MB / 1.007 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005216/3.633, allocations: 234.9 kB / 1.007 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.421/4.054, allocations: 27.76 MB / 1.034 GB, free: 137 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01847/4.073, allocations: 6.637 MB / 1.041 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.03433/4.107, allocations: 7.324 MB / 1.048 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01802/4.125, allocations: 5.075 MB / 1.053 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.074e-06/4.125, allocations: 0 / 1.053 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3826/4.508, allocations: 164.2 MB / 1.213 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/4.508, allocations: 135.6 kB / 1.213 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.69/14.2, allocations: 0 / 1.213 GB, free: 6.855 MB / 0.5105 GB