Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(Buildings): time 3.799/3.799, allocations: 403.9 MB / 411 MB, free: 348 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.712e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.478, allocations: 92.69 MB / 0.5847 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.6674, allocations: 126.2 MB / 0.7079 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.6677, allocations: 79.94 kB / 0.708 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02538/0.6931, allocations: 6.832 MB / 0.7146 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.945e-06/0.6931, allocations: 0 / 0.7146 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.543e-05/0.6932, allocations: 8 kB / 0.7146 GB, free: 13.05 MB / 0.6042 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.001034/0.6942, allocations: 0.5918 MB / 0.7152 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6943, allocations: 16.03 kB / 0.7152 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.6945, allocations: 47.44 kB / 0.7153 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007185/0.6952, allocations: 380.3 kB / 0.7156 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.6952, allocations: 8 kB / 0.7157 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.6953, allocations: 16 kB / 0.7157 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005106/0.6958, allocations: 189.5 kB / 0.7158 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.6965, allocations: 302.1 kB / 0.7161 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6965, allocations: 3.953 kB / 0.7161 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.6966, allocations: 7.938 kB / 0.7161 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.6966, allocations: 4 kB / 0.7162 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.6987, allocations: 1.178 MB / 0.7173 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.6994, allocations: 235.1 kB / 0.7175 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.6996, allocations: 93.23 kB / 0.7176 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.6996, allocations: 8.125 kB / 0.7176 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.6997, allocations: 34.75 kB / 0.7177 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.035e-06/0.6997, allocations: 0 / 0.7177 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0005549/0.7003, allocations: 209.7 kB / 0.7179 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.7004, allocations: 158.2 kB / 0.718 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.7008, allocations: 270.6 kB / 0.7183 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.7009, allocations: 25.7 kB / 0.7183 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.7011, allocations: 223.9 kB / 0.7185 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.7012, allocations: 70.91 kB / 0.7186 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.7012, allocations: 0 / 0.7186 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.7014, allocations: 342.8 kB / 0.7189 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.7016, allocations: 64 kB / 0.719 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.7018, allocations: 147.7 kB / 0.7191 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.702, allocations: 79.84 kB / 0.7192 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.811e-06/0.7021, allocations: 4 kB / 0.7192 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005724/0.7026, allocations: 234.2 kB / 0.7194 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000234/0.7029, allocations: 451.1 kB / 0.7198 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.316e-06/0.7029, allocations: 0 / 0.7198 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.7029, allocations: 7.953 kB / 0.7198 GB, free: 7.391 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.7033, allocations: 55.91 kB / 0.7199 GB, free: 7.336 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.214e-06/0.7033, allocations: 4 kB / 0.7199 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.7036, allocations: 39.81 kB / 0.7199 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.7037, allocations: 8 kB / 0.7199 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.902e-06/0.7037, allocations: 4 kB / 0.7199 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004083/0.7041, allocations: 175.8 kB / 0.7201 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-06/0.7041, allocations: 0 / 0.7201 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.073e-06/0.7042, allocations: 4 kB / 0.7201 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.7044, allocations: 48.05 kB / 0.7202 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.506e-06/0.7044, allocations: 4 kB / 0.7202 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.7047, allocations: 27.83 kB / 0.7202 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.7047, allocations: 11.98 kB / 0.7202 GB, free: 7.016 MB / 0.6042 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 0.0001301/0.7049, allocations: 116.8 kB / 0.7203 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/0.705, allocations: 31.62 kB / 0.7203 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.7051, allocations: 39.06 kB / 0.7204 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.868e-06/0.7052, allocations: 4 kB / 0.7204 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.822e-06/0.7052, allocations: 0 / 0.7204 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-06/0.7052, allocations: 0 / 0.7204 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.7058, allocations: 365.8 kB / 0.7207 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.188e-06/0.7058, allocations: 3.953 kB / 0.7207 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.7061, allocations: 47.92 kB / 0.7208 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.952e-06/0.7061, allocations: 0 / 0.7208 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.7062, allocations: 3.984 kB / 0.7208 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.7062, allocations: 8 kB / 0.7208 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.589e-06/0.7062, allocations: 3.938 kB / 0.7208 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.707, allocations: 400.1 kB / 0.7212 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.7072, allocations: 128.7 kB / 0.7213 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.7072, allocations: 4.047 kB / 0.7213 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.7075, allocations: 32.02 kB / 0.7213 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.7076, allocations: 23.97 kB / 0.7214 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.7077, allocations: 4 kB / 0.7214 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002942/0.708, allocations: 208.6 kB / 0.7216 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.46e-07/0.708, allocations: 0 / 0.7216 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006558/0.7086, allocations: 115.5 kB / 0.7217 GB, free: 5.426 MB / 0.6042 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.0001738/0.7088, allocations: 122.1 kB / 0.7218 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006644/0.7095, allocations: 283.4 kB / 0.7221 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.827e-06/0.7095, allocations: 0 / 0.7221 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.7097, allocations: 95.86 kB / 0.7222 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.7103, allocations: 66.98 kB / 0.7222 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.7117, allocations: 0.4976 MB / 0.7227 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.7122, allocations: 0.8074 MB / 0.7235 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003818/0.7126, allocations: 60.53 kB / 0.7235 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.7127, allocations: 23.44 kB / 0.7236 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.313e-06/0.7127, allocations: 0 / 0.7236 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.01094/0.7236, allocations: 3.634 MB / 0.7271 GB, free: 15.83 MB / 0.6198 GB