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 4.565/4.565, allocations: 431.3 MB / 445.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.098e-05, allocations: 4 kB / 0.5354 GB, free: 14.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6698, allocations: 98.7 MB / 0.6318 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0021/0.672, allocations: 1.181 MB / 0.633 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005409/0.6726, allocations: 204.3 kB / 0.6332 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.6726, allocations: 0 / 0.6332 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.6727, allocations: 3.938 kB / 0.6332 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.6728, allocations: 11.98 kB / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.6729, allocations: 19.91 kB / 0.6332 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.673, allocations: 35.89 kB / 0.6332 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.6731, allocations: 11.98 kB / 0.6332 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.6732, allocations: 15.98 kB / 0.6333 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.6733, allocations: 27.91 kB / 0.6333 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.062e-05/0.6733, allocations: 0 / 0.6333 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.6734, allocations: 7.938 kB / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.6734, allocations: 7.984 kB / 0.6333 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.6734, allocations: 0 / 0.6333 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.6735, allocations: 54.28 kB / 0.6333 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6735, allocations: 0 / 0.6333 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6735, allocations: 0 / 0.6333 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.6736, allocations: 0 / 0.6333 GB, free: 10.37 MB / 0.5105 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.0007961/0.6744, allocations: 391.2 kB / 0.6337 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6744, allocations: 8.031 kB / 0.6337 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.6745, allocations: 15.83 kB / 0.6337 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.6747, allocations: 178.8 kB / 0.6339 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.6747, allocations: 0 / 0.6339 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.6747, allocations: 8 kB / 0.6339 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.6751, allocations: 97.61 kB / 0.634 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6752, allocations: 4 kB / 0.634 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.6752, allocations: 0 / 0.634 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6752, allocations: 0 / 0.634 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.6758, allocations: 95.92 kB / 0.6341 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.6763, allocations: 296.8 kB / 0.6344 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.6767, allocations: 70.53 kB / 0.6345 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.6767, allocations: 0 / 0.6345 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.6772, allocations: 108 kB / 0.6346 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.6772, allocations: 0 / 0.6346 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001014/0.6782, allocations: 193.4 kB / 0.6347 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6783, allocations: 55.36 kB / 0.6348 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.6784, allocations: 108.9 kB / 0.6349 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.6784, allocations: 33.7 kB / 0.6349 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.6785, allocations: 88.12 kB / 0.635 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.6785, allocations: 19.75 kB / 0.635 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.6786, allocations: 0 / 0.635 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6787, allocations: 322.8 kB / 0.6353 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.679, allocations: 43.97 kB / 0.6354 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.6793, allocations: 65.67 kB / 0.6354 GB, free: 8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.6796, allocations: 47.97 kB / 0.6355 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6797, allocations: 7.984 kB / 0.6355 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006645/0.6803, allocations: 137.5 kB / 0.6356 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.6804, allocations: 8 kB / 0.6356 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6804, allocations: 0 / 0.6356 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6804, allocations: 0 / 0.6356 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.6806, allocations: 19.98 kB / 0.6357 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6807, allocations: 4 kB / 0.6357 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.6809, allocations: 35.92 kB / 0.6357 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.6809, allocations: 0 / 0.6357 GB, free: 7.738 MB / 0.5105 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.0001142/0.681, allocations: 117.8 kB / 0.6358 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.6811, allocations: 7.906 kB / 0.6358 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.6811, allocations: 12.36 kB / 0.6358 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6811, allocations: 4 kB / 0.6358 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6812, allocations: 3.938 kB / 0.6358 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6812, allocations: 4 kB / 0.6358 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.6814, allocations: 185.7 kB / 0.636 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6814, allocations: 0 / 0.636 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.6816, allocations: 24.28 kB / 0.636 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.6816, allocations: 0 / 0.636 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.6816, allocations: 4 kB / 0.636 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6816, allocations: 3.938 kB / 0.636 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6817, allocations: 0 / 0.636 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.6824, allocations: 176.8 kB / 0.6362 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.6824, allocations: 85.02 kB / 0.6363 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.6825, allocations: 0 / 0.6363 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.6827, allocations: 27.97 kB / 0.6363 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.6828, allocations: 7.984 kB / 0.6363 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.6828, allocations: 8 kB / 0.6363 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.6829, allocations: 95.27 kB / 0.6364 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6829, allocations: 0 / 0.6364 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002562/0.6831, allocations: 12 kB / 0.6364 GB, free: 6.879 MB / 0.5105 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.0001512/0.6833, allocations: 99.25 kB / 0.6365 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00069/0.684, allocations: 111.9 kB / 0.6366 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.684, allocations: 0 / 0.6366 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.6844, allocations: 60.02 kB / 0.6367 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.6846, allocations: 15.94 kB / 0.6367 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.6851, allocations: 182.4 kB / 0.6369 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.6854, allocations: 0.6904 MB / 0.6376 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.407e-05/0.6855, allocations: 8.172 kB / 0.6376 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.6855, allocations: 7.438 kB / 0.6376 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.6855, allocations: 4 kB / 0.6376 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of Templates: time 0.00418/0.6897, allocations: 0.824 MB / 0.6384 GB, free: 4.832 MB / 0.5105 GB