Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(BuildingSystems): time 2.92/2.92, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.325e-05, allocations: 4 kB / 436.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1397, allocations: 77.73 MB / 0.5022 GB, free: 4.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.6502, allocations: 112.3 MB / 0.6119 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.6505, allocations: 75.95 kB / 0.612 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02677/0.6773, allocations: 6.875 MB / 0.6187 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.479e-06/0.6773, allocations: 0 / 0.6187 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.537e-05/0.6774, allocations: 12.12 kB / 0.6187 GB, free: 1.812 MB / 0.4948 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.001084/0.6785, allocations: 0.598 MB / 0.6193 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.6785, allocations: 8.031 kB / 0.6193 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.6786, allocations: 51.39 kB / 0.6193 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007253/0.6794, allocations: 380.3 kB / 0.6197 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.6794, allocations: 24.78 kB / 0.6197 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.6795, allocations: 28 kB / 0.6198 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.6803, allocations: 330.1 kB / 0.6201 GB, free: 300 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.6803, allocations: 4 kB / 0.6201 GB, free: 296 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.6804, allocations: 15.98 kB / 0.6201 GB, free: 280 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.6804, allocations: 8 kB / 0.6201 GB, free: 272 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.6809, allocations: 209 kB / 0.6203 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.6833, allocations: 1.237 MB / 0.6215 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.684, allocations: 235.8 kB / 0.6217 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.6842, allocations: 101.2 kB / 0.6218 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.6843, allocations: 8.188 kB / 0.6218 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.6843, allocations: 34.7 kB / 0.6219 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 3.447e-06/0.6843, allocations: 0 / 0.6219 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0005898/0.6849, allocations: 221.8 kB / 0.6221 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6851, allocations: 158.2 kB / 0.6222 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.6856, allocations: 303.9 kB / 0.6225 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.6856, allocations: 29.7 kB / 0.6225 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.6859, allocations: 220 kB / 0.6228 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/0.686, allocations: 82.84 kB / 0.6228 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.686, allocations: 4 kB / 0.6228 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6862, allocations: 342.8 kB / 0.6232 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.6864, allocations: 72 kB / 0.6232 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.6867, allocations: 139.7 kB / 0.6234 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.687, allocations: 86.97 kB / 0.6235 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.269e-06/0.687, allocations: 0 / 0.6235 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006035/0.6876, allocations: 257 kB / 0.6237 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6876, allocations: 4.125 kB / 0.6237 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6876, allocations: 8 kB / 0.6237 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6877, allocations: 3.953 kB / 0.6237 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.688, allocations: 55.97 kB / 0.6238 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6881, allocations: 3.938 kB / 0.6238 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.6884, allocations: 51.75 kB / 0.6238 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.6884, allocations: 8 kB / 0.6238 GB, free: 12.25 MB / 0.5105 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.0001337/0.6886, allocations: 113 kB / 0.6239 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.6887, allocations: 35.62 kB / 0.624 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.6888, allocations: 43.19 kB / 0.624 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.6888, allocations: 7.953 kB / 0.624 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.417e-06/0.6889, allocations: 0 / 0.624 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.526e-06/0.6889, allocations: 3.984 kB / 0.624 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.6896, allocations: 409.3 kB / 0.6244 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-06/0.6896, allocations: 4 kB / 0.6244 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.6899, allocations: 47.97 kB / 0.6245 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.27e-06/0.69, allocations: 4 kB / 0.6245 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.69, allocations: 4 kB / 0.6245 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.435e-06/0.69, allocations: 0 / 0.6245 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.99e-06/0.69, allocations: 3.953 kB / 0.6245 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.6909, allocations: 430.4 kB / 0.6249 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.6911, allocations: 132.7 kB / 0.625 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.6912, allocations: 8 kB / 0.625 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.6915, allocations: 35.88 kB / 0.6251 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.6916, allocations: 15.97 kB / 0.6251 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.6917, allocations: 11.95 kB / 0.6251 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003913/0.6921, allocations: 242.2 kB / 0.6253 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.68e-07/0.6921, allocations: 3.938 kB / 0.6253 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004913/0.6926, allocations: 71.78 kB / 0.6254 GB, free: 10.57 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.000188/0.6928, allocations: 115.2 kB / 0.6255 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.6933, allocations: 179 kB / 0.6257 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.817e-06/0.6933, allocations: 0 / 0.6257 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.6935, allocations: 95.92 kB / 0.6258 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.6941, allocations: 78.39 kB / 0.6258 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6956, allocations: 0.5103 MB / 0.6263 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.6961, allocations: 0.8031 MB / 0.6271 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002248/0.6964, allocations: 38.95 kB / 0.6271 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.6965, allocations: 23.44 kB / 0.6272 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of SimCode: time 2.335e-06/0.6965, allocations: 0 / 0.6272 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of Templates: time 0.01077/0.7073, allocations: 3.315 MB / 0.6304 GB, free: 5.398 MB / 0.5105 GB