Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadModel(Buildings): time 4.309/4.309, allocations: 431.3 MB / 445.8 MB, free: 5.441 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.663e-05, allocations: 4 kB / 0.5354 GB, free: 14.87 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.627, allocations: 98.71 MB / 0.6318 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005242/0.6323, allocations: 2.594 MB / 0.6343 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.635, allocations: 0.8659 MB / 0.6352 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.6354, allocations: 23.94 kB / 0.6352 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.6356, allocations: 39.58 kB / 0.6352 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005454/0.6361, allocations: 95.67 kB / 0.6353 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.6368, allocations: 179.6 kB / 0.6355 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.6374, allocations: 284.6 kB / 0.6358 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.6378, allocations: 133.9 kB / 0.6359 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.6381, allocations: 143.4 kB / 0.636 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.6384, allocations: 131.4 kB / 0.6362 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.6385, allocations: 12 kB / 0.6362 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.6385, allocations: 12 kB / 0.6362 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.6386, allocations: 63.69 kB / 0.6362 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.6387, allocations: 28 kB / 0.6363 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.6393, allocations: 409.4 kB / 0.6367 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.6393, allocations: 0 / 0.6367 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6394, allocations: 0 / 0.6367 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.6394, allocations: 0 / 0.6367 GB, free: 6.965 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001495/0.6409, allocations: 0.6419 MB / 0.6373 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6409, allocations: 12.03 kB / 0.6373 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.6411, allocations: 59.3 kB / 0.6374 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.642, allocations: 399.6 kB / 0.6377 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.6421, allocations: 33 kB / 0.6378 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.6422, allocations: 36 kB / 0.6378 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.6433, allocations: 389.6 kB / 0.6382 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6433, allocations: 7.938 kB / 0.6382 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.6434, allocations: 16 kB / 0.6382 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.6434, allocations: 12 kB / 0.6382 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/0.6443, allocations: 263.8 kB / 0.6385 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.6473, allocations: 1.328 MB / 0.6398 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.6484, allocations: 319.6 kB / 0.6401 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.6485, allocations: 4 kB / 0.6401 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005414/0.6491, allocations: 185.9 kB / 0.6402 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/0.6491, allocations: 0 / 0.6402 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001353/0.6505, allocations: 381.8 kB / 0.6406 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.6505, allocations: 89.09 kB / 0.6407 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.6511, allocations: 308.8 kB / 0.641 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.6512, allocations: 41.64 kB / 0.641 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.6514, allocations: 224.5 kB / 0.6412 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.6516, allocations: 106.5 kB / 0.6413 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.6516, allocations: 8 kB / 0.6413 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6518, allocations: 354.8 kB / 0.6417 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.6522, allocations: 104.7 kB / 0.6418 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.6527, allocations: 164.4 kB / 0.6419 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.6531, allocations: 117.6 kB / 0.6421 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6531, allocations: 0 / 0.6421 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001103/0.6543, allocations: 354.9 kB / 0.6424 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.6546, allocations: 0.6123 MB / 0.643 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6546, allocations: 4 kB / 0.643 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6546, allocations: 0 / 0.643 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.6552, allocations: 71.83 kB / 0.6431 GB, free: 64 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.6552, allocations: 8 kB / 0.6431 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.6556, allocations: 39.73 kB / 0.6431 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.6557, allocations: 15.95 kB / 0.6431 GB, free: 0 / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6557, allocations: 4.109 kB / 0.6431 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008224/0.6565, allocations: 287.8 kB / 0.6434 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6565, allocations: 4 kB / 0.6434 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.629e-06/0.6566, allocations: 4 kB / 0.6434 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.657, allocations: 59.91 kB / 0.6435 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.6571, allocations: 7.938 kB / 0.6435 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.6574, allocations: 43.67 kB / 0.6435 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.6575, allocations: 20.19 kB / 0.6435 GB, free: 15.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0003291/0.6578, allocations: 165.8 kB / 0.6437 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.6579, allocations: 43.48 kB / 0.6437 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.6581, allocations: 44.25 kB / 0.6438 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6581, allocations: 4 kB / 0.6438 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.6581, allocations: 3.984 kB / 0.6438 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6581, allocations: 0 / 0.6438 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.66, allocations: 0.8153 MB / 0.6446 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.66, allocations: 0 / 0.6446 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.6605, allocations: 43.92 kB / 0.6446 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.6605, allocations: 4 kB / 0.6446 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.6605, allocations: 7.984 kB / 0.6446 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.6606, allocations: 4 kB / 0.6446 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6606, allocations: 4 kB / 0.6446 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.662, allocations: 0.5147 MB / 0.6451 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.6623, allocations: 140.5 kB / 0.6453 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.6623, allocations: 8 kB / 0.6453 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.6627, allocations: 24.05 kB / 0.6453 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.6628, allocations: 27.95 kB / 0.6453 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.6629, allocations: 8 kB / 0.6453 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004022/0.6633, allocations: 243.2 kB / 0.6456 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6633, allocations: 0 / 0.6456 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007721/0.6641, allocations: 147.4 kB / 0.6457 GB, free: 13.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001943/0.6643, allocations: 123.2 kB / 0.6458 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.6658, allocations: 434.2 kB / 0.6462 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6658, allocations: 0 / 0.6462 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.6663, allocations: 139.8 kB / 0.6464 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.667, allocations: 71.69 kB / 0.6465 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.6695, allocations: 0.9742 MB / 0.6474 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.6701, allocations: 0.8279 MB / 0.6482 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005482/0.6706, allocations: 57.25 kB / 0.6483 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.6708, allocations: 31.42 kB / 0.6483 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/0.6708, allocations: 0 / 0.6483 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.01425/0.6851, allocations: 4.031 MB / 0.6522 GB, free: 6.516 MB / 0.5261 GB