Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadModel(Buildings): time 3.656/3.656, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.324e-05, allocations: 4 kB / 0.5004 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 92.69 MB / 0.5909 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6447/0.812, allocations: 121.3 MB / 0.7094 GB, free: 5.113 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.8123, allocations: 91.94 kB / 0.7095 GB, free: 5.023 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.004197/0.8165, allocations: 1.13 MB / 0.7106 GB, free: 3.898 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.626e-06/0.8166, allocations: 0 / 0.7106 GB, free: 3.898 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.067e-06/0.8166, allocations: 0 / 0.7106 GB, free: 3.898 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006162/0.8172, allocations: 387.2 kB / 0.7109 GB, free: 3.473 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.8173, allocations: 8.031 kB / 0.7109 GB, free: 3.465 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.8173, allocations: 11.95 kB / 0.7109 GB, free: 3.453 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.8175, allocations: 170.9 kB / 0.7111 GB, free: 3.246 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.8175, allocations: 0.875 kB / 0.7111 GB, free: 3.246 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.8176, allocations: 11.94 kB / 0.7111 GB, free: 3.234 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.8179, allocations: 89.64 kB / 0.7112 GB, free: 3.141 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.514e-06/0.8179, allocations: 0 / 0.7112 GB, free: 3.141 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.8179, allocations: 0 / 0.7112 GB, free: 3.141 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-06/0.818, allocations: 3.984 kB / 0.7112 GB, free: 3.137 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.8184, allocations: 95.92 kB / 0.7113 GB, free: 3.043 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.8189, allocations: 296.8 kB / 0.7116 GB, free: 2.703 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.8192, allocations: 78.47 kB / 0.7117 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.8192, allocations: 0 / 0.7117 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.8195, allocations: 103.5 kB / 0.7118 GB, free: 2.504 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 3.473e-06/0.8196, allocations: 0 / 0.7118 GB, free: 2.504 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0007291/0.8203, allocations: 194.4 kB / 0.7119 GB, free: 2.309 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.8204, allocations: 51.41 kB / 0.712 GB, free: 2.246 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.8205, allocations: 109 kB / 0.7121 GB, free: 2.133 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.8205, allocations: 33.7 kB / 0.7121 GB, free: 2.094 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.8206, allocations: 96.03 kB / 0.7122 GB, free: 1.996 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.8207, allocations: 11.81 kB / 0.7122 GB, free: 1.984 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.8207, allocations: 6.297 kB / 0.7122 GB, free: 1.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8208, allocations: 314.8 kB / 0.7125 GB, free: 1.664 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.8211, allocations: 51.97 kB / 0.7126 GB, free: 1.613 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.8213, allocations: 61.67 kB / 0.7126 GB, free: 1.547 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.8215, allocations: 55.89 kB / 0.7127 GB, free: 1.492 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8215, allocations: 0 / 0.7127 GB, free: 1.492 MB / 0.573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004771/0.822, allocations: 137.6 kB / 0.7128 GB, free: 1.352 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.822, allocations: 8 kB / 0.7128 GB, free: 1.344 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.8221, allocations: 0 / 0.7128 GB, free: 1.344 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8221, allocations: 0 / 0.7128 GB, free: 1.344 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8223, allocations: 27.97 kB / 0.7129 GB, free: 1.316 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.8223, allocations: 7.984 kB / 0.7129 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.8224, allocations: 27.83 kB / 0.7129 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.8225, allocations: 4 kB / 0.7129 GB, free: 1.277 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001205/0.8226, allocations: 122.7 kB / 0.713 GB, free: 1.148 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.8226, allocations: 7.984 kB / 0.713 GB, free: 1.141 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.8227, allocations: 8.375 kB / 0.713 GB, free: 1.133 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.872e-06/0.8227, allocations: 4 kB / 0.713 GB, free: 1.129 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8227, allocations: 3.953 kB / 0.713 GB, free: 1.125 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-06/0.8227, allocations: 0 / 0.713 GB, free: 1.125 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.8229, allocations: 173.6 kB / 0.7132 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.626e-06/0.8229, allocations: 7.922 kB / 0.7132 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.8231, allocations: 27.98 kB / 0.7132 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.75e-06/0.8231, allocations: 0 / 0.7132 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.8231, allocations: 0 / 0.7132 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8231, allocations: 0 / 0.7132 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.23e-06/0.8232, allocations: 320 / 0.7132 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.8237, allocations: 176.8 kB / 0.7134 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.8237, allocations: 85.02 kB / 0.7135 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.8238, allocations: 0 / 0.7135 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.8239, allocations: 27.97 kB / 0.7135 GB, free: 0.5508 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.824, allocations: 11.98 kB / 0.7135 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.824, allocations: 0 / 0.7135 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.8241, allocations: 95.81 kB / 0.7136 GB, free: 456 kB / 0.573 GB Notification: Performance of sort global known variables: time 6.85e-07/0.8241, allocations: 0 / 0.7136 GB, free: 456 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002649/0.8244, allocations: 19.95 kB / 0.7136 GB, free: 436 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001461/0.8246, allocations: 108.8 kB / 0.7137 GB, free: 316 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.825, allocations: 107.9 kB / 0.7138 GB, free: 208 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.396e-06/0.8251, allocations: 0 / 0.7138 GB, free: 208 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.8253, allocations: 55.95 kB / 0.7139 GB, free: 152 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.8255, allocations: 24.83 kB / 0.7139 GB, free: 128 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.826, allocations: 171.1 kB / 0.7141 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.8264, allocations: 0.6926 MB / 0.7148 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.351e-05/0.8265, allocations: 8.188 kB / 0.7148 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.8265, allocations: 11.38 kB / 0.7148 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of SimCode: time 1.491e-06/0.8265, allocations: 0 / 0.7148 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of Templates: time 0.00377/0.8303, allocations: 0.8259 MB / 0.7156 GB, free: 14.38 MB / 0.5886 GB