Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadModel(Buildings): time 4.671/4.671, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.191e-05, allocations: 9.25 kB / 0.5731 GB, free: 5.711 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.196, allocations: 107.2 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7248/0.9209, allocations: 132.2 MB / 0.8069 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.9211, allocations: 75.05 kB / 0.8069 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007728/0.9289, allocations: 2.092 MB / 0.809 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9289, allocations: 0 / 0.809 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.9289, allocations: 3.969 kB / 0.809 GB, free: 12.02 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006828/0.9296, allocations: 456.5 kB / 0.8094 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.9297, allocations: 7.719 kB / 0.8094 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.9298, allocations: 22.78 kB / 0.8094 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.9299, allocations: 189.6 kB / 0.8096 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.93, allocations: 82.53 kB / 0.8097 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.9301, allocations: 28.42 kB / 0.8097 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.9306, allocations: 208.3 kB / 0.8099 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.9306, allocations: 0 / 0.8099 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.9307, allocations: 18.98 kB / 0.8099 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-06/0.9307, allocations: 0 / 0.8099 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.9309, allocations: 84.66 kB / 0.81 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.9319, allocations: 0.5453 MB / 0.8106 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.9326, allocations: 321.9 kB / 0.8109 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.9329, allocations: 134.2 kB / 0.811 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.9329, allocations: 4.188 kB / 0.811 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009237/0.9339, allocations: 0.5564 MB / 0.8115 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 3.934e-06/0.9339, allocations: 0 / 0.8115 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.000948/0.9348, allocations: 427.8 kB / 0.8119 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.9349, allocations: 62.06 kB / 0.812 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.935, allocations: 138.8 kB / 0.8121 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/0.9351, allocations: 57.52 kB / 0.8122 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.9352, allocations: 102.3 kB / 0.8123 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.9353, allocations: 102.6 kB / 0.8124 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.9354, allocations: 13.38 kB / 0.8124 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.9354, allocations: 335.5 kB / 0.8127 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.9357, allocations: 141.9 kB / 0.8129 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.9361, allocations: 222.4 kB / 0.8131 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.9363, allocations: 100.8 kB / 0.8132 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9364, allocations: 0 / 0.8132 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007673/0.9371, allocations: 381.1 kB / 0.8135 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.9372, allocations: 11.83 kB / 0.8135 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.224e-06/0.9372, allocations: 224 / 0.8135 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.9372, allocations: 10.66 kB / 0.8135 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.9374, allocations: 39.11 kB / 0.8136 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.9375, allocations: 3.844 kB / 0.8136 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.9377, allocations: 36.25 kB / 0.8136 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.9377, allocations: 15.34 kB / 0.8136 GB, free: 10.05 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,falCle.clr,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,truCle.clr,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.clr,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.clr,$PRE.iniTruOut.y,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001573/0.9379, allocations: 158.7 kB / 0.8138 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.938, allocations: 25.34 kB / 0.8138 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.9381, allocations: 43.39 kB / 0.8139 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.284e-06/0.9381, allocations: 3.875 kB / 0.8139 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.136e-06/0.9381, allocations: 0 / 0.8139 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-06/0.9381, allocations: 5.203 kB / 0.8139 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.9399, allocations: 0.9662 MB / 0.8148 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.9399, allocations: 3.266 kB / 0.8148 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.94, allocations: 15.69 kB / 0.8148 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.94, allocations: 0 / 0.8148 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.94, allocations: 27.22 kB / 0.8149 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.381e-06/0.9401, allocations: 3.844 kB / 0.8149 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.782e-06/0.9401, allocations: 3.938 kB / 0.8149 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.9409, allocations: 0.5795 MB / 0.8154 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.941, allocations: 95.98 kB / 0.8155 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.9411, allocations: 33.98 kB / 0.8155 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.9414, allocations: 28.73 kB / 0.8156 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.9417, allocations: 101.4 kB / 0.8157 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.9418, allocations: 35.17 kB / 0.8157 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.9418, allocations: 107.1 kB / 0.8158 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.94e-07/0.9419, allocations: 3.938 kB / 0.8158 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005269/0.9424, allocations: 75.5 kB / 0.8159 GB, free: 9.035 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 46 (swiCleInp.clr,swiCleInp1.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.pulseStart,togInp.pulseStart,falCle.clr,iniFalOut.clr,iniTruOut.clr,truCle.clr) * Number of discrete states: 12 (iniTruOut.u,iniTruOut.y,iniFalOut.u,iniFalOut.y,truCle.u,truCle.y,falCle.u,falCle.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002019/0.9426, allocations: 155 kB / 0.816 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007205/0.9433, allocations: 363.9 kB / 0.8164 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.094e-06/0.9434, allocations: 3.812 kB / 0.8164 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.9438, allocations: 212.4 kB / 0.8166 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.9442, allocations: 33.69 kB / 0.8166 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.9453, allocations: 404.8 kB / 0.817 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.9458, allocations: 0.7473 MB / 0.8177 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.946, allocations: 39.08 kB / 0.8178 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.9462, allocations: 42.25 kB / 0.8178 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.894e-06/0.9462, allocations: 3.906 kB / 0.8178 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.009653/0.9559, allocations: 3.74 MB / 0.8215 GB, free: 23.79 MB / 0.6511 GB