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.653/3.653, allocations: 403.9 MB / 411 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.977e-05, allocations: 8 kB / 0.4942 GB, free: 1.383 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4922, allocations: 92.7 MB / 0.5847 GB, free: 2.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.7008, allocations: 120.3 MB / 0.7022 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004086/0.7013, allocations: 87.92 kB / 0.7023 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003392/0.7047, allocations: 0.9602 MB / 0.7032 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.258e-06/0.7047, allocations: 0 / 0.7032 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.7048, allocations: 0 / 0.7032 GB, free: 8.863 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.0004486/0.7052, allocations: 358.5 kB / 0.7036 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7053, allocations: 12.02 kB / 0.7036 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.7053, allocations: 11.86 kB / 0.7036 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.7055, allocations: 174.9 kB / 0.7038 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.7055, allocations: 0 / 0.7038 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.7056, allocations: 4 kB / 0.7038 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.669e-05/0.7057, allocations: 12 kB / 0.7038 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.7058, allocations: 57.67 kB / 0.7038 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.921e-06/0.7058, allocations: 0 / 0.7038 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.7058, allocations: 0 / 0.7038 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.7058, allocations: 3.953 kB / 0.7038 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.7063, allocations: 265.3 kB / 0.7041 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.7065, allocations: 46.56 kB / 0.7041 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.7065, allocations: 12.89 kB / 0.7041 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.7065, allocations: 4 kB / 0.7041 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.7066, allocations: 30.56 kB / 0.7042 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.885e-06/0.7066, allocations: 0 / 0.7042 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.7068, allocations: 53.72 kB / 0.7042 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.7068, allocations: 55.41 kB / 0.7043 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.7069, allocations: 105 kB / 0.7044 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.707, allocations: 25.7 kB / 0.7044 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.707, allocations: 92.03 kB / 0.7045 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.7071, allocations: 15.84 kB / 0.7045 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-06/0.7071, allocations: 3.938 kB / 0.7045 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7072, allocations: 314.8 kB / 0.7048 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/0.7073, allocations: 12 kB / 0.7048 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.7074, allocations: 29.72 kB / 0.7048 GB, free: 7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.7074, allocations: 4 kB / 0.7049 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-06/0.7074, allocations: 0 / 0.7049 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.7076, allocations: 57.59 kB / 0.7049 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7076, allocations: 8 kB / 0.7049 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.891e-06/0.7076, allocations: 0 / 0.7049 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7076, allocations: 7.875 kB / 0.7049 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.7078, allocations: 16.17 kB / 0.7049 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.23e-06/0.7078, allocations: 7.953 kB / 0.7049 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.7079, allocations: 24.02 kB / 0.705 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-06/0.708, allocations: 0 / 0.705 GB, free: 6.871 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.344e-05/0.7081, allocations: 101.5 kB / 0.7051 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.7081, allocations: 4 kB / 0.7051 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.7083, allocations: 58.02 kB / 0.7051 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-06/0.7083, allocations: 0 / 0.7051 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.673e-06/0.7083, allocations: 0 / 0.7051 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.611e-06/0.7083, allocations: 11.95 kB / 0.7051 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.7085, allocations: 142.2 kB / 0.7053 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-06/0.7085, allocations: 4 kB / 0.7053 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.7086, allocations: 15.92 kB / 0.7053 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.092e-06/0.7087, allocations: 96 / 0.7053 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.7087, allocations: 3.984 kB / 0.7053 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-06/0.7087, allocations: 0 / 0.7053 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.402e-06/0.7087, allocations: 4 kB / 0.7053 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.7089, allocations: 155.4 kB / 0.7054 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.7089, allocations: 81.09 kB / 0.7055 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.709, allocations: 0 / 0.7055 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.7091, allocations: 11.98 kB / 0.7055 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.7092, allocations: 7.984 kB / 0.7055 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.7092, allocations: 4 kB / 0.7055 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.7093, allocations: 87.28 kB / 0.7056 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.7e-07/0.7093, allocations: 0 / 0.7056 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000314/0.7096, allocations: 8 kB / 0.7056 GB, free: 6.094 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.0001555/0.7098, allocations: 107 kB / 0.7057 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.7099, allocations: 31.98 kB / 0.7058 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.36e-06/0.7099, allocations: 0 / 0.7058 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.71, allocations: 12 kB / 0.7058 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.7102, allocations: 12.75 kB / 0.7058 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.7105, allocations: 79.78 kB / 0.7059 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.7108, allocations: 0.6885 MB / 0.7065 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.002e-05/0.7109, allocations: 0 / 0.7065 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.7109, allocations: 11.44 kB / 0.7066 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of SimCode: time 3.101e-06/0.711, allocations: 0 / 0.7066 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of Templates: time 0.003338/0.7143, allocations: 0.5503 MB / 0.7071 GB, free: 4.555 MB / 0.5886 GB