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 3.834/3.834, allocations: 432.8 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/4.016e-05, allocations: 3.156 kB / 0.5337 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2077, allocations: 98.72 MB / 0.6301 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.4053, allocations: 127.7 MB / 0.7548 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.4056, allocations: 87.94 kB / 0.7549 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03107/0.4367, allocations: 7.194 MB / 0.7619 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.716e-06/0.4368, allocations: 0 / 0.7619 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.724e-05/0.4368, allocations: 8 kB / 0.7619 GB, free: 15.02 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002215/0.439, allocations: 0.8801 MB / 0.7628 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4391, allocations: 11.97 kB / 0.7628 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.4393, allocations: 55.34 kB / 0.7628 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.4401, allocations: 379.6 kB / 0.7632 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.4402, allocations: 28.78 kB / 0.7632 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.63e-05/0.4403, allocations: 35.98 kB / 0.7633 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4415, allocations: 0.5492 MB / 0.7638 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.4415, allocations: 3.938 kB / 0.7638 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.4416, allocations: 19.95 kB / 0.7638 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.4416, allocations: 8 kB / 0.7638 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009405/0.4426, allocations: 424 kB / 0.7642 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/0.4462, allocations: 1.634 MB / 0.7658 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.448, allocations: 0.699 MB / 0.7665 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.4486, allocations: 265 kB / 0.7668 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.4486, allocations: 12 kB / 0.7668 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009082/0.4496, allocations: 461.2 kB / 0.7672 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=51): time 4.477e-06/0.4496, allocations: 448 / 0.7672 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of matching and sorting (n=51): time 0.001563/0.4512, allocations: 0.6257 MB / 0.7678 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/0.4514, allocations: 281 kB / 0.7681 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.452, allocations: 379.5 kB / 0.7685 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.995e-05/0.4521, allocations: 49.62 kB / 0.7685 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.4524, allocations: 197 kB / 0.7687 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.4526, allocations: 134.4 kB / 0.7688 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.4526, allocations: 12 kB / 0.7688 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.4528, allocations: 358.8 kB / 0.7692 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.4533, allocations: 208.9 kB / 0.7694 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.454, allocations: 385 kB / 0.7697 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.4546, allocations: 261.5 kB / 0.77 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.4546, allocations: 4 kB / 0.77 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001478/0.4561, allocations: 0.6233 MB / 0.7706 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.4572, allocations: 1.864 MB / 0.7724 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.4572, allocations: 4 kB / 0.7724 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.4573, allocations: 8 kB / 0.7724 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.4579, allocations: 119.7 kB / 0.7725 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.458, allocations: 8 kB / 0.7726 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.4587, allocations: 111.6 kB / 0.7727 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.4588, allocations: 24 kB / 0.7727 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4588, allocations: 4 kB / 0.7727 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/0.4601, allocations: 0.5246 MB / 0.7732 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4601, allocations: 7.953 kB / 0.7732 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4601, allocations: 8 kB / 0.7732 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.4606, allocations: 79.81 kB / 0.7733 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.4606, allocations: 15.92 kB / 0.7733 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.4612, allocations: 68.17 kB / 0.7734 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.4612, allocations: 23.98 kB / 0.7734 GB, free: 2.621 MB / 0.6511 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.0003183/0.4616, allocations: 185 kB / 0.7736 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.4617, allocations: 51.44 kB / 0.7736 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.4619, allocations: 63.08 kB / 0.7737 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4619, allocations: 8 kB / 0.7737 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.4619, allocations: 0 / 0.7737 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.462, allocations: 7.938 kB / 0.7737 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.4651, allocations: 1.725 MB / 0.7754 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.4e-06/0.4652, allocations: 0 / 0.7754 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.4657, allocations: 95.83 kB / 0.7755 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.4657, allocations: 4 kB / 0.7755 GB, free: 432 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.4658, allocations: 15.98 kB / 0.7755 GB, free: 416 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.149e-06/0.4658, allocations: 0 / 0.7755 GB, free: 416 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.234e-06/0.4658, allocations: 4 kB / 0.7755 GB, free: 412 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4378/0.9036, allocations: 1.131 MB / 0.7766 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.9038, allocations: 121.7 kB / 0.7767 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.9039, allocations: 20.41 kB / 0.7767 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.905, allocations: 125.2 kB / 0.7769 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.9052, allocations: 51.62 kB / 0.7769 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.9053, allocations: 21 kB / 0.7769 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004457/0.9058, allocations: 296.2 kB / 0.7772 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.96e-07/0.9058, allocations: 0 / 0.7772 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001276/0.9071, allocations: 183.4 kB / 0.7774 GB, free: 139.7 MB / 0.6511 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.0002428/0.9073, allocations: 157.8 kB / 0.7775 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.9094, allocations: 0.9024 MB / 0.7784 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.543e-06/0.9094, allocations: 0.7188 kB / 0.7784 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.9103, allocations: 289.1 kB / 0.7787 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.9112, allocations: 79.08 kB / 0.7788 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.9131, allocations: 0.7609 MB / 0.7795 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.9136, allocations: 0.9158 MB / 0.7804 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009468/0.9146, allocations: 291.2 kB / 0.7807 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.9148, allocations: 36.02 kB / 0.7807 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.914e-06/0.9148, allocations: 1.219 kB / 0.7807 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.01867/0.9335, allocations: 6.412 MB / 0.787 GB, free: 138.3 MB / 0.6511 GB