Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadModel(Buildings): time 3.789/3.789, allocations: 402 MB / 416.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.308e-05, allocations: 4 kB / 0.501 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1958, allocations: 92.68 MB / 0.5915 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.003034/0.1989, allocations: 1.642 MB / 0.5931 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2004, allocations: 0.5933 MB / 0.5937 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2006, allocations: 8 kB / 0.5937 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.28e-05/0.2006, allocations: 7.875 kB / 0.5937 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.2008, allocations: 31.86 kB / 0.5937 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.2012, allocations: 79.83 kB / 0.5938 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.2017, allocations: 243.4 kB / 0.594 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.202, allocations: 130.9 kB / 0.5941 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.2023, allocations: 135.6 kB / 0.5943 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.2026, allocations: 159.3 kB / 0.5944 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.2028, allocations: 19.94 kB / 0.5944 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.2028, allocations: 16 kB / 0.5944 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.203, allocations: 71.67 kB / 0.5945 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.2031, allocations: 28 kB / 0.5945 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007458/0.2038, allocations: 0.4991 MB / 0.595 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2039, allocations: 4 kB / 0.595 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2039, allocations: 0 / 0.595 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.2039, allocations: 0 / 0.595 GB, free: 7.719 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003268/0.2072, allocations: 0.8914 MB / 0.5959 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.2072, allocations: 8.031 kB / 0.5959 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.2075, allocations: 55.44 kB / 0.596 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/0.2083, allocations: 382.8 kB / 0.5963 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/0.2084, allocations: 28.66 kB / 0.5964 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2085, allocations: 31.98 kB / 0.5964 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.2107, allocations: 0.6697 MB / 0.597 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.2107, allocations: 0 / 0.597 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/0.2108, allocations: 19.94 kB / 0.5971 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.2108, allocations: 8 kB / 0.5971 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.2132, allocations: 0.625 MB / 0.5977 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.2174, allocations: 1.645 MB / 0.5993 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.221, allocations: 0.9447 MB / 0.6002 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.894e-05/0.2212, allocations: 23.97 kB / 0.6002 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001726/0.2229, allocations: 0.5449 MB / 0.6008 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=51): time 4.839e-06/0.2229, allocations: 0 / 0.6008 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.004396/0.2273, allocations: 1.137 MB / 0.6019 GB, free: 432 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/0.2276, allocations: 285 kB / 0.6021 GB, free: 84 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5257/0.7533, allocations: 383.3 kB / 0.6025 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.7536, allocations: 46.53 kB / 0.6026 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.7539, allocations: 194.8 kB / 0.6027 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.7542, allocations: 126.8 kB / 0.6029 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.7543, allocations: 11.34 kB / 0.6029 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.7545, allocations: 360.7 kB / 0.6032 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.7562, allocations: 312 kB / 0.6035 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.7581, allocations: 492.3 kB / 0.604 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.7599, allocations: 376.7 kB / 0.6043 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.7599, allocations: 1.5 kB / 0.6043 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003937/0.7639, allocations: 0.8396 MB / 0.6052 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005302/0.7644, allocations: 1.861 MB / 0.607 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.7645, allocations: 5 kB / 0.607 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/0.7645, allocations: 8.688 kB / 0.607 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.7655, allocations: 113.7 kB / 0.6071 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.7656, allocations: 17.44 kB / 0.6071 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/0.7666, allocations: 112.4 kB / 0.6072 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.7666, allocations: 27.19 kB / 0.6072 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.7667, allocations: 4.125 kB / 0.6073 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/0.7686, allocations: 0.6049 MB / 0.6078 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7686, allocations: 4.75 kB / 0.6078 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7687, allocations: 13.97 kB / 0.6079 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.7692, allocations: 79.95 kB / 0.6079 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.7692, allocations: 13.2 kB / 0.608 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006781/0.7699, allocations: 77.53 kB / 0.608 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.77, allocations: 21.52 kB / 0.608 GB, free: 9.809 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.000605/0.7706, allocations: 291.8 kB / 0.6083 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7707, allocations: 44.7 kB / 0.6084 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.7709, allocations: 56.78 kB / 0.6084 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.7709, allocations: 4.344 kB / 0.6084 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.7709, allocations: 1.688 kB / 0.6084 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.7711, allocations: 139.2 kB / 0.6086 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.7712, allocations: 14.55 kB / 0.6086 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009788/0.7722, allocations: 123.2 kB / 0.6087 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.7724, allocations: 51.84 kB / 0.6087 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003499/0.7759, allocations: 1.344 MB / 0.6101 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00315/0.7791, allocations: 1.426 MB / 0.6114 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001393/0.7805, allocations: 384.7 kB / 0.6118 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005279/0.7811, allocations: 300.3 kB / 0.6121 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of Backend: time 1.513e-06/0.7811, allocations: 0 / 0.6121 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.7833, allocations: 0.5476 MB / 0.6126 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of SimCode: time 0.002242/0.7856, allocations: 1.332 MB / 0.6139 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of Templates: time 0.0234/0.8091, allocations: 7.549 MB / 0.6213 GB, free: 6.043 MB / 0.4948 GB