Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadModel(Buildings): time 3.982/3.982, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-05/6.645e-05, allocations: 6.5 kB / 0.5337 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2612, allocations: 98.72 MB / 0.6301 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.4528, allocations: 124.3 MB / 0.7515 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4531, allocations: 71.95 kB / 0.7516 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004333/0.4575, allocations: 1.157 MB / 0.7527 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.312e-06/0.4575, allocations: 0 / 0.7527 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.456e-06/0.4575, allocations: 0 / 0.7527 GB, free: 8.516 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005868/0.4581, allocations: 390.3 kB / 0.7531 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4582, allocations: 12.03 kB / 0.7531 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.4582, allocations: 7.906 kB / 0.7531 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.4584, allocations: 174.9 kB / 0.7532 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.4585, allocations: 12 kB / 0.7533 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4585, allocations: 4 kB / 0.7533 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4587, allocations: 57.67 kB / 0.7533 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.721e-06/0.4587, allocations: 0 / 0.7533 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4587, allocations: 4 kB / 0.7533 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4587, allocations: 0 / 0.7533 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.4588, allocations: 28 kB / 0.7533 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.4594, allocations: 316.7 kB / 0.7536 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.4595, allocations: 46.56 kB / 0.7537 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.4596, allocations: 24.86 kB / 0.7537 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.4596, allocations: 0 / 0.7537 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.4598, allocations: 87.39 kB / 0.7538 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.637e-06/0.4599, allocations: 0 / 0.7538 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002601/0.4601, allocations: 101.5 kB / 0.7539 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4602, allocations: 51.41 kB / 0.7539 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4603, allocations: 121.2 kB / 0.7541 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.4604, allocations: 33.7 kB / 0.7541 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.4604, allocations: 84.14 kB / 0.7542 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.4605, allocations: 23.94 kB / 0.7542 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-06/0.4605, allocations: 4 kB / 0.7542 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4607, allocations: 318.8 kB / 0.7545 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.4608, allocations: 24 kB / 0.7545 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.4609, allocations: 43.44 kB / 0.7546 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.4609, allocations: 24.02 kB / 0.7546 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-06/0.4609, allocations: 0 / 0.7546 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000228/0.4612, allocations: 105.5 kB / 0.7547 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4612, allocations: 4 kB / 0.7547 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-06/0.4612, allocations: 0 / 0.7547 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4612, allocations: 4 kB / 0.7547 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.4613, allocations: 4 kB / 0.7547 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.4613, allocations: 15.88 kB / 0.7547 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4615, allocations: 23.89 kB / 0.7547 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.4615, allocations: 4 kB / 0.7547 GB, free: 6.18 MB / 0.6355 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 9.625e-05/0.4616, allocations: 113 kB / 0.7549 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.4617, allocations: 7.906 kB / 0.7549 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.4617, allocations: 16.61 kB / 0.7549 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-06/0.4618, allocations: 0 / 0.7549 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.708e-06/0.4618, allocations: 0 / 0.7549 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-06/0.4618, allocations: 3.953 kB / 0.7549 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.462, allocations: 189.6 kB / 0.7551 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.462, allocations: 0 / 0.7551 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.4621, allocations: 4 kB / 0.7551 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4621, allocations: 4 kB / 0.7551 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4621, allocations: 4 kB / 0.7551 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4621, allocations: 3.938 kB / 0.7551 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-06/0.4621, allocations: 0 / 0.7551 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.4624, allocations: 125 kB / 0.7552 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4625, allocations: 77.11 kB / 0.7553 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4625, allocations: 7.938 kB / 0.7553 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4626, allocations: 27.97 kB / 0.7553 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.4627, allocations: 19.91 kB / 0.7553 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4627, allocations: 0 / 0.7553 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.064e-05/0.4628, allocations: 103.3 kB / 0.7554 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.26e-07/0.4629, allocations: 0 / 0.7554 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002727/0.4631, allocations: 16 kB / 0.7554 GB, free: 5.371 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: 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.0001584/0.4633, allocations: 117.4 kB / 0.7555 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4635, allocations: 59.94 kB / 0.7556 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.536e-06/0.4635, allocations: 0 / 0.7556 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.6e-05/0.4636, allocations: 31.94 kB / 0.7556 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.4639, allocations: 19.98 kB / 0.7557 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.4643, allocations: 125.2 kB / 0.7558 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.4646, allocations: 0.6965 MB / 0.7565 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.775e-05/0.4647, allocations: 4.562 kB / 0.7565 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4647, allocations: 11.44 kB / 0.7565 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of SimCode: time 1.385e-06/0.4648, allocations: 0 / 0.7565 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of Templates: time 0.004226/0.469, allocations: 1.05 MB / 0.7575 GB, free: 3.219 MB / 0.6355 GB