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.712/3.712, allocations: 402 MB / 416.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.96e-05, allocations: 4 kB / 0.501 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2052, allocations: 92.69 MB / 0.5915 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002145/0.2074, allocations: 1.187 MB / 0.5926 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0005473/0.208, allocations: 204.6 kB / 0.5928 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.2081, allocations: 0 / 0.5928 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.2081, allocations: 7.922 kB / 0.5928 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.2082, allocations: 7.984 kB / 0.5928 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.2083, allocations: 15.98 kB / 0.5929 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.2084, allocations: 39.88 kB / 0.5929 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.2085, allocations: 7.938 kB / 0.5929 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.2086, allocations: 27.91 kB / 0.5929 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.2087, allocations: 23.92 kB / 0.593 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.2088, allocations: 4 kB / 0.593 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.2088, allocations: 0 / 0.593 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.2088, allocations: 11.98 kB / 0.593 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.2088, allocations: 4 kB / 0.593 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.209, allocations: 52.09 kB / 0.593 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.209, allocations: 0 / 0.593 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.209, allocations: 0 / 0.593 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.209, allocations: 3.938 kB / 0.593 GB, free: 9.758 MB / 0.4948 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.0007982/0.2098, allocations: 381.1 kB / 0.5934 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2099, allocations: 8.031 kB / 0.5934 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.2099, allocations: 15.86 kB / 0.5934 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.2101, allocations: 178.9 kB / 0.5936 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2101, allocations: 4 kB / 0.5936 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.2102, allocations: 4 kB / 0.5936 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.2106, allocations: 85.64 kB / 0.5937 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2106, allocations: 0 / 0.5937 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.2106, allocations: 4 kB / 0.5937 GB, free: 9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2106, allocations: 4 kB / 0.5937 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.2112, allocations: 91.92 kB / 0.5938 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.2118, allocations: 304.7 kB / 0.5941 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.2121, allocations: 74.53 kB / 0.5941 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.2122, allocations: 3.984 kB / 0.5941 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.2126, allocations: 99.48 kB / 0.5942 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.2126, allocations: 0 / 0.5942 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001011/0.2136, allocations: 193.4 kB / 0.5944 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2137, allocations: 51.41 kB / 0.5945 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2138, allocations: 112.9 kB / 0.5946 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2138, allocations: 37.64 kB / 0.5946 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.2139, allocations: 96.03 kB / 0.5947 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.2139, allocations: 11.81 kB / 0.5947 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.2139, allocations: 0 / 0.5947 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2141, allocations: 318.8 kB / 0.595 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.2144, allocations: 51.97 kB / 0.5951 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.2147, allocations: 57.67 kB / 0.5951 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.215, allocations: 51.97 kB / 0.5952 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.215, allocations: 0 / 0.5952 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006953/0.2157, allocations: 141.5 kB / 0.5953 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2157, allocations: 8 kB / 0.5953 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2158, allocations: 0 / 0.5953 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2158, allocations: 0 / 0.5953 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.216, allocations: 24.02 kB / 0.5953 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.216, allocations: 11.89 kB / 0.5953 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.2163, allocations: 27.88 kB / 0.5954 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.2163, allocations: 0 / 0.5954 GB, free: 7.137 MB / 0.4948 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.0001139/0.2164, allocations: 121.8 kB / 0.5955 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.2164, allocations: 7.938 kB / 0.5955 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.2165, allocations: 12.36 kB / 0.5955 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2165, allocations: 0 / 0.5955 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2165, allocations: 4 kB / 0.5955 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.2166, allocations: 84.97 kB / 0.5956 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2166, allocations: 4.312 kB / 0.5956 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2168, allocations: 31.97 kB / 0.5956 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.2169, allocations: 7.984 kB / 0.5956 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008586/0.2178, allocations: 233 kB / 0.5959 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007268/0.2185, allocations: 322.5 kB / 0.5962 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003174/0.2188, allocations: 55.95 kB / 0.5962 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.613e-05/0.2189, allocations: 95.27 kB / 0.5963 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of Backend: time 7.61e-07/0.2189, allocations: 0 / 0.5963 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000603/0.2195, allocations: 142.3 kB / 0.5964 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0006384/0.2202, allocations: 0.6171 MB / 0.597 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of Templates: time 0.004345/0.2246, allocations: 0.9952 MB / 0.598 GB, free: 4.332 MB / 0.4948 GB