Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadModel(Buildings): time 4.234/4.234, allocations: 464.7 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.532e-05/4.559e-05, allocations: 4 kB / 0.5731 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8299/1.035, allocations: 143.9 MB / 0.8183 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.036, allocations: 97.09 kB / 0.8183 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.115/1.151, allocations: 33.01 MB / 0.8506 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.215e-06/1.151, allocations: 4 kB / 0.8506 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001378/1.151, allocations: 43.25 kB / 0.8506 GB, free: 12.91 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003007/1.154, allocations: 1.558 MB / 0.8522 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.154, allocations: 8.031 kB / 0.8522 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/1.154, allocations: 201.6 kB / 0.8524 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/1.157, allocations: 1.034 MB / 0.8534 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/1.157, allocations: 133.8 kB / 0.8535 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/1.157, allocations: 136.8 kB / 0.8536 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/1.16, allocations: 1.301 MB / 0.8549 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/1.16, allocations: 3.938 kB / 0.8549 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/1.16, allocations: 51.62 kB / 0.8549 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/1.16, allocations: 28 kB / 0.855 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/1.162, allocations: 0.8582 MB / 0.8558 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008883/1.171, allocations: 5.539 MB / 0.8612 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/1.173, allocations: 0.6723 MB / 0.8619 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/1.174, allocations: 354.5 kB / 0.8622 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.753e-05/1.174, allocations: 15.98 kB / 0.8622 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/1.175, allocations: 484.2 kB / 0.8627 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=93): time 4.515e-06/1.175, allocations: 0 / 0.8627 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93): time 0.00298/1.178, allocations: 0.798 MB / 0.8635 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.179, allocations: 126.4 kB / 0.8636 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/1.183, allocations: 1.453 MB / 0.865 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.184, allocations: 72.14 kB / 0.8651 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/1.185, allocations: 0.7466 MB / 0.8658 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/1.185, allocations: 230.9 kB / 0.866 GB, free: 468 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.186, allocations: 26.06 kB / 0.8661 GB, free: 464 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002985/1.186, allocations: 360.2 kB / 0.8664 GB, free: 120 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/1.187, allocations: 386.5 kB / 0.8668 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/1.189, allocations: 0.7237 MB / 0.8675 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/1.19, allocations: 396.5 kB / 0.8678 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/1.19, allocations: 4 kB / 0.8679 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00285/1.192, allocations: 1.201 MB / 0.869 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/1.193, allocations: 12 kB / 0.869 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.193, allocations: 8.875 kB / 0.869 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.942e-05/1.193, allocations: 20 kB / 0.8691 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/1.193, allocations: 169 kB / 0.8692 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.42e-05/1.193, allocations: 19.94 kB / 0.8692 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/1.194, allocations: 110.8 kB / 0.8693 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/1.195, allocations: 62.42 kB / 0.8694 GB, free: 13.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.staBy.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,con.pumOn.active,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$PRE.con.warUpCtr.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,con.transition6.enableFire,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.passed,con.timer.passed,$PRE.con.timer.entryTime,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 173 * 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.0003951/1.195, allocations: 251.6 kB / 0.8696 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/1.195, allocations: 158.1 kB / 0.8698 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/1.198, allocations: 0.968 MB / 0.8707 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.198, allocations: 8 kB / 0.8708 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.198, allocations: 4 kB / 0.8708 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.198, allocations: 3.984 kB / 0.8708 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/1.203, allocations: 2.435 MB / 0.8731 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.905e-06/1.203, allocations: 0 / 0.8731 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/1.204, allocations: 62.72 kB / 0.8732 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/1.204, allocations: 4 kB / 0.8732 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/1.204, allocations: 29.86 kB / 0.8732 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.285e-06/1.204, allocations: 7.938 kB / 0.8732 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.204, allocations: 0 / 0.8732 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.206, allocations: 0.9961 MB / 0.8742 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/1.206, allocations: 251.3 kB / 0.8745 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.207, allocations: 32.36 kB / 0.8745 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/1.207, allocations: 56.91 kB / 0.8745 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/1.208, allocations: 142 kB / 0.8747 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.208, allocations: 38.92 kB / 0.8747 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00212/1.21, allocations: 1.003 MB / 0.8757 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.524e-06/1.21, allocations: 3.938 kB / 0.8757 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003112/1.213, allocations: 285.1 kB / 0.876 GB, free: 8.398 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 86 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.staBy.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.pumOn.active,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.timer.passed,con.warUpCtr.timer.entryTime,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.passed,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 16 (mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.warUpCtr.timer.entryTime,con.cooDow.newActive,con.timer.entryTime,con.nor.newActive,con.plaOff.newActive,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.003453/1.216, allocations: 0.5158 MB / 0.8765 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004669/1.221, allocations: 0.9288 MB / 0.8774 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.221, allocations: 4.062 kB / 0.8774 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/1.223, allocations: 445.9 kB / 0.8778 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.226, allocations: 212.7 kB / 0.878 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.236, allocations: 2.025 MB / 0.88 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/1.239, allocations: 1.341 MB / 0.8813 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002236/1.242, allocations: 218.1 kB / 0.8815 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009926/1.243, allocations: 113.9 kB / 0.8816 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of SimCode: time 2.864e-06/1.243, allocations: 0 / 0.8816 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of Templates: time 0.07203/1.315, allocations: 14.76 MB / 0.896 GB, free: 4.867 MB / 0.6823 GB