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.72/3.72, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.382e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.525, allocations: 92.7 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.7082, allocations: 121.3 MB / 0.7081 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.7085, allocations: 87.94 kB / 0.7081 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004104/0.7127, allocations: 1.128 MB / 0.7092 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7127, allocations: 0 / 0.7092 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.7127, allocations: 4 kB / 0.7092 GB, free: 3.801 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.0005737/0.7133, allocations: 374.4 kB / 0.7096 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.7134, allocations: 12.03 kB / 0.7096 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.7134, allocations: 3.953 kB / 0.7096 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.7136, allocations: 178.9 kB / 0.7098 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.7136, allocations: 7.938 kB / 0.7098 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7137, allocations: 8 kB / 0.7098 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.7138, allocations: 53.69 kB / 0.7099 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7139, allocations: 3.984 kB / 0.7099 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.7139, allocations: 0 / 0.7099 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.507e-06/0.7139, allocations: 7.938 kB / 0.7099 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.714, allocations: 24 kB / 0.7099 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.7145, allocations: 292.8 kB / 0.7102 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.7147, allocations: 46.52 kB / 0.7102 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.7147, allocations: 16.98 kB / 0.7102 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.7148, allocations: 3.984 kB / 0.7102 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.7149, allocations: 63.41 kB / 0.7103 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.639e-06/0.7149, allocations: 0 / 0.7103 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002334/0.7152, allocations: 73.55 kB / 0.7104 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.7152, allocations: 59.34 kB / 0.7104 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7154, allocations: 113 kB / 0.7105 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.7154, allocations: 25.7 kB / 0.7106 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.7155, allocations: 96.05 kB / 0.7106 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.7155, allocations: 11.8 kB / 0.7107 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-06/0.7156, allocations: 4 kB / 0.7107 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7157, allocations: 314.8 kB / 0.711 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.7158, allocations: 16 kB / 0.711 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.7159, allocations: 29.72 kB / 0.711 GB, free: 1.785 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.7159, allocations: 15.98 kB / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-06/0.7159, allocations: 0 / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001836/0.7161, allocations: 73.62 kB / 0.7111 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.7162, allocations: 4 kB / 0.7111 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.227e-06/0.7162, allocations: 0 / 0.7111 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7162, allocations: 3.953 kB / 0.7111 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.7164, allocations: 32.02 kB / 0.7111 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.08e-06/0.7164, allocations: 0 / 0.7111 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.7166, allocations: 35.75 kB / 0.7112 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.7166, allocations: 0 / 0.7112 GB, free: 1.617 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.977e-05/0.7167, allocations: 109 kB / 0.7113 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.7167, allocations: 8 kB / 0.7113 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.462e-05/0.7168, allocations: 8.625 kB / 0.7113 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-06/0.7168, allocations: 0 / 0.7113 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.7168, allocations: 3.953 kB / 0.7113 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-06/0.7168, allocations: 11.92 kB / 0.7113 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.717, allocations: 177.7 kB / 0.7115 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.392e-06/0.717, allocations: 4.125 kB / 0.7115 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.7172, allocations: 27.92 kB / 0.7115 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.658e-06/0.7172, allocations: 4 kB / 0.7115 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.7172, allocations: 3.984 kB / 0.7115 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-06/0.7173, allocations: 0 / 0.7115 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-06/0.7173, allocations: 0 / 0.7115 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.7175, allocations: 96.98 kB / 0.7116 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.7175, allocations: 85.02 kB / 0.7117 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.7176, allocations: 4 kB / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.7177, allocations: 27.97 kB / 0.7117 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.7178, allocations: 7.984 kB / 0.7117 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-06/0.7178, allocations: 0 / 0.7117 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.176e-05/0.7179, allocations: 99.67 kB / 0.7118 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.2e-07/0.7179, allocations: 0 / 0.7118 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000258/0.7182, allocations: 12 kB / 0.7118 GB, free: 0.8477 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.0001462/0.7184, allocations: 116.2 kB / 0.7119 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.7185, allocations: 40 kB / 0.712 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.201e-06/0.7185, allocations: 0 / 0.712 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.7186, allocations: 20 kB / 0.712 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.7189, allocations: 16.31 kB / 0.712 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.7192, allocations: 88.8 kB / 0.7121 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.7196, allocations: 0.7004 MB / 0.7128 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.7196, allocations: 4.188 kB / 0.7128 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.7197, allocations: 15.38 kB / 0.7128 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.357e-06/0.7197, allocations: 0 / 0.7128 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.003602/0.7233, allocations: 0.8243 MB / 0.7136 GB, free: 14.98 MB / 0.6042 GB