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.585/3.585, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.782e-05, allocations: 4 kB / 0.499 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4759, allocations: 92.68 MB / 0.5895 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.6599, allocations: 123.3 MB / 0.71 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.6602, allocations: 91.94 kB / 0.7101 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03124/0.6915, allocations: 7.199 MB / 0.7171 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.951e-06/0.6915, allocations: 0 / 0.7171 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.773e-05/0.6916, allocations: 12 kB / 0.7171 GB, free: 11.63 MB / 0.6042 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.002146/0.6937, allocations: 0.8675 MB / 0.718 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6938, allocations: 12.03 kB / 0.718 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.694, allocations: 55.44 kB / 0.718 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.6947, allocations: 371.8 kB / 0.7184 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.6948, allocations: 33.41 kB / 0.7184 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/0.6948, allocations: 35.98 kB / 0.7184 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.696, allocations: 0.5542 MB / 0.719 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.6961, allocations: 0 / 0.719 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.6961, allocations: 15.98 kB / 0.719 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6962, allocations: 8 kB / 0.719 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.6971, allocations: 412.4 kB / 0.7194 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.7006, allocations: 1.664 MB / 0.721 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.7023, allocations: 0.7028 MB / 0.7217 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.7029, allocations: 265 kB / 0.722 GB, free: 6.387 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.346e-05/0.703, allocations: 15.98 kB / 0.722 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/0.7039, allocations: 458.1 kB / 0.7224 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 4.132e-06/0.7039, allocations: 3.938 kB / 0.7224 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.001464/0.7054, allocations: 0.6219 MB / 0.723 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/0.7056, allocations: 281 kB / 0.7233 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.7062, allocations: 383.4 kB / 0.7237 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/0.7063, allocations: 49.69 kB / 0.7237 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.7065, allocations: 189 kB / 0.7239 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.7067, allocations: 134.5 kB / 0.724 GB, free: 4.168 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.7068, allocations: 8 kB / 0.724 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.707, allocations: 358.8 kB / 0.7244 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.7075, allocations: 209 kB / 0.7246 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.7082, allocations: 390 kB / 0.7249 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.7087, allocations: 265.5 kB / 0.7252 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/0.7087, allocations: 4 kB / 0.7252 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001412/0.7101, allocations: 0.6315 MB / 0.7258 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.7112, allocations: 1.872 MB / 0.7276 GB, free: 216 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.7112, allocations: 4 kB / 0.7276 GB, free: 212 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.7112, allocations: 8.188 kB / 0.7276 GB, free: 204 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.7119, allocations: 116.2 kB / 0.7278 GB, free: 88 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.7119, allocations: 4 kB / 0.7278 GB, free: 84 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.7126, allocations: 111.6 kB / 0.7279 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.7126, allocations: 27.95 kB / 0.7279 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.7127, allocations: 4 kB / 0.7279 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/0.7139, allocations: 0.5408 MB / 0.7284 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.7139, allocations: 8.094 kB / 0.7284 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.714, allocations: 8 kB / 0.7284 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.7144, allocations: 75.81 kB / 0.7285 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.7144, allocations: 8 kB / 0.7285 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.7149, allocations: 83.56 kB / 0.7286 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.715, allocations: 28 kB / 0.7286 GB, free: 15.19 MB / 0.6198 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.000298/0.7153, allocations: 172.8 kB / 0.7288 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.7154, allocations: 47.48 kB / 0.7288 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.7156, allocations: 59.12 kB / 0.7289 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.7156, allocations: 12 kB / 0.7289 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.7157, allocations: 4 kB / 0.7289 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-06/0.7157, allocations: 0 / 0.7289 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.7188, allocations: 1.736 MB / 0.7306 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.7189, allocations: 4 kB / 0.7306 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.7194, allocations: 91.83 kB / 0.7307 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.7194, allocations: 4 kB / 0.7307 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.7194, allocations: 8 kB / 0.7307 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.992e-06/0.7195, allocations: 11.98 kB / 0.7307 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.912e-06/0.7195, allocations: 0 / 0.7307 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.7212, allocations: 1.143 MB / 0.7318 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.7213, allocations: 132.5 kB / 0.732 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.7215, allocations: 11.98 kB / 0.732 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/0.7224, allocations: 127.8 kB / 0.7321 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.7226, allocations: 47.92 kB / 0.7321 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.7227, allocations: 23.98 kB / 0.7322 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004844/0.7232, allocations: 306 kB / 0.7325 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.17e-07/0.7232, allocations: 0 / 0.7325 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001224/0.7244, allocations: 175.7 kB / 0.7326 GB, free: 10.96 MB / 0.6198 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.0002675/0.7247, allocations: 167 kB / 0.7328 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.7266, allocations: 0.9186 MB / 0.7337 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.388e-06/0.7267, allocations: 0.625 kB / 0.7337 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.7273, allocations: 287.7 kB / 0.734 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.7282, allocations: 79.36 kB / 0.734 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.7302, allocations: 0.7743 MB / 0.7348 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.7309, allocations: 0.9182 MB / 0.7357 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008933/0.7318, allocations: 288.9 kB / 0.736 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.732, allocations: 35.44 kB / 0.736 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.695e-06/0.732, allocations: 0 / 0.736 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.0169/0.7489, allocations: 6.474 MB / 0.7423 GB, free: 0.9844 MB / 0.6198 GB