Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadModel(Buildings): time 3.982/3.982, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.296e-05, allocations: 6.141 kB / 0.5337 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 98.72 MB / 0.6301 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/0.4439, allocations: 124.5 MB / 0.7517 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4442, allocations: 71.95 kB / 0.7518 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004154/0.4484, allocations: 1.103 MB / 0.7529 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.917e-06/0.4484, allocations: 0 / 0.7529 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.4484, allocations: 3.938 kB / 0.7529 GB, free: 8.344 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005853/0.449, allocations: 394.3 kB / 0.7533 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4491, allocations: 12.03 kB / 0.7533 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.4491, allocations: 7.906 kB / 0.7533 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.4493, allocations: 182.9 kB / 0.7535 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4494, allocations: 3.984 kB / 0.7535 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4494, allocations: 4 kB / 0.7535 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4495, allocations: 49.69 kB / 0.7535 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.4496, allocations: 0 / 0.7535 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4496, allocations: 4 kB / 0.7535 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4496, allocations: 4 kB / 0.7535 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.4497, allocations: 28 kB / 0.7536 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.4502, allocations: 288.8 kB / 0.7538 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.4503, allocations: 34.58 kB / 0.7539 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.4504, allocations: 24.98 kB / 0.7539 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.4504, allocations: 4 kB / 0.7539 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.4506, allocations: 63.39 kB / 0.7539 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.583e-06/0.4506, allocations: 11.88 kB / 0.754 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002212/0.4509, allocations: 73.55 kB / 0.754 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.4509, allocations: 51.41 kB / 0.7541 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.451, allocations: 113 kB / 0.7542 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.4511, allocations: 25.7 kB / 0.7542 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.4512, allocations: 100.1 kB / 0.7543 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4512, allocations: 11.81 kB / 0.7543 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-06/0.4512, allocations: 0 / 0.7543 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4514, allocations: 322.8 kB / 0.7546 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.4514, allocations: 12 kB / 0.7546 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.4515, allocations: 29.72 kB / 0.7547 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.4516, allocations: 12 kB / 0.7547 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-06/0.4516, allocations: 0 / 0.7547 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.4518, allocations: 77.53 kB / 0.7548 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4518, allocations: 8 kB / 0.7548 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.397e-06/0.4518, allocations: 0 / 0.7548 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4519, allocations: 0 / 0.7548 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.452, allocations: 23.97 kB / 0.7548 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.474e-06/0.4521, allocations: 7.953 kB / 0.7548 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.4523, allocations: 28 kB / 0.7548 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.4523, allocations: 4 kB / 0.7548 GB, free: 6.148 MB / 0.6355 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 9.357e-05/0.4524, allocations: 112.9 kB / 0.7549 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.4524, allocations: 7.906 kB / 0.7549 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.4525, allocations: 8.625 kB / 0.7549 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-06/0.4525, allocations: 3.984 kB / 0.7549 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-06/0.4525, allocations: 0 / 0.7549 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.645e-06/0.4525, allocations: 11.95 kB / 0.755 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.4527, allocations: 181.8 kB / 0.7551 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.413e-06/0.4528, allocations: 4 kB / 0.7551 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4529, allocations: 19.98 kB / 0.7552 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.511e-06/0.4529, allocations: 0 / 0.7552 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.453, allocations: 0 / 0.7552 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.243e-06/0.453, allocations: 0 / 0.7552 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-06/0.453, allocations: 3.938 kB / 0.7552 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.4532, allocations: 109 kB / 0.7553 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.4533, allocations: 85.02 kB / 0.7553 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.4533, allocations: 0 / 0.7553 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.4535, allocations: 27.91 kB / 0.7554 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.4535, allocations: 11.98 kB / 0.7554 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-06/0.4536, allocations: 4 kB / 0.7554 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.023e-05/0.4536, allocations: 95.66 kB / 0.7555 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.26e-07/0.4537, allocations: 0 / 0.7555 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002602/0.4539, allocations: 19.94 kB / 0.7555 GB, free: 5.355 MB / 0.6355 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.0001366/0.4541, allocations: 99.25 kB / 0.7556 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.4543, allocations: 39.98 kB / 0.7556 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.391e-06/0.4543, allocations: 0 / 0.7556 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.4544, allocations: 28 kB / 0.7557 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.4546, allocations: 15.95 kB / 0.7557 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.4549, allocations: 96.62 kB / 0.7558 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.4553, allocations: 0.6887 MB / 0.7564 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.645e-05/0.4553, allocations: 12.17 kB / 0.7564 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.4554, allocations: 11.44 kB / 0.7565 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of SimCode: time 1.338e-06/0.4554, allocations: 0 / 0.7565 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of Templates: time 0.003695/0.4591, allocations: 0.8164 MB / 0.7573 GB, free: 3.504 MB / 0.6355 GB