Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadModel(Buildings): time 4.102/4.102, allocations: 464.7 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.319e-05, allocations: 4 kB / 0.5731 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 107.1 MB / 0.6778 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7815/0.9834, allocations: 135.4 MB / 0.81 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.9837, allocations: 94.53 kB / 0.8101 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03396/1.018, allocations: 7.821 MB / 0.8177 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.672e-06/1.018, allocations: 2.203 kB / 0.8177 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.106e-05/1.018, allocations: 7.781 kB / 0.8177 GB, free: 11.46 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001972/1.02, allocations: 0.8974 MB / 0.8186 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.02, allocations: 7.719 kB / 0.8186 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/1.02, allocations: 54.55 kB / 0.8187 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/1.021, allocations: 399.1 kB / 0.8191 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/1.021, allocations: 29.41 kB / 0.8191 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/1.021, allocations: 38 kB / 0.8191 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/1.022, allocations: 0.5619 MB / 0.8197 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/1.022, allocations: 0 / 0.8197 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/1.022, allocations: 13.89 kB / 0.8197 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.022, allocations: 11.56 kB / 0.8197 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/1.023, allocations: 423.1 kB / 0.8201 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/1.026, allocations: 1.678 MB / 0.8217 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/1.028, allocations: 0.6931 MB / 0.8224 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/1.028, allocations: 269.3 kB / 0.8227 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/1.028, allocations: 11.44 kB / 0.8227 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008459/1.029, allocations: 452.2 kB / 0.8231 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 4.69e-06/1.029, allocations: 4 kB / 0.8231 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.002019/1.031, allocations: 0.6234 MB / 0.8237 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.031, allocations: 283.8 kB / 0.824 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/1.032, allocations: 390 kB / 0.8244 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/1.032, allocations: 44.45 kB / 0.8244 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/1.032, allocations: 211.9 kB / 0.8246 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.032, allocations: 122.6 kB / 0.8247 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/1.032, allocations: 7.062 kB / 0.8247 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/1.033, allocations: 366.6 kB / 0.8251 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/1.033, allocations: 210.6 kB / 0.8253 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/1.033, allocations: 391.8 kB / 0.8257 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/1.034, allocations: 266.7 kB / 0.8259 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.631e-06/1.034, allocations: 3.875 kB / 0.8259 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001243/1.035, allocations: 0.6248 MB / 0.8265 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009346/1.036, allocations: 1.86 MB / 0.8283 GB, free: 21.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.036, allocations: 7.375 kB / 0.8283 GB, free: 21.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.036, allocations: 7.812 kB / 0.8284 GB, free: 21.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/1.037, allocations: 113 kB / 0.8285 GB, free: 21.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.037, allocations: 11.72 kB / 0.8285 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/1.038, allocations: 111.3 kB / 0.8286 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/1.038, allocations: 22.03 kB / 0.8286 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.038, allocations: 6.281 kB / 0.8286 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/1.039, allocations: 0.5303 MB / 0.8291 GB, free: 21.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.039, allocations: 3.688 kB / 0.8291 GB, free: 21.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/1.039, allocations: 15.55 kB / 0.8291 GB, free: 21.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/1.04, allocations: 74.19 kB / 0.8292 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/1.04, allocations: 11.66 kB / 0.8292 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/1.04, allocations: 77.19 kB / 0.8293 GB, free: 21.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/1.04, allocations: 20.25 kB / 0.8293 GB, free: 21.25 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.0003045/1.041, allocations: 179.4 kB / 0.8295 GB, free: 21.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.041, allocations: 50.53 kB / 0.8295 GB, free: 21.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/1.041, allocations: 60.83 kB / 0.8296 GB, free: 21.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.041, allocations: 15.62 kB / 0.8296 GB, free: 21.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.041, allocations: 0 / 0.8296 GB, free: 21.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/1.041, allocations: 3.75 kB / 0.8296 GB, free: 21.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/1.044, allocations: 1.73 MB / 0.8313 GB, free: 20.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.129e-06/1.044, allocations: 3.812 kB / 0.8313 GB, free: 20.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/1.045, allocations: 85.41 kB / 0.8314 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.045, allocations: 0 / 0.8314 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/1.045, allocations: 29.05 kB / 0.8314 GB, free: 20.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.349e-06/1.045, allocations: 3.656 kB / 0.8314 GB, free: 20.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.732e-06/1.045, allocations: 0 / 0.8314 GB, free: 20.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/1.047, allocations: 1.152 MB / 0.8325 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.047, allocations: 119.8 kB / 0.8327 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.047, allocations: 19.36 kB / 0.8327 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009948/1.048, allocations: 121.2 kB / 0.8328 GB, free: 19.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/1.048, allocations: 50.69 kB / 0.8328 GB, free: 19.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/1.048, allocations: 18.83 kB / 0.8329 GB, free: 19.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006035/1.049, allocations: 306 kB / 0.8332 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.32e-07/1.049, allocations: 0 / 0.8332 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0016/1.05, allocations: 189.3 kB / 0.8333 GB, free: 19 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.0002853/1.051, allocations: 161.4 kB / 0.8335 GB, free: 18.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001747/1.053, allocations: 0.9036 MB / 0.8344 GB, free: 18.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.38e-06/1.053, allocations: 7.781 kB / 0.8344 GB, free: 18.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/1.053, allocations: 289.1 kB / 0.8347 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/1.054, allocations: 88.25 kB / 0.8347 GB, free: 18.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/1.056, allocations: 0.7747 MB / 0.8355 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/1.057, allocations: 0.9263 MB / 0.8364 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000905/1.058, allocations: 322.6 kB / 0.8367 GB, free: 17.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/1.058, allocations: 34.41 kB / 0.8367 GB, free: 17.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.635e-06/1.058, allocations: 3.938 kB / 0.8367 GB, free: 17.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.0179/1.076, allocations: 6.706 MB / 0.8433 GB, free: 14.05 MB / 0.6511 GB