Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadModel(Buildings): time 3.635/3.635, allocations: 402 MB / 416.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.106e-05, allocations: 4 kB / 0.501 GB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 92.69 MB / 0.5915 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002078/0.2087, allocations: 1.092 MB / 0.5926 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0006262/0.2094, allocations: 232.3 kB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.2094, allocations: 4 kB / 0.5928 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.2095, allocations: 3.984 kB / 0.5928 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.757e-05/0.2096, allocations: 11.92 kB / 0.5928 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2098, allocations: 35.88 kB / 0.5928 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.2099, allocations: 51.94 kB / 0.5929 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.21, allocations: 8 kB / 0.5929 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.2101, allocations: 43.89 kB / 0.5929 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.844e-05/0.2102, allocations: 31.89 kB / 0.593 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.718e-05/0.2102, allocations: 8 kB / 0.593 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.2103, allocations: 4 kB / 0.593 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.2103, allocations: 19.97 kB / 0.593 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.2104, allocations: 8 kB / 0.593 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2105, allocations: 76.03 kB / 0.5931 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2105, allocations: 0 / 0.5931 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.318e-06/0.2105, allocations: 4 kB / 0.5931 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.2106, allocations: 4 kB / 0.5931 GB, free: 9.699 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.0007347/0.2113, allocations: 375.2 kB / 0.5934 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2114, allocations: 11.97 kB / 0.5934 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.2114, allocations: 15.86 kB / 0.5935 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2116, allocations: 171 kB / 0.5936 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.2117, allocations: 41.69 kB / 0.5937 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.2117, allocations: 12 kB / 0.5937 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.212, allocations: 81.62 kB / 0.5938 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.212, allocations: 3.938 kB / 0.5938 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.2121, allocations: 7.984 kB / 0.5938 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2121, allocations: 4 kB / 0.5938 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2123, allocations: 47.86 kB / 0.5938 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.2131, allocations: 357 kB / 0.5942 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.2134, allocations: 94.55 kB / 0.5942 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2134, allocations: 4 kB / 0.5942 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.214, allocations: 203.1 kB / 0.5944 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.657e-06/0.214, allocations: 0 / 0.5944 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0006772/0.2147, allocations: 197.5 kB / 0.5946 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2147, allocations: 59.39 kB / 0.5947 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2149, allocations: 117 kB / 0.5948 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.2149, allocations: 37.7 kB / 0.5948 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.215, allocations: 95.89 kB / 0.5949 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.2151, allocations: 35.67 kB / 0.595 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.2151, allocations: 0 / 0.595 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2152, allocations: 330.8 kB / 0.5953 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2154, allocations: 44.36 kB / 0.5953 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.2156, allocations: 81.02 kB / 0.5954 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.2157, allocations: 32.56 kB / 0.5954 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2157, allocations: 0 / 0.5954 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004089/0.2162, allocations: 153.3 kB / 0.5956 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2162, allocations: 8 kB / 0.5956 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2162, allocations: 0 / 0.5956 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.2162, allocations: 7.953 kB / 0.5956 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2164, allocations: 7.938 kB / 0.5956 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.2164, allocations: 4.094 kB / 0.5956 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.2166, allocations: 27.89 kB / 0.5956 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.2166, allocations: 8 kB / 0.5956 GB, free: 6.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.toggle1.u0,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.toggle1.u,toggle1.u,toggle1.u0,$PRE.toggle1.y,toggle1.y,$PRE.toggle1.scenario,toggle1.scenario) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001388/0.2168, allocations: 129.7 kB / 0.5958 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.2168, allocations: 15.84 kB / 0.5958 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.2169, allocations: 16.5 kB / 0.5958 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.2169, allocations: 384 / 0.5958 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2169, allocations: 11.94 kB / 0.5958 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.217, allocations: 81.02 kB / 0.5959 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.217, allocations: 8 kB / 0.5959 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2172, allocations: 27.92 kB / 0.5959 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2174, allocations: 35.92 kB / 0.5959 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005417/0.2179, allocations: 244.9 kB / 0.5962 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004627/0.2184, allocations: 338.5 kB / 0.5965 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001939/0.2186, allocations: 83.97 kB / 0.5966 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.154e-05/0.2187, allocations: 91.27 kB / 0.5967 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of Backend: time 1.313e-06/0.2187, allocations: 0 / 0.5967 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.2192, allocations: 162.3 kB / 0.5968 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0008876/0.2202, allocations: 0.649 MB / 0.5975 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of Templates: time 0.006033/0.2262, allocations: 1.648 MB / 0.5991 GB, free: 3.223 MB / 0.4948 GB