Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadModel(Buildings): time 3.534/3.534, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.81e-05, allocations: 8 kB / 0.499 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4821, allocations: 92.68 MB / 0.5896 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.6629, allocations: 121 MB / 0.7077 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.6633, allocations: 83.94 kB / 0.7078 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003488/0.6668, allocations: 0.9603 MB / 0.7087 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.502e-06/0.6668, allocations: 0 / 0.7087 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.832e-06/0.6668, allocations: 0 / 0.7087 GB, free: 4.148 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000468/0.6673, allocations: 358.5 kB / 0.7091 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6674, allocations: 12.02 kB / 0.7091 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.6674, allocations: 11.86 kB / 0.7091 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.6676, allocations: 171 kB / 0.7093 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.6676, allocations: 4 kB / 0.7093 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.6676, allocations: 4 kB / 0.7093 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.6678, allocations: 53.69 kB / 0.7093 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.412e-06/0.6678, allocations: 0 / 0.7093 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6678, allocations: 0 / 0.7093 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.067e-06/0.6678, allocations: 3.938 kB / 0.7093 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.389e-05/0.6679, allocations: 27.94 kB / 0.7093 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.6684, allocations: 292.7 kB / 0.7096 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.6686, allocations: 42.52 kB / 0.7097 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.6686, allocations: 20.88 kB / 0.7097 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.6687, allocations: 0 / 0.7097 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.6687, allocations: 30.56 kB / 0.7097 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.839e-06/0.6687, allocations: 0 / 0.7097 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.6689, allocations: 57.78 kB / 0.7098 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.669, allocations: 55.41 kB / 0.7098 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.6691, allocations: 105 kB / 0.7099 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.6691, allocations: 25.7 kB / 0.7099 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.6692, allocations: 92.06 kB / 0.71 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.6693, allocations: 23.81 kB / 0.7101 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-06/0.6693, allocations: 0 / 0.7101 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6694, allocations: 314.8 kB / 0.7104 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.6695, allocations: 15.94 kB / 0.7104 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.6696, allocations: 25.72 kB / 0.7104 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.6696, allocations: 15.98 kB / 0.7104 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6696, allocations: 0 / 0.7104 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001548/0.6698, allocations: 57.61 kB / 0.7105 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6698, allocations: 4 kB / 0.7105 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.544e-06/0.6698, allocations: 0 / 0.7105 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6699, allocations: 0 / 0.7105 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.67, allocations: 19.94 kB / 0.7105 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.138e-06/0.67, allocations: 4.031 kB / 0.7105 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.6701, allocations: 19.98 kB / 0.7105 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6702, allocations: 0 / 0.7105 GB, free: 2.102 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.hysteresis1.y,hysteresis1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.516e-05/0.6703, allocations: 108.9 kB / 0.7106 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.6703, allocations: 192 / 0.7106 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.6705, allocations: 65.7 kB / 0.7107 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-06/0.6705, allocations: 4 kB / 0.7107 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.229e-06/0.6705, allocations: 7.953 kB / 0.7107 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-06/0.6705, allocations: 0 / 0.7107 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.6708, allocations: 173.6 kB / 0.7109 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6708, allocations: 0 / 0.7109 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.6709, allocations: 15.92 kB / 0.7109 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.322e-06/0.6709, allocations: 0 / 0.7109 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-06/0.6709, allocations: 0 / 0.7109 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.284e-06/0.671, allocations: 7.938 kB / 0.7109 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.671, allocations: 0 / 0.7109 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.6712, allocations: 155.4 kB / 0.711 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.6712, allocations: 77.11 kB / 0.7111 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.6713, allocations: 4 kB / 0.7111 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.6714, allocations: 15.98 kB / 0.7111 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.6715, allocations: 11.97 kB / 0.7111 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-06/0.6715, allocations: 0 / 0.7111 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.6716, allocations: 91.28 kB / 0.7112 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.74e-07/0.6716, allocations: 0 / 0.7112 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003018/0.6719, allocations: 11.95 kB / 0.7112 GB, free: 1.266 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hysteresis1.y) * Number of discrete states: 1 (hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001551/0.6721, allocations: 103 kB / 0.7113 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.6722, allocations: 35.92 kB / 0.7114 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.612e-06/0.6722, allocations: 0 / 0.7114 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.6723, allocations: 12 kB / 0.7114 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.6725, allocations: 15.94 kB / 0.7114 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.6728, allocations: 72.83 kB / 0.7115 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.6731, allocations: 0.6887 MB / 0.7121 GB, free: 288 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.6732, allocations: 240 / 0.7121 GB, free: 288 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.6732, allocations: 15.44 kB / 0.7121 GB, free: 272 kB / 0.5886 GB Notification: Performance of SimCode: time 1.53e-06/0.6733, allocations: 0 / 0.7121 GB, free: 272 kB / 0.5886 GB Notification: Performance of Templates: time 0.003149/0.6764, allocations: 0.5965 MB / 0.7127 GB, free: 15.68 MB / 0.6042 GB