Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(Buildings): time 4.521/4.521, allocations: 431.3 MB / 445.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.359e-05, allocations: 8 kB / 0.5354 GB, free: 1.195 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.7304, allocations: 98.71 MB / 0.6318 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.00454/0.735, allocations: 2.462 MB / 0.6342 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.7374, allocations: 0.8118 MB / 0.635 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.7378, allocations: 23.94 kB / 0.635 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.7379, allocations: 35.64 kB / 0.635 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.7384, allocations: 95.69 kB / 0.6351 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.7391, allocations: 163.6 kB / 0.6353 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000602/0.7397, allocations: 255.8 kB / 0.6355 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.74, allocations: 115.9 kB / 0.6356 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.7403, allocations: 119.5 kB / 0.6358 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.7406, allocations: 115.4 kB / 0.6359 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.743e-05/0.7406, allocations: 12 kB / 0.6359 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.7407, allocations: 8 kB / 0.6359 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.7408, allocations: 43.78 kB / 0.6359 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.7409, allocations: 24 kB / 0.636 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.7414, allocations: 365.4 kB / 0.6363 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7414, allocations: 0 / 0.6363 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7414, allocations: 0 / 0.6363 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.7415, allocations: 0 / 0.6363 GB, free: 12.14 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001359/0.7428, allocations: 0.6004 MB / 0.6369 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.7429, allocations: 11.98 kB / 0.6369 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.743, allocations: 59.31 kB / 0.637 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/0.7439, allocations: 371.4 kB / 0.6373 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.744, allocations: 20.66 kB / 0.6373 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.7441, allocations: 32 kB / 0.6374 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.745, allocations: 341.1 kB / 0.6377 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.745, allocations: 0 / 0.6377 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.7451, allocations: 15.94 kB / 0.6377 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.7451, allocations: 8 kB / 0.6377 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.7459, allocations: 218.1 kB / 0.6379 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.7482, allocations: 1.201 MB / 0.6391 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.7492, allocations: 235.3 kB / 0.6393 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.7493, allocations: 4.188 kB / 0.6393 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.7493, allocations: 30.75 kB / 0.6393 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/0.7493, allocations: 4 kB / 0.6394 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.001094/0.7504, allocations: 297.8 kB / 0.6396 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.7505, allocations: 106.8 kB / 0.6397 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.751, allocations: 304.8 kB / 0.64 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.7511, allocations: 37.69 kB / 0.6401 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.7513, allocations: 224.2 kB / 0.6403 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.7514, allocations: 74.91 kB / 0.6403 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.7515, allocations: 4 kB / 0.6404 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7517, allocations: 350.7 kB / 0.6407 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.752, allocations: 79.95 kB / 0.6408 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.7524, allocations: 143.7 kB / 0.6409 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.7528, allocations: 87.08 kB / 0.641 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7528, allocations: 8 kB / 0.641 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008821/0.7537, allocations: 277 kB / 0.6413 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000289/0.754, allocations: 0.6227 MB / 0.6419 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.754, allocations: 4 kB / 0.6419 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.754, allocations: 4 kB / 0.6419 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.7545, allocations: 55.91 kB / 0.6419 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.7545, allocations: 4 kB / 0.6419 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.7549, allocations: 47.66 kB / 0.642 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.755, allocations: 8 kB / 0.642 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.755, allocations: 4 kB / 0.642 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006293/0.7556, allocations: 218.8 kB / 0.6422 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7556, allocations: 3.938 kB / 0.6422 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.7557, allocations: 4.188 kB / 0.6422 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.756, allocations: 51.92 kB / 0.6423 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7561, allocations: 7.938 kB / 0.6423 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.7564, allocations: 31.83 kB / 0.6423 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.7564, allocations: 12 kB / 0.6423 GB, free: 5.664 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002913/0.7567, allocations: 165.7 kB / 0.6425 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.7568, allocations: 39.53 kB / 0.6425 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.7569, allocations: 35.36 kB / 0.6425 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.757, allocations: 4 kB / 0.6425 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.757, allocations: 4 kB / 0.6425 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.757, allocations: 0 / 0.6425 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/0.7576, allocations: 401.2 kB / 0.6429 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7576, allocations: 0 / 0.6429 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.7581, allocations: 43.91 kB / 0.643 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.7581, allocations: 0 / 0.643 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.7582, allocations: 12 kB / 0.643 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.7582, allocations: 0 / 0.643 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7582, allocations: 0 / 0.643 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.7593, allocations: 420.3 kB / 0.6434 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.7596, allocations: 144.6 kB / 0.6435 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.7596, allocations: 8 kB / 0.6435 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.76, allocations: 15.98 kB / 0.6435 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.7601, allocations: 19.97 kB / 0.6436 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.7601, allocations: 4 kB / 0.6436 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003857/0.7605, allocations: 239.2 kB / 0.6438 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.8e-07/0.7605, allocations: 0 / 0.6438 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006759/0.7612, allocations: 127.5 kB / 0.6439 GB, free: 3.926 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001663/0.7614, allocations: 107.2 kB / 0.644 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.7625, allocations: 339.6 kB / 0.6443 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7625, allocations: 0 / 0.6443 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.7629, allocations: 103.8 kB / 0.6444 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.7636, allocations: 68.16 kB / 0.6445 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.7657, allocations: 0.8474 MB / 0.6453 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.7662, allocations: 0.8115 MB / 0.6461 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004699/0.7667, allocations: 56.23 kB / 0.6462 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.7668, allocations: 23.44 kB / 0.6462 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.7668, allocations: 0 / 0.6462 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of Templates: time 0.01317/0.78, allocations: 3.576 MB / 0.6497 GB, free: 13.97 MB / 0.5261 GB