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.528/3.528, allocations: 402 MB / 415.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.243e-05, allocations: 7.938 kB / 0.5004 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1667, allocations: 92.68 MB / 0.5909 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5942/0.761, allocations: 123.3 MB / 0.7113 GB, free: 3.09 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.7613, allocations: 91.94 kB / 0.7114 GB, free: 3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.03015/0.7915, allocations: 7.234 MB / 0.7185 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.203e-06/0.7915, allocations: 0 / 0.7185 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.7916, allocations: 12 kB / 0.7185 GB, free: 11.7 MB / 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.002184/0.7938, allocations: 0.8763 MB / 0.7193 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7938, allocations: 8.031 kB / 0.7193 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.794, allocations: 51.44 kB / 0.7194 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.7947, allocations: 382.8 kB / 0.7198 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.7948, allocations: 29.33 kB / 0.7198 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.235e-05/0.7949, allocations: 36 kB / 0.7198 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.7965, allocations: 0.6462 MB / 0.7205 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.7966, allocations: 11.94 kB / 0.7205 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.7967, allocations: 16 kB / 0.7205 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.7967, allocations: 8 kB / 0.7205 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.7985, allocations: 0.5977 MB / 0.7211 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.8021, allocations: 1.657 MB / 0.7227 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.8048, allocations: 0.9642 MB / 0.7236 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.8049, allocations: 8 kB / 0.7236 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.8063, allocations: 0.5449 MB / 0.7242 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=51): time 4.003e-06/0.8063, allocations: 0 / 0.7242 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=51): time 0.003369/0.8097, allocations: 1.146 MB / 0.7253 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.8099, allocations: 277 kB / 0.7256 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/0.8106, allocations: 392.7 kB / 0.7259 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.8107, allocations: 45.69 kB / 0.726 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.811, allocations: 197 kB / 0.7262 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.8112, allocations: 126.5 kB / 0.7263 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.8112, allocations: 12 kB / 0.7263 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.8114, allocations: 354.8 kB / 0.7266 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008942/0.8123, allocations: 312.8 kB / 0.7269 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.8134, allocations: 493.9 kB / 0.7274 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009858/0.8144, allocations: 365.4 kB / 0.7277 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.243e-06/0.8145, allocations: 4.438 kB / 0.7278 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002343/0.8168, allocations: 0.8383 MB / 0.7286 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.8179, allocations: 1.864 MB / 0.7304 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.8179, allocations: 8 kB / 0.7304 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.818, allocations: 11.94 kB / 0.7304 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.8186, allocations: 111.8 kB / 0.7305 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.8186, allocations: 11.98 kB / 0.7305 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.8193, allocations: 107.6 kB / 0.7306 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/0.8194, allocations: 27.98 kB / 0.7307 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8194, allocations: 10.3 kB / 0.7307 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/0.8211, allocations: 0.611 MB / 0.7313 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8211, allocations: 4 kB / 0.7313 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8212, allocations: 8 kB / 0.7313 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.8216, allocations: 79.81 kB / 0.7314 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.8216, allocations: 12.05 kB / 0.7314 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.8222, allocations: 75.7 kB / 0.7314 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.8222, allocations: 23.98 kB / 0.7315 GB, free: 13.79 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.0005655/0.8228, allocations: 291 kB / 0.7317 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.823, allocations: 47.48 kB / 0.7318 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.8231, allocations: 59.36 kB / 0.7318 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.8231, allocations: 4 kB / 0.7318 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.8232, allocations: 4 kB / 0.7318 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.8232, allocations: 3.984 kB / 0.7318 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/0.8273, allocations: 1.924 MB / 0.7337 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.776e-06/0.8273, allocations: 0 / 0.7337 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.8278, allocations: 87.83 kB / 0.7338 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.8278, allocations: 8 kB / 0.7338 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.8279, allocations: 15.98 kB / 0.7338 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.8279, allocations: 7.938 kB / 0.7338 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.037e-06/0.8279, allocations: 7.938 kB / 0.7339 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.8305, allocations: 1.342 MB / 0.7352 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.8307, allocations: 124.5 kB / 0.7353 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8308, allocations: 15.98 kB / 0.7353 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.8319, allocations: 123.8 kB / 0.7354 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.832, allocations: 51.92 kB / 0.7355 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/0.8321, allocations: 20 kB / 0.7355 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004664/0.8326, allocations: 303.1 kB / 0.7358 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.14e-07/0.8326, allocations: 4 kB / 0.7358 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001291/0.8339, allocations: 179.6 kB / 0.7359 GB, free: 9.055 MB / 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.000286/0.8342, allocations: 162.9 kB / 0.7361 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.8373, allocations: 1.148 MB / 0.7372 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.8373, allocations: 4 kB / 0.7372 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.8385, allocations: 400.4 kB / 0.7376 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.8394, allocations: 67.27 kB / 0.7377 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.8421, allocations: 1.118 MB / 0.7388 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.8428, allocations: 0.9143 MB / 0.7397 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000949/0.8438, allocations: 289.2 kB / 0.7399 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.8439, allocations: 39.42 kB / 0.74 GB, free: 4.832 MB / 0.6042 GB Notification: Performance of SimCode: time 1.609e-06/0.844, allocations: 3.938 kB / 0.74 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of Templates: time 0.01718/0.8611, allocations: 6.475 MB / 0.7463 GB, free: 14.4 MB / 0.6198 GB