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.672/3.672, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.255e-05/7.281e-05, allocations: 11.94 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5065, allocations: 92.7 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.6921, allocations: 121.3 MB / 0.708 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.6925, allocations: 87.94 kB / 0.7081 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004207/0.6967, allocations: 1.128 MB / 0.7092 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.67e-06/0.6967, allocations: 3.984 kB / 0.7092 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.176e-06/0.6967, allocations: 0 / 0.7092 GB, free: 3.809 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005731/0.6973, allocations: 378.4 kB / 0.7096 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6974, allocations: 8.031 kB / 0.7096 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.6974, allocations: 7.953 kB / 0.7096 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.6976, allocations: 186.8 kB / 0.7098 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.6976, allocations: 4 kB / 0.7098 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.6977, allocations: 4 kB / 0.7098 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.6978, allocations: 53.62 kB / 0.7098 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.742e-06/0.6978, allocations: 0 / 0.7098 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.6979, allocations: 7.938 kB / 0.7098 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-06/0.6979, allocations: 11.83 kB / 0.7098 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.698, allocations: 24 kB / 0.7099 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.6985, allocations: 284.8 kB / 0.7101 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.6986, allocations: 42.52 kB / 0.7102 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.6987, allocations: 20.98 kB / 0.7102 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.6987, allocations: 4 kB / 0.7102 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.6989, allocations: 67.39 kB / 0.7103 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.774e-06/0.6989, allocations: 0 / 0.7103 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002298/0.6992, allocations: 73.55 kB / 0.7103 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.6992, allocations: 55.34 kB / 0.7104 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.6994, allocations: 113 kB / 0.7105 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.6994, allocations: 25.7 kB / 0.7105 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.6995, allocations: 96.05 kB / 0.7106 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.6995, allocations: 19.86 kB / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.6995, allocations: 0 / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6997, allocations: 318.8 kB / 0.7109 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.6998, allocations: 12 kB / 0.7109 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.6998, allocations: 29.72 kB / 0.711 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.6999, allocations: 20.05 kB / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-06/0.6999, allocations: 4 kB / 0.711 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001789/0.7001, allocations: 69.64 kB / 0.7111 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7001, allocations: 7.984 kB / 0.7111 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.986e-06/0.7001, allocations: 0 / 0.7111 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.7002, allocations: 3.953 kB / 0.7111 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.7004, allocations: 23.98 kB / 0.7111 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.007e-06/0.7004, allocations: 0 / 0.7111 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.7006, allocations: 39.84 kB / 0.7111 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.7006, allocations: 4 kB / 0.7111 GB, free: 1.613 MB / 0.5886 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 8.735e-05/0.7007, allocations: 105 kB / 0.7112 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.7007, allocations: 4 kB / 0.7112 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.7008, allocations: 8.625 kB / 0.7113 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.193e-06/0.7008, allocations: 4 kB / 0.7113 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.89e-06/0.7008, allocations: 11.83 kB / 0.7113 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.229e-06/0.7008, allocations: 7.984 kB / 0.7113 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.701, allocations: 177.6 kB / 0.7114 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.701, allocations: 0 / 0.7114 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.7012, allocations: 19.98 kB / 0.7115 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.313e-06/0.7012, allocations: 3.938 kB / 0.7115 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.7012, allocations: 4 kB / 0.7115 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.182e-06/0.7012, allocations: 3.984 kB / 0.7115 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.603e-06/0.7012, allocations: 4 kB / 0.7115 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.7015, allocations: 101 kB / 0.7116 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.7015, allocations: 81.02 kB / 0.7117 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.7016, allocations: 0 / 0.7117 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.7017, allocations: 27.97 kB / 0.7117 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.7018, allocations: 12.11 kB / 0.7117 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.7018, allocations: 8 kB / 0.7117 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.7019, allocations: 95.17 kB / 0.7118 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.31e-07/0.7019, allocations: 0 / 0.7118 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002643/0.7022, allocations: 16 kB / 0.7118 GB, free: 0.8398 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: 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.0001411/0.7023, allocations: 107 kB / 0.7119 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.7025, allocations: 40 kB / 0.7119 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.068e-06/0.7025, allocations: 4.062 kB / 0.7119 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.7026, allocations: 23.94 kB / 0.712 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.7029, allocations: 15.98 kB / 0.712 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.7032, allocations: 94.2 kB / 0.7121 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.7035, allocations: 0.6935 MB / 0.7128 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.328e-05/0.7036, allocations: 4.188 kB / 0.7128 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.7037, allocations: 11.44 kB / 0.7128 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.325e-06/0.7037, allocations: 0 / 0.7128 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.003664/0.7074, allocations: 0.8195 MB / 0.7136 GB, free: 14.98 MB / 0.6042 GB