Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.652/4.652, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.562e-05/5.574e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2952, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9903/1.285, allocations: 138.2 MB / 0.8128 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.286, allocations: 93.95 kB / 0.8129 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04828/1.334, allocations: 12.27 MB / 0.8248 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.764e-06/1.334, allocations: 0 / 0.8248 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.129e-05/1.334, allocations: 19.41 kB / 0.8249 GB, free: 10.05 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001068/1.335, allocations: 0.6479 MB / 0.8255 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.335, allocations: 11.53 kB / 0.8255 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.065e-05/1.336, allocations: 44.52 kB / 0.8255 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/1.336, allocations: 58.34 kB / 0.8256 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/1.337, allocations: 419.1 kB / 0.826 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/1.337, allocations: 11.58 kB / 0.826 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/1.337, allocations: 11.66 kB / 0.826 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/1.337, allocations: 127.8 kB / 0.8261 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.337, allocations: 0 / 0.8261 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/1.337, allocations: 7.062 kB / 0.8261 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.337, allocations: 3.844 kB / 0.8261 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/1.337, allocations: 84.16 kB / 0.8262 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/1.339, allocations: 0.655 MB / 0.8269 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/1.339, allocations: 130.5 kB / 0.827 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/1.339, allocations: 44.05 kB / 0.827 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/1.339, allocations: 3.969 kB / 0.827 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/1.34, allocations: 101.4 kB / 0.8271 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.916e-06/1.34, allocations: 0 / 0.8271 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004465/1.34, allocations: 163.4 kB / 0.8273 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/1.34, allocations: 55.34 kB / 0.8273 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/1.341, allocations: 0.5695 MB / 0.8279 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/1.341, allocations: 33.05 kB / 0.8279 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/1.341, allocations: 254.6 kB / 0.8282 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/1.341, allocations: 37.55 kB / 0.8282 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/1.341, allocations: 3.875 kB / 0.8282 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.341, allocations: 370.9 kB / 0.8286 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/1.342, allocations: 85.12 kB / 0.8286 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/1.342, allocations: 123.7 kB / 0.8288 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.342, allocations: 95.5 kB / 0.8289 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.342, allocations: 0 / 0.8289 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006181/1.343, allocations: 283.1 kB / 0.8291 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.343, allocations: 6.375 kB / 0.8291 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.343, allocations: 0 / 0.8291 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.343, allocations: 3.844 kB / 0.8291 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/1.343, allocations: 34.83 kB / 0.8292 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.343, allocations: 7.828 kB / 0.8292 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/1.344, allocations: 30.48 kB / 0.8292 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/1.344, allocations: 11.28 kB / 0.8292 GB, free: 7.551 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0001119/1.344, allocations: 126.3 kB / 0.8293 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/1.344, allocations: 50.38 kB / 0.8294 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/1.344, allocations: 195.5 kB / 0.8296 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/1.344, allocations: 3.75 kB / 0.8296 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.344, allocations: 0 / 0.8296 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.345, allocations: 0 / 0.8296 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/1.345, allocations: 374.3 kB / 0.8299 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.345, allocations: 3.953 kB / 0.8299 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/1.345, allocations: 11.5 kB / 0.8299 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.345, allocations: 0 / 0.8299 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/1.345, allocations: 7.406 kB / 0.83 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.345, allocations: 0 / 0.83 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.345, allocations: 3.984 kB / 0.83 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/1.346, allocations: 248.8 kB / 0.8302 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.346, allocations: 131.1 kB / 0.8303 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/1.346, allocations: 6.969 kB / 0.8303 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/1.346, allocations: 15.7 kB / 0.8303 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/1.346, allocations: 27.08 kB / 0.8304 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/1.346, allocations: 11.62 kB / 0.8304 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006517/1.347, allocations: 418.3 kB / 0.8308 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.347, allocations: 0 / 0.8308 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005077/1.348, allocations: 75.64 kB / 0.8309 GB, free: 6.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001797/1.349, allocations: 1.103 MB / 0.8319 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004299/1.35, allocations: 144.7 kB / 0.8321 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.35, allocations: 8 kB / 0.8321 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/1.35, allocations: 59.08 kB / 0.8321 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/1.351, allocations: 63.97 kB / 0.8322 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/1.352, allocations: 0.7213 MB / 0.8329 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/1.353, allocations: 0.8692 MB / 0.8337 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002503/1.353, allocations: 44.97 kB / 0.8338 GB, free: 20.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/1.354, allocations: 158.5 kB / 0.8339 GB, free: 20.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/1.354, allocations: 3.875 kB / 0.8339 GB, free: 20.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/1.393, allocations: 9.252 MB / 0.843 GB, free: 16.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/1.394, allocations: 197.3 kB / 0.8432 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/4.146, allocations: 0 / 0.8432 GB, free: 15.8 MB / 0.6511 GB