Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadModel(Buildings): time 3.747/3.747, allocations: 403.9 MB / 411 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.125e-05, allocations: 4 kB / 0.4942 GB, free: 1.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5391, allocations: 92.69 MB / 0.5847 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.7389, allocations: 120.1 MB / 0.702 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000446/0.7394, allocations: 91.92 kB / 0.702 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.006795/0.7463, allocations: 1.167 MB / 0.7032 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.48e-06/0.7463, allocations: 4 kB / 0.7032 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.851e-06/0.7464, allocations: 0 / 0.7032 GB, free: 8.891 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008682/0.7473, allocations: 382.3 kB / 0.7035 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.7473, allocations: 12.02 kB / 0.7036 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.7474, allocations: 11.86 kB / 0.7036 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.7477, allocations: 182.9 kB / 0.7037 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.7477, allocations: 4 kB / 0.7037 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.7478, allocations: 4 kB / 0.7038 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001827/0.748, allocations: 24 kB / 0.7038 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.7482, allocations: 61.61 kB / 0.7038 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7482, allocations: 0 / 0.7038 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.7483, allocations: 0 / 0.7038 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.7483, allocations: 7.953 kB / 0.7038 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.7491, allocations: 277.4 kB / 0.7041 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.7493, allocations: 46.58 kB / 0.7042 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.7494, allocations: 16.86 kB / 0.7042 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.7494, allocations: 96 / 0.7042 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.7497, allocations: 87.22 kB / 0.7043 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 4.057e-06/0.7497, allocations: 3.938 kB / 0.7043 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.000392/0.7501, allocations: 93.48 kB / 0.7043 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.7502, allocations: 51.41 kB / 0.7044 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.7504, allocations: 120.9 kB / 0.7045 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.7505, allocations: 25.7 kB / 0.7045 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.7506, allocations: 92.12 kB / 0.7046 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.7507, allocations: 19.72 kB / 0.7046 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.7507, allocations: 0 / 0.7046 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.7509, allocations: 318.8 kB / 0.7049 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.751, allocations: 24 kB / 0.705 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.7511, allocations: 39.44 kB / 0.705 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.7513, allocations: 23.92 kB / 0.705 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.171e-06/0.7513, allocations: 0 / 0.705 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003707/0.7517, allocations: 89.58 kB / 0.7051 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.7517, allocations: 14.38 kB / 0.7051 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.903e-06/0.7518, allocations: 0 / 0.7051 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7518, allocations: 0 / 0.7051 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.7519, allocations: 15.89 kB / 0.7051 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.427e-06/0.7519, allocations: 0 / 0.7051 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.7522, allocations: 23.97 kB / 0.7052 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.7523, allocations: 11.94 kB / 0.7052 GB, free: 6.637 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001275/0.7524, allocations: 116.9 kB / 0.7053 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.7525, allocations: 7.906 kB / 0.7053 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.7526, allocations: 12.61 kB / 0.7053 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.704e-06/0.7526, allocations: 192 / 0.7053 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7526, allocations: 7.953 kB / 0.7053 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.115e-06/0.7527, allocations: 3.938 kB / 0.7053 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.753, allocations: 162.3 kB / 0.7055 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-06/0.753, allocations: 0 / 0.7055 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.753, allocations: 3.938 kB / 0.7055 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.716e-06/0.7531, allocations: 8 kB / 0.7055 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.7531, allocations: 3.984 kB / 0.7055 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.512e-06/0.7531, allocations: 0 / 0.7055 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.472e-06/0.7531, allocations: 4 kB / 0.7055 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.7535, allocations: 112.9 kB / 0.7056 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.7536, allocations: 89 kB / 0.7057 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.7536, allocations: 4 kB / 0.7057 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.7539, allocations: 19.98 kB / 0.7057 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.754, allocations: 15.97 kB / 0.7057 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.754, allocations: 0 / 0.7057 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000123/0.7542, allocations: 99.27 kB / 0.7058 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.23e-07/0.7542, allocations: 0 / 0.7058 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005327/0.7547, allocations: 12 kB / 0.7058 GB, free: 5.887 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000195/0.755, allocations: 111 kB / 0.7059 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.7553, allocations: 55.94 kB / 0.706 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.083e-06/0.7553, allocations: 0 / 0.706 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.7554, allocations: 31.94 kB / 0.706 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.7559, allocations: 28.44 kB / 0.706 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.7564, allocations: 112.8 kB / 0.7062 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.7568, allocations: 0.6924 MB / 0.7068 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.346e-05/0.7569, allocations: 8.547 kB / 0.7068 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.757, allocations: 15.44 kB / 0.7069 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of SimCode: time 1.397e-06/0.757, allocations: 0 / 0.7069 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of Templates: time 0.005054/0.7621, allocations: 0.9904 MB / 0.7078 GB, free: 3.805 MB / 0.5886 GB