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.577/3.577, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.433e-05, allocations: 4 kB / 0.4991 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5119, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.716, allocations: 121.2 MB / 0.708 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.7163, allocations: 87.94 kB / 0.708 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003919/0.7202, allocations: 1.081 MB / 0.7091 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.025e-06/0.7203, allocations: 0 / 0.7091 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.7203, allocations: 4 kB / 0.7091 GB, free: 3.945 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.0005768/0.7209, allocations: 366.4 kB / 0.7095 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.7209, allocations: 15.97 kB / 0.7095 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.721, allocations: 11.95 kB / 0.7095 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.7212, allocations: 190.8 kB / 0.7097 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.7213, allocations: 37.64 kB / 0.7097 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.7213, allocations: 8 kB / 0.7097 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.7216, allocations: 93.61 kB / 0.7098 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7216, allocations: 3.984 kB / 0.7098 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.7216, allocations: 0 / 0.7098 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.7216, allocations: 4 kB / 0.7098 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.7218, allocations: 47.88 kB / 0.7098 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.7225, allocations: 344.8 kB / 0.7102 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.7228, allocations: 94.56 kB / 0.7103 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.7229, allocations: 36.98 kB / 0.7103 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.7229, allocations: 4 kB / 0.7103 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.7233, allocations: 207.1 kB / 0.7105 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.971e-06/0.7233, allocations: 0 / 0.7105 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004014/0.7237, allocations: 149.5 kB / 0.7106 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.7238, allocations: 55.41 kB / 0.7107 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.7239, allocations: 117.2 kB / 0.7108 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.724, allocations: 29.7 kB / 0.7108 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.7241, allocations: 96.12 kB / 0.7109 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.7241, allocations: 31.61 kB / 0.711 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.7242, allocations: 4 kB / 0.711 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7243, allocations: 318.8 kB / 0.7113 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.7245, allocations: 52.31 kB / 0.7113 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.7246, allocations: 82.34 kB / 0.7114 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.456e-05/0.7247, allocations: 24.12 kB / 0.7114 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-06/0.7248, allocations: 4 kB / 0.7114 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003467/0.7251, allocations: 149.4 kB / 0.7116 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.7252, allocations: 7.953 kB / 0.7116 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.36e-06/0.7252, allocations: 4.094 kB / 0.7116 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7252, allocations: 4 kB / 0.7116 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.7253, allocations: 16.3 kB / 0.7116 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8e-06/0.7253, allocations: 3.938 kB / 0.7116 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.7255, allocations: 23.98 kB / 0.7116 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.7255, allocations: 4 kB / 0.7116 GB, free: 1.121 MB / 0.5886 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.0001371/0.7257, allocations: 132.8 kB / 0.7118 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.7257, allocations: 7.906 kB / 0.7118 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.7258, allocations: 20.7 kB / 0.7118 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.7258, allocations: 0 / 0.7118 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.7258, allocations: 3.984 kB / 0.7118 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.7258, allocations: 0 / 0.7118 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.7267, allocations: 474.2 kB / 0.7122 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.867e-06/0.7268, allocations: 3.953 kB / 0.7122 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.7268, allocations: 4 kB / 0.7122 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.76e-06/0.7268, allocations: 4 kB / 0.7122 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.7268, allocations: 7.984 kB / 0.7123 GB, free: 424 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.7269, allocations: 0 / 0.7123 GB, free: 424 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.376e-06/0.7269, allocations: 0 / 0.7123 GB, free: 424 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.7273, allocations: 247.3 kB / 0.7125 GB, free: 160 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.7273, allocations: 88.97 kB / 0.7126 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.7274, allocations: 8 kB / 0.7126 GB, free: 44 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.7276, allocations: 16.03 kB / 0.7126 GB, free: 28 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7277, allocations: 43.84 kB / 0.7126 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.7278, allocations: 11.98 kB / 0.7127 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.7279, allocations: 87.28 kB / 0.7127 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.08e-07/0.7279, allocations: 4 kB / 0.7127 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003651/0.7283, allocations: 24 kB / 0.7128 GB, free: 15.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (toggle1.u0,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,toggle1.u,toggle1.y,toggle1.scenario) * Number of discrete states: 2 (toggle1.u,toggle1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001775/0.7285, allocations: 124.4 kB / 0.7129 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.7288, allocations: 115.9 kB / 0.713 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.637e-06/0.7288, allocations: 0 / 0.713 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.729, allocations: 87.91 kB / 0.7131 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.7293, allocations: 16.27 kB / 0.7131 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.7299, allocations: 165.7 kB / 0.7132 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.7302, allocations: 0.6972 MB / 0.7139 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.7303, allocations: 16.7 kB / 0.7139 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.7304, allocations: 19.42 kB / 0.714 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.6e-06/0.7305, allocations: 0 / 0.714 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.005217/0.7357, allocations: 1.526 MB / 0.7155 GB, free: 13.05 MB / 0.6042 GB