Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadModel(Buildings): time 3.775/3.775, allocations: 402 MB / 416.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.998e-05, allocations: 4 kB / 0.501 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2103, allocations: 92.69 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002089/0.2124, allocations: 1.131 MB / 0.5926 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0005959/0.2131, allocations: 208.3 kB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.2131, allocations: 8 kB / 0.5928 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.2132, allocations: 3.984 kB / 0.5928 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2133, allocations: 15.91 kB / 0.5928 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.2134, allocations: 19.97 kB / 0.5928 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.2135, allocations: 39.89 kB / 0.5929 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.2136, allocations: 11.98 kB / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.2137, allocations: 19.92 kB / 0.5929 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.2138, allocations: 27.91 kB / 0.5929 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.2138, allocations: 4 kB / 0.5929 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2139, allocations: 8 kB / 0.5929 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2139, allocations: 11.94 kB / 0.5929 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.2139, allocations: 4 kB / 0.5929 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2141, allocations: 56.09 kB / 0.593 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2141, allocations: 0 / 0.593 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2141, allocations: 0 / 0.593 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.2141, allocations: 0 / 0.593 GB, free: 9.781 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007846/0.2149, allocations: 393.2 kB / 0.5934 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.215, allocations: 8.031 kB / 0.5934 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.215, allocations: 7.953 kB / 0.5934 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.2152, allocations: 182.9 kB / 0.5936 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2153, allocations: 3.938 kB / 0.5936 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2153, allocations: 8 kB / 0.5936 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.2155, allocations: 57.67 kB / 0.5936 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2155, allocations: 4 kB / 0.5936 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2155, allocations: 0 / 0.5936 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2155, allocations: 4 kB / 0.5936 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.2157, allocations: 31.98 kB / 0.5937 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.2163, allocations: 312.6 kB / 0.594 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.2165, allocations: 50.56 kB / 0.594 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.2165, allocations: 0 / 0.594 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.2168, allocations: 87.41 kB / 0.5941 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.2168, allocations: 4 kB / 0.5941 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0003763/0.2172, allocations: 113.5 kB / 0.5942 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2172, allocations: 59.39 kB / 0.5943 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2174, allocations: 120.9 kB / 0.5944 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2174, allocations: 29.7 kB / 0.5944 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.2175, allocations: 88.14 kB / 0.5945 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.2175, allocations: 27.64 kB / 0.5945 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.2176, allocations: 4.375 kB / 0.5945 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2177, allocations: 318.8 kB / 0.5948 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.2178, allocations: 16 kB / 0.5948 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.2179, allocations: 55.42 kB / 0.5949 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/0.218, allocations: 27.88 kB / 0.5949 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.218, allocations: 4 kB / 0.5949 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002418/0.2183, allocations: 97.52 kB / 0.595 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.2183, allocations: 7.938 kB / 0.595 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2183, allocations: 0 / 0.595 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2183, allocations: 4 kB / 0.595 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.2184, allocations: 4 kB / 0.595 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2185, allocations: 12.05 kB / 0.5951 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.2187, allocations: 27.97 kB / 0.5951 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2187, allocations: 4 kB / 0.5951 GB, free: 7.426 MB / 0.4948 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 0.0001194/0.2188, allocations: 118.3 kB / 0.5952 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2189, allocations: 7.906 kB / 0.5952 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.2189, allocations: 16.38 kB / 0.5952 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.219, allocations: 3.984 kB / 0.5952 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.219, allocations: 4 kB / 0.5952 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.219, allocations: 88.91 kB / 0.5953 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.2191, allocations: 0 / 0.5953 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.2193, allocations: 31.97 kB / 0.5953 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.2194, allocations: 11.97 kB / 0.5954 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004229/0.2198, allocations: 197 kB / 0.5955 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003388/0.2202, allocations: 274.7 kB / 0.5958 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001541/0.2203, allocations: 31.98 kB / 0.5958 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.2204, allocations: 103.6 kB / 0.5959 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of Backend: time 2.925e-06/0.2204, allocations: 0 / 0.5959 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.2209, allocations: 126.3 kB / 0.5961 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0007877/0.2217, allocations: 0.6331 MB / 0.5967 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of Templates: time 0.005071/0.2268, allocations: 1.144 MB / 0.5978 GB, free: 4.559 MB / 0.4948 GB