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.593/3.593, allocations: 403.9 MB / 411 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.745e-05, allocations: 3.938 kB / 0.4942 GB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4835, allocations: 92.7 MB / 0.5847 GB, free: 2.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.672, allocations: 122.7 MB / 0.7045 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.6723, allocations: 95.92 kB / 0.7046 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02956/0.7019, allocations: 7.156 MB / 0.7115 GB, free: 252 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.892e-06/0.702, allocations: 0 / 0.7115 GB, free: 252 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.088e-05/0.702, allocations: 8 kB / 0.7116 GB, free: 244 kB / 0.5886 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.002243/0.7043, allocations: 0.8685 MB / 0.7124 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7043, allocations: 12.03 kB / 0.7124 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.7045, allocations: 47.44 kB / 0.7125 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.7052, allocations: 376.8 kB / 0.7128 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.7053, allocations: 16 kB / 0.7128 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.7054, allocations: 27.98 kB / 0.7129 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009328/0.7063, allocations: 405.2 kB / 0.7132 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.7074, allocations: 0.5059 MB / 0.7137 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.7075, allocations: 4 kB / 0.7137 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.7075, allocations: 8 kB / 0.7138 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.7076, allocations: 8 kB / 0.7138 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.711, allocations: 1.559 MB / 0.7153 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.7126, allocations: 0.6914 MB / 0.716 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.7132, allocations: 273.1 kB / 0.7162 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.7133, allocations: 11.98 kB / 0.7162 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008658/0.7141, allocations: 437.4 kB / 0.7166 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 3.805e-06/0.7142, allocations: 0 / 0.7166 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.001454/0.7156, allocations: 0.5984 MB / 0.7172 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/0.7158, allocations: 281 kB / 0.7175 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.7164, allocations: 317 kB / 0.7178 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/0.7165, allocations: 33.7 kB / 0.7178 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.7167, allocations: 204.7 kB / 0.718 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.7169, allocations: 122.5 kB / 0.7181 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.7169, allocations: 0 / 0.7181 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.7171, allocations: 362.7 kB / 0.7185 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.7176, allocations: 200.9 kB / 0.7187 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.7182, allocations: 378 kB / 0.719 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.7187, allocations: 227.8 kB / 0.7193 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.488e-06/0.7187, allocations: 4 kB / 0.7193 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001352/0.7201, allocations: 0.5671 MB / 0.7198 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009874/0.7211, allocations: 1.854 MB / 0.7216 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.7211, allocations: 4 kB / 0.7216 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.7211, allocations: 15.92 kB / 0.7217 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.7217, allocations: 115.8 kB / 0.7218 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.7218, allocations: 8 kB / 0.7218 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.7224, allocations: 87.8 kB / 0.7219 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.7225, allocations: 24 kB / 0.7219 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7225, allocations: 6.188 kB / 0.7219 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/0.7237, allocations: 467.9 kB / 0.7223 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7237, allocations: 7.984 kB / 0.7223 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7237, allocations: 11.94 kB / 0.7223 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.7241, allocations: 71.83 kB / 0.7224 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.7241, allocations: 15.92 kB / 0.7224 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.7246, allocations: 63.94 kB / 0.7225 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.7247, allocations: 20 kB / 0.7225 GB, free: 4.41 MB / 0.6042 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.0002901/0.725, allocations: 161 kB / 0.7227 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.7252, allocations: 47.52 kB / 0.7227 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.7253, allocations: 54.91 kB / 0.7228 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7254, allocations: 8 kB / 0.7228 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.268e-06/0.7254, allocations: 0 / 0.7228 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.7254, allocations: 4 kB / 0.7228 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.7284, allocations: 1.64 MB / 0.7244 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.366e-06/0.7284, allocations: 0 / 0.7244 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.7289, allocations: 87.84 kB / 0.7245 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.7289, allocations: 4 kB / 0.7245 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.729, allocations: 11.98 kB / 0.7245 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.301e-05/0.729, allocations: 8 kB / 0.7245 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.094e-06/0.729, allocations: 4 kB / 0.7245 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.7306, allocations: 1.116 MB / 0.7256 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.7308, allocations: 120.6 kB / 0.7257 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7309, allocations: 7.984 kB / 0.7257 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.7319, allocations: 119.8 kB / 0.7258 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.7321, allocations: 51.94 kB / 0.7259 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.7321, allocations: 19.98 kB / 0.7259 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003619/0.7325, allocations: 244.6 kB / 0.7261 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.107e-06/0.7325, allocations: 0 / 0.7261 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001231/0.7338, allocations: 167.5 kB / 0.7263 GB, free: 432 kB / 0.6042 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.0002786/0.7341, allocations: 152.1 kB / 0.7264 GB, free: 268 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.7359, allocations: 0.8795 MB / 0.7273 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.16e-06/0.7359, allocations: 0 / 0.7273 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.7366, allocations: 281.5 kB / 0.7275 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.7374, allocations: 65.44 kB / 0.7276 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.7394, allocations: 0.7298 MB / 0.7283 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.7401, allocations: 0.9217 MB / 0.7292 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009282/0.7411, allocations: 256.9 kB / 0.7295 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.7413, allocations: 39.42 kB / 0.7295 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of SimCode: time 4.161e-06/0.7413, allocations: 0 / 0.7295 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.01575/0.757, allocations: 5.627 MB / 0.735 GB, free: 7.445 MB / 0.6198 GB