Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(Buildings): time 4.211/4.211, allocations: 464.7 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.287e-05/5.328e-05, allocations: 9.969 kB / 0.5731 GB, free: 5.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 107.1 MB / 0.6777 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8216/1.044, allocations: 138.5 MB / 0.813 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/1.044, allocations: 83.36 kB / 0.8131 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0332/1.078, allocations: 6.859 MB / 0.8198 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.763e-06/1.078, allocations: 0 / 0.8198 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.644e-05/1.078, allocations: 7.812 kB / 0.8198 GB, free: 11.72 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008105/1.079, allocations: 0.5899 MB / 0.8204 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.079, allocations: 11.25 kB / 0.8204 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/1.079, allocations: 54.59 kB / 0.8204 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/1.079, allocations: 383.6 kB / 0.8208 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/1.079, allocations: 23 kB / 0.8208 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/1.079, allocations: 30.12 kB / 0.8209 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.081, allocations: 341.4 kB / 0.8212 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/1.081, allocations: 0 / 0.8212 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/1.081, allocations: 10.34 kB / 0.8212 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/1.081, allocations: 7.719 kB / 0.8212 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009228/1.082, allocations: 198.7 kB / 0.8214 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/1.085, allocations: 1.254 MB / 0.8226 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/1.086, allocations: 236.5 kB / 0.8228 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/1.086, allocations: 94.17 kB / 0.8229 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/1.086, allocations: 4.281 kB / 0.8229 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/1.086, allocations: 40.16 kB / 0.823 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 4.741e-06/1.086, allocations: 3.938 kB / 0.823 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.000834/1.087, allocations: 215.2 kB / 0.8232 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/1.087, allocations: 165.8 kB / 0.8233 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/1.088, allocations: 303.7 kB / 0.8236 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/1.088, allocations: 33.52 kB / 0.8237 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/1.088, allocations: 221 kB / 0.8239 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.088, allocations: 71.7 kB / 0.8239 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/1.088, allocations: 3.438 kB / 0.824 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.088, allocations: 345.5 kB / 0.8243 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/1.089, allocations: 74.59 kB / 0.8244 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/1.089, allocations: 146.5 kB / 0.8245 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/1.089, allocations: 82.88 kB / 0.8246 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.077e-06/1.089, allocations: 0 / 0.8246 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009558/1.09, allocations: 253.7 kB / 0.8248 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.091, allocations: 3.844 kB / 0.8248 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.9e-06/1.091, allocations: 0 / 0.8248 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.091, allocations: 3.969 kB / 0.8248 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/1.091, allocations: 57.38 kB / 0.8249 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.091, allocations: 3.844 kB / 0.8249 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/1.092, allocations: 53.56 kB / 0.8249 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/1.092, allocations: 10.95 kB / 0.8249 GB, free: 9.027 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 29 * 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 9.654e-05/1.092, allocations: 119.4 kB / 0.8251 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/1.092, allocations: 31.06 kB / 0.8251 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.092, allocations: 41.72 kB / 0.8251 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.943e-06/1.092, allocations: 0 / 0.8251 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-06/1.092, allocations: 4 kB / 0.8251 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/1.092, allocations: 4 kB / 0.8251 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/1.093, allocations: 423 kB / 0.8255 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-06/1.093, allocations: 0 / 0.8255 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/1.093, allocations: 49.56 kB / 0.8256 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.802e-06/1.093, allocations: 7.812 kB / 0.8256 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/1.093, allocations: 3.188 kB / 0.8256 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.171e-06/1.093, allocations: 0 / 0.8256 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.84e-06/1.093, allocations: 0 / 0.8256 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/1.094, allocations: 428 kB / 0.826 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/1.094, allocations: 139.4 kB / 0.8261 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/1.094, allocations: 10.97 kB / 0.8261 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/1.094, allocations: 27.11 kB / 0.8262 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/1.094, allocations: 19.69 kB / 0.8262 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/1.094, allocations: 11.05 kB / 0.8262 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003284/1.095, allocations: 238.5 kB / 0.8264 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.52e-07/1.095, allocations: 0 / 0.8264 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004395/1.095, allocations: 72.97 kB / 0.8265 GB, free: 8.168 MB / 0.6355 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.000133/1.095, allocations: 110 kB / 0.8266 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004633/1.096, allocations: 184.6 kB / 0.8268 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.096, allocations: 8.031 kB / 0.8268 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/1.096, allocations: 96.2 kB / 0.8269 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/1.097, allocations: 73.42 kB / 0.8269 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/1.098, allocations: 0.5071 MB / 0.8274 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/1.099, allocations: 0.8005 MB / 0.8282 GB, free: 23.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002366/1.099, allocations: 42.2 kB / 0.8283 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/1.099, allocations: 22.97 kB / 0.8283 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.099, allocations: 0 / 0.8283 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.009221/1.108, allocations: 3.306 MB / 0.8315 GB, free: 21.39 MB / 0.6511 GB