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.632/3.632, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.932e-05, allocations: 4 kB / 0.4991 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5014, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.6896, allocations: 123.3 MB / 0.71 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.6899, allocations: 91.94 kB / 0.7101 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03/0.72, allocations: 7.199 MB / 0.7171 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.507e-06/0.72, allocations: 4 kB / 0.7171 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.051e-05/0.72, allocations: 12 kB / 0.7171 GB, free: 11.64 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.002216/0.7223, allocations: 0.8753 MB / 0.718 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7223, allocations: 8.031 kB / 0.718 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.7225, allocations: 51.44 kB / 0.7181 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.7233, allocations: 375.8 kB / 0.7184 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.7233, allocations: 29.45 kB / 0.7184 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.7234, allocations: 36 kB / 0.7185 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.7246, allocations: 0.5488 MB / 0.719 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.7247, allocations: 3.984 kB / 0.719 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/0.7248, allocations: 19.98 kB / 0.719 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.7248, allocations: 8 kB / 0.719 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.7257, allocations: 408.2 kB / 0.7194 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.7293, allocations: 1.661 MB / 0.721 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.731, allocations: 0.6912 MB / 0.7217 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.7315, allocations: 276.9 kB / 0.722 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/0.7316, allocations: 11.97 kB / 0.722 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008745/0.7325, allocations: 457.2 kB / 0.7224 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 4.353e-06/0.7325, allocations: 0 / 0.7224 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.001488/0.734, allocations: 0.6064 MB / 0.723 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/0.7342, allocations: 284.9 kB / 0.7233 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.7349, allocations: 387.4 kB / 0.7237 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.735, allocations: 49.7 kB / 0.7237 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.7352, allocations: 193 kB / 0.7239 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.7354, allocations: 126.5 kB / 0.724 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.7354, allocations: 8 kB / 0.724 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.7357, allocations: 362.8 kB / 0.7244 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.7361, allocations: 205 kB / 0.7246 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.7368, allocations: 384.9 kB / 0.7249 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.7373, allocations: 269.5 kB / 0.7252 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-06/0.7373, allocations: 0 / 0.7252 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001393/0.7387, allocations: 0.6193 MB / 0.7258 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009897/0.7398, allocations: 1.861 MB / 0.7276 GB, free: 292 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.7398, allocations: 12 kB / 0.7276 GB, free: 280 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.7398, allocations: 8 kB / 0.7276 GB, free: 272 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.7404, allocations: 107.8 kB / 0.7277 GB, free: 164 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.7405, allocations: 11.98 kB / 0.7277 GB, free: 152 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.7411, allocations: 104.1 kB / 0.7278 GB, free: 48 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.7412, allocations: 35.94 kB / 0.7279 GB, free: 12 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7413, allocations: 7.938 kB / 0.7279 GB, free: 4 kB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001228/0.7425, allocations: 0.5289 MB / 0.7284 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.7425, allocations: 11.94 kB / 0.7284 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.7426, allocations: 8 kB / 0.7284 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.743, allocations: 80.38 kB / 0.7285 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.743, allocations: 8 kB / 0.7285 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.7435, allocations: 75.62 kB / 0.7286 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.7436, allocations: 20 kB / 0.7286 GB, free: 15.27 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.0003049/0.7439, allocations: 192.5 kB / 0.7288 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.744, allocations: 47.48 kB / 0.7288 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.7442, allocations: 51.14 kB / 0.7289 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.7442, allocations: 8 kB / 0.7289 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.5e-06/0.7442, allocations: 0 / 0.7289 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.7443, allocations: 7.984 kB / 0.7289 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.7473, allocations: 1.732 MB / 0.7306 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.756e-06/0.7474, allocations: 0 / 0.7306 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.7478, allocations: 87.84 kB / 0.7307 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.7479, allocations: 7.938 kB / 0.7307 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.7479, allocations: 19.98 kB / 0.7307 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.748, allocations: 4 kB / 0.7307 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.762e-06/0.748, allocations: 0 / 0.7307 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.7496, allocations: 1.143 MB / 0.7318 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.7498, allocations: 124.5 kB / 0.7319 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7499, allocations: 19.98 kB / 0.732 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/0.7509, allocations: 119.8 kB / 0.7321 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.7511, allocations: 56.06 kB / 0.7321 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.7512, allocations: 15.94 kB / 0.7321 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004542/0.7516, allocations: 302 kB / 0.7324 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.39e-07/0.7516, allocations: 0 / 0.7324 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001254/0.7529, allocations: 191.7 kB / 0.7326 GB, free: 11.03 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.0002736/0.7532, allocations: 158.9 kB / 0.7328 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.7551, allocations: 0.895 MB / 0.7336 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.043e-06/0.7551, allocations: 0 / 0.7336 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.7558, allocations: 299.6 kB / 0.7339 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.7567, allocations: 67.61 kB / 0.734 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.7586, allocations: 0.7619 MB / 0.7347 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.7593, allocations: 0.9222 MB / 0.7356 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008916/0.7602, allocations: 289.2 kB / 0.7359 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.7604, allocations: 35.42 kB / 0.7359 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of SimCode: time 1.989e-06/0.7604, allocations: 0 / 0.7359 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of Templates: time 0.01718/0.7776, allocations: 6.412 MB / 0.7422 GB, free: 1.145 MB / 0.6198 GB