Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadModel(Buildings): time 4.617/4.617, allocations: 464.6 MB / 476.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.418e-05, allocations: 4 kB / 0.5731 GB, free: 5.699 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1975, allocations: 107.2 MB / 0.6778 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7135/0.9111, allocations: 132.2 MB / 0.8069 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.9113, allocations: 70.38 kB / 0.807 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008434/0.9198, allocations: 2.134 MB / 0.8091 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9198, allocations: 0 / 0.8091 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.209e-06/0.9199, allocations: 3.906 kB / 0.8091 GB, free: 12.2 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.000868/0.9207, allocations: 486.8 kB / 0.8095 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.9208, allocations: 11.28 kB / 0.8095 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.9209, allocations: 15.44 kB / 0.8095 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.921, allocations: 182.7 kB / 0.8097 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.921, allocations: 10.86 kB / 0.8097 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.9211, allocations: 11.06 kB / 0.8097 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.9213, allocations: 125 kB / 0.8099 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9214, allocations: 0 / 0.8099 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.9214, allocations: 11.47 kB / 0.8099 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.934e-06/0.9214, allocations: 0 / 0.8099 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.9216, allocations: 66.7 kB / 0.8099 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.9227, allocations: 0.605 MB / 0.8105 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.923, allocations: 121.3 kB / 0.8106 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.9231, allocations: 52.14 kB / 0.8107 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.9232, allocations: 7.828 kB / 0.8107 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.9235, allocations: 144.4 kB / 0.8108 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.195e-06/0.9235, allocations: 0 / 0.8108 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003656/0.9238, allocations: 126.5 kB / 0.811 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.9239, allocations: 117.2 kB / 0.8111 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.9241, allocations: 150.8 kB / 0.8112 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.9241, allocations: 33.23 kB / 0.8112 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.9242, allocations: 112.9 kB / 0.8114 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.9242, allocations: 40.23 kB / 0.8114 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.9243, allocations: 7.125 kB / 0.8114 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.9243, allocations: 324.4 kB / 0.8117 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.9245, allocations: 54.41 kB / 0.8118 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.9247, allocations: 96.47 kB / 0.8119 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.9248, allocations: 39.53 kB / 0.8119 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-06/0.9248, allocations: 4 kB / 0.8119 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003759/0.9252, allocations: 168.4 kB / 0.8121 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9252, allocations: 11.7 kB / 0.8121 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.831e-06/0.9253, allocations: 0 / 0.8121 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9253, allocations: 0 / 0.8121 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.9256, allocations: 50.28 kB / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.573e-06/0.9256, allocations: 0 / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.926, allocations: 63.92 kB / 0.8122 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.9261, allocations: 3.844 kB / 0.8122 GB, free: 10.05 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.757e-05/0.9262, allocations: 131.1 kB / 0.8123 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.9262, allocations: 15.47 kB / 0.8123 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.9264, allocations: 77.56 kB / 0.8124 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-06/0.9264, allocations: 6.656 kB / 0.8124 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.9265, allocations: 0 / 0.8124 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.404e-06/0.9265, allocations: 0 / 0.8124 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.9267, allocations: 226.6 kB / 0.8126 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-06/0.9267, allocations: 3.844 kB / 0.8126 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.9269, allocations: 41.23 kB / 0.8127 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.839e-06/0.9269, allocations: 3.844 kB / 0.8127 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.927, allocations: 3.812 kB / 0.8127 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.378e-06/0.927, allocations: 7.797 kB / 0.8127 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.927, allocations: 0 / 0.8127 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.9273, allocations: 191.4 kB / 0.8129 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.9274, allocations: 92.97 kB / 0.8129 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.9274, allocations: 13.7 kB / 0.813 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.9277, allocations: 51.25 kB / 0.813 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.9279, allocations: 52.89 kB / 0.8131 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.9279, allocations: 7.266 kB / 0.8131 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.928, allocations: 117.3 kB / 0.8132 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.25e-07/0.928, allocations: 0 / 0.8132 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003841/0.9284, allocations: 37.97 kB / 0.8132 GB, free: 9.355 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.0001589/0.9286, allocations: 121.4 kB / 0.8133 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.9289, allocations: 113.8 kB / 0.8134 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.809e-06/0.929, allocations: 3.844 kB / 0.8134 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.9292, allocations: 69.28 kB / 0.8135 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.9295, allocations: 23.89 kB / 0.8135 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.93, allocations: 190.2 kB / 0.8137 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.9305, allocations: 0.713 MB / 0.8144 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.9307, allocations: 22.88 kB / 0.8144 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.9308, allocations: 17.7 kB / 0.8144 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.566e-06/0.9308, allocations: 3.844 kB / 0.8144 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.006356/0.9371, allocations: 2.123 MB / 0.8165 GB, free: 24.29 MB / 0.6511 GB