Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadModel(Buildings): time 4.254/4.254, allocations: 460.5 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.663e-05, allocations: 8 kB / 0.5681 GB, free: 10.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1973, allocations: 106.2 MB / 0.6719 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8071/1.004, allocations: 131.8 MB / 0.8006 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/1.005, allocations: 74.19 kB / 0.8007 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008637/1.013, allocations: 2.128 MB / 0.8027 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.108e-06/1.013, allocations: 0 / 0.8027 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.478e-06/1.013, allocations: 4 kB / 0.8028 GB, free: 12.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008348/1.014, allocations: 483.6 kB / 0.8032 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.014, allocations: 11.66 kB / 0.8032 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/1.014, allocations: 19.48 kB / 0.8032 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/1.015, allocations: 180.2 kB / 0.8034 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.015, allocations: 7.438 kB / 0.8034 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/1.015, allocations: 13.06 kB / 0.8034 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/1.015, allocations: 136.9 kB / 0.8036 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.015, allocations: 3.938 kB / 0.8036 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/1.015, allocations: 15.52 kB / 0.8036 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-06/1.015, allocations: 1.641 kB / 0.8036 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/1.015, allocations: 65.77 kB / 0.8036 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/1.016, allocations: 0.5996 MB / 0.8042 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/1.017, allocations: 124.2 kB / 0.8044 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/1.017, allocations: 50.12 kB / 0.8044 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/1.017, allocations: 3.875 kB / 0.8044 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/1.017, allocations: 149.4 kB / 0.8045 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 5.202e-06/1.017, allocations: 0 / 0.8045 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.000366/1.017, allocations: 125.3 kB / 0.8047 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.017, allocations: 108.2 kB / 0.8048 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/1.018, allocations: 156 kB / 0.8049 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/1.018, allocations: 33.3 kB / 0.8049 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/1.018, allocations: 113.5 kB / 0.8051 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/1.018, allocations: 35.19 kB / 0.8051 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/1.018, allocations: 3.25 kB / 0.8051 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/1.018, allocations: 327.8 kB / 0.8054 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/1.018, allocations: 48.72 kB / 0.8055 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/1.018, allocations: 100.7 kB / 0.8055 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/1.018, allocations: 45.14 kB / 0.8056 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-06/1.018, allocations: 0 / 0.8056 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003731/1.019, allocations: 171.8 kB / 0.8058 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.019, allocations: 3.906 kB / 0.8058 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.397e-06/1.019, allocations: 0 / 0.8058 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.019, allocations: 5.297 kB / 0.8058 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/1.019, allocations: 53.09 kB / 0.8058 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.91e-06/1.019, allocations: 0 / 0.8058 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/1.02, allocations: 75.31 kB / 0.8059 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/1.02, allocations: 7.219 kB / 0.8059 GB, free: 10.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.569e-05/1.02, allocations: 120.4 kB / 0.806 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.02, allocations: 11.69 kB / 0.806 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/1.02, allocations: 82.12 kB / 0.8061 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.752e-06/1.02, allocations: 3.844 kB / 0.8061 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.57e-06/1.02, allocations: 7.328 kB / 0.8061 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-06/1.02, allocations: 0 / 0.8061 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/1.02, allocations: 221.1 kB / 0.8063 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.482e-06/1.02, allocations: 4.141 kB / 0.8063 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/1.02, allocations: 45.77 kB / 0.8064 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.587e-06/1.02, allocations: 0 / 0.8064 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/1.02, allocations: 3.844 kB / 0.8064 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.182e-06/1.02, allocations: 4 kB / 0.8064 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.818e-06/1.02, allocations: 3.938 kB / 0.8064 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/1.021, allocations: 189.5 kB / 0.8066 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/1.021, allocations: 92.73 kB / 0.8066 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/1.021, allocations: 11.09 kB / 0.8067 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/1.021, allocations: 46.19 kB / 0.8067 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.021, allocations: 43.88 kB / 0.8067 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/1.021, allocations: 7.156 kB / 0.8068 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.055e-05/1.022, allocations: 128.6 kB / 0.8069 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.09e-07/1.022, allocations: 0 / 0.8069 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003628/1.022, allocations: 30.12 kB / 0.8069 GB, free: 9.895 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001537/1.022, allocations: 120.4 kB / 0.807 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000353/1.022, allocations: 117 kB / 0.8071 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.931e-06/1.022, allocations: 192 / 0.8071 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/1.023, allocations: 68.91 kB / 0.8072 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/1.023, allocations: 33.41 kB / 0.8072 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/1.023, allocations: 188.9 kB / 0.8074 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/1.024, allocations: 0.7163 MB / 0.8081 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001347/1.024, allocations: 15.05 kB / 0.8081 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/1.024, allocations: 22.47 kB / 0.8081 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.635e-06/1.024, allocations: 4 kB / 0.8081 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.006298/1.031, allocations: 2.131 MB / 0.8102 GB, free: 24.8 MB / 0.6511 GB