Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadModel(Buildings): time 4.308/4.308, allocations: 431.3 MB / 445.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.033e-05, allocations: 4 kB / 0.5354 GB, free: 14.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6072/0.6072, allocations: 98.71 MB / 0.6318 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.003112/0.6104, allocations: 1.651 MB / 0.6334 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.6121, allocations: 0.5818 MB / 0.634 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.6123, allocations: 12 kB / 0.634 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.881e-05/0.6123, allocations: 11.86 kB / 0.634 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.6125, allocations: 31.86 kB / 0.634 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.6129, allocations: 75.78 kB / 0.6341 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.6133, allocations: 243.5 kB / 0.6344 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.6136, allocations: 122.5 kB / 0.6345 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.614, allocations: 143.6 kB / 0.6346 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.6143, allocations: 155.3 kB / 0.6348 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.6144, allocations: 19.94 kB / 0.6348 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.6144, allocations: 16 kB / 0.6348 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.6146, allocations: 79.66 kB / 0.6349 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.6147, allocations: 24 kB / 0.6349 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007231/0.6154, allocations: 0.4934 MB / 0.6354 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6154, allocations: 4 kB / 0.6354 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.726e-06/0.6154, allocations: 0 / 0.6354 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.6154, allocations: 4 kB / 0.6354 GB, free: 8.262 MB / 0.5105 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.003189/0.6186, allocations: 0.8798 MB / 0.6362 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.6187, allocations: 12.03 kB / 0.6362 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.619, allocations: 51.39 kB / 0.6363 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/0.6198, allocations: 382.8 kB / 0.6367 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/0.6198, allocations: 28.66 kB / 0.6367 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.62, allocations: 35.98 kB / 0.6367 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.6221, allocations: 0.6696 MB / 0.6374 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6222, allocations: 0 / 0.6374 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.712e-05/0.6222, allocations: 15.98 kB / 0.6374 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.6223, allocations: 8 kB / 0.6374 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.6247, allocations: 0.6326 MB / 0.638 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004267/0.629, allocations: 1.649 MB / 0.6396 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/0.6326, allocations: 0.9408 MB / 0.6405 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-05/0.6328, allocations: 15.98 kB / 0.6406 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/0.6345, allocations: 0.549 MB / 0.6411 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=51): time 6.973e-06/0.6346, allocations: 4 kB / 0.6411 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.004547/0.6392, allocations: 1.146 MB / 0.6422 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/0.6394, allocations: 281 kB / 0.6425 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009976/0.6404, allocations: 392.6 kB / 0.6429 GB, free: 244 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.6406, allocations: 49.69 kB / 0.6429 GB, free: 188 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.641, allocations: 189.2 kB / 0.6431 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.6413, allocations: 130.2 kB / 0.6432 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.6414, allocations: 8 kB / 0.6432 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002605/0.6416, allocations: 370.7 kB / 0.6436 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.6435, allocations: 304.8 kB / 0.6439 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.6456, allocations: 493.9 kB / 0.6443 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.6472, allocations: 373.2 kB / 0.6447 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.6473, allocations: 0 / 0.6447 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003046/0.6503, allocations: 0.8461 MB / 0.6455 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008276/0.6512, allocations: 1.858 MB / 0.6473 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.6513, allocations: 4 kB / 0.6473 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/0.6513, allocations: 8 kB / 0.6473 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.6521, allocations: 112.2 kB / 0.6475 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.6522, allocations: 11.94 kB / 0.6475 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/0.6531, allocations: 111.6 kB / 0.6476 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.6532, allocations: 32 kB / 0.6476 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6532, allocations: 11.92 kB / 0.6476 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001975/0.6552, allocations: 0.6067 MB / 0.6482 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6552, allocations: 4 kB / 0.6482 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6552, allocations: 8 kB / 0.6482 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.6558, allocations: 76 kB / 0.6483 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.6558, allocations: 19.89 kB / 0.6483 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.6565, allocations: 79.62 kB / 0.6484 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.6566, allocations: 20 kB / 0.6484 GB, free: 10.3 MB / 0.5261 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.0006089/0.6572, allocations: 285.5 kB / 0.6487 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.6573, allocations: 51.42 kB / 0.6487 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.6575, allocations: 55.36 kB / 0.6488 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6575, allocations: 4 kB / 0.6488 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6576, allocations: 4 kB / 0.6488 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.6576, allocations: 7.938 kB / 0.6488 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.6626, allocations: 1.927 MB / 0.6507 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.6627, allocations: 4 kB / 0.6507 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.6633, allocations: 91.84 kB / 0.6508 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.6633, allocations: 4 kB / 0.6508 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.6634, allocations: 11.98 kB / 0.6508 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.6634, allocations: 4 kB / 0.6508 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6635, allocations: 3.938 kB / 0.6508 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.6666, allocations: 1.334 MB / 0.6521 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.6668, allocations: 132.4 kB / 0.6522 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.667, allocations: 19.98 kB / 0.6522 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.6682, allocations: 123.8 kB / 0.6524 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.6684, allocations: 55.88 kB / 0.6524 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.6685, allocations: 15.98 kB / 0.6524 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005407/0.6691, allocations: 307.1 kB / 0.6527 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/0.6691, allocations: 0 / 0.6527 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001314/0.6704, allocations: 183.7 kB / 0.6529 GB, free: 5.555 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * 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.0002977/0.6707, allocations: 157.1 kB / 0.653 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003935/0.6747, allocations: 1.164 MB / 0.6542 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.6747, allocations: 1.125 kB / 0.6542 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.6762, allocations: 396 kB / 0.6546 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/0.6772, allocations: 73.28 kB / 0.6546 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.6803, allocations: 1.122 MB / 0.6557 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.681, allocations: 0.9143 MB / 0.6566 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001269/0.6823, allocations: 301.2 kB / 0.6569 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.6825, allocations: 39.42 kB / 0.6569 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/0.6825, allocations: 0 / 0.6569 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of Templates: time 0.01985/0.7024, allocations: 6.451 MB / 0.6632 GB, free: 10.91 MB / 0.5417 GB