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.97/3.97, allocations: 403.9 MB / 411 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.052e-05, allocations: 4 kB / 0.4942 GB, free: 1.383 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5618, allocations: 92.7 MB / 0.5847 GB, free: 2.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.745, allocations: 120.6 MB / 0.7024 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.7454, allocations: 91.92 kB / 0.7025 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003765/0.7492, allocations: 1.066 MB / 0.7036 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.521e-06/0.7492, allocations: 0 / 0.7036 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.7492, allocations: 4 kB / 0.7036 GB, free: 8.523 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.0005425/0.7498, allocations: 378.4 kB / 0.7039 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7498, allocations: 8.031 kB / 0.7039 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.7499, allocations: 15.94 kB / 0.7039 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.7501, allocations: 174.9 kB / 0.7041 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.7502, allocations: 37.7 kB / 0.7041 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.7502, allocations: 15.98 kB / 0.7042 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/0.7504, allocations: 39.92 kB / 0.7042 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.7506, allocations: 85.64 kB / 0.7043 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.675e-06/0.7506, allocations: 0 / 0.7043 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.7506, allocations: 0 / 0.7043 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.473e-06/0.7506, allocations: 3.953 kB / 0.7043 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.7513, allocations: 325.3 kB / 0.7046 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.7515, allocations: 90.52 kB / 0.7047 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.7516, allocations: 40.97 kB / 0.7047 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.7517, allocations: 0 / 0.7047 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003721/0.752, allocations: 191.1 kB / 0.7049 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.538e-06/0.7521, allocations: 0 / 0.7049 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003668/0.7524, allocations: 146 kB / 0.705 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.7525, allocations: 59.41 kB / 0.7051 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.7526, allocations: 109.1 kB / 0.7052 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.7527, allocations: 29.7 kB / 0.7052 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.7527, allocations: 96.12 kB / 0.7053 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.7528, allocations: 35.67 kB / 0.7054 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.7528, allocations: 0 / 0.7054 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.753, allocations: 318.8 kB / 0.7057 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.7531, allocations: 40.38 kB / 0.7057 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.7533, allocations: 82.72 kB / 0.7058 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/0.7533, allocations: 24.69 kB / 0.7058 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-06/0.7533, allocations: 0 / 0.7058 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003027/0.7537, allocations: 135.1 kB / 0.7059 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7537, allocations: 8 kB / 0.7059 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.7537, allocations: 0 / 0.7059 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.7537, allocations: 7.953 kB / 0.7059 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.7538, allocations: 11.92 kB / 0.706 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.642e-06/0.7538, allocations: 7.938 kB / 0.706 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.754, allocations: 20.08 kB / 0.706 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.754, allocations: 8 kB / 0.706 GB, free: 5.809 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.00011/0.7542, allocations: 105 kB / 0.7061 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.7542, allocations: 7.906 kB / 0.7061 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.7543, allocations: 24.73 kB / 0.7061 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.81e-06/0.7543, allocations: 0 / 0.7061 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.168e-06/0.7543, allocations: 7.953 kB / 0.7061 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-06/0.7543, allocations: 4.031 kB / 0.7061 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/0.7551, allocations: 430.8 kB / 0.7065 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-06/0.7551, allocations: 0 / 0.7065 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.7551, allocations: 4 kB / 0.7065 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.962e-06/0.7551, allocations: 0 / 0.7065 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.7552, allocations: 7.938 kB / 0.7066 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.496e-06/0.7552, allocations: 4 kB / 0.7066 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.245e-06/0.7552, allocations: 7.938 kB / 0.7066 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.7556, allocations: 241.5 kB / 0.7068 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.7556, allocations: 81.02 kB / 0.7069 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.7557, allocations: 8 kB / 0.7069 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.7559, allocations: 19.92 kB / 0.7069 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.756, allocations: 39.94 kB / 0.7069 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.756, allocations: 7.984 kB / 0.7069 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.426e-05/0.7561, allocations: 95.59 kB / 0.707 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.28e-07/0.7561, allocations: 4 kB / 0.707 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003662/0.7565, allocations: 20 kB / 0.7071 GB, free: 4.629 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: 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.0001651/0.7567, allocations: 119 kB / 0.7072 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.757, allocations: 107.9 kB / 0.7073 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.531e-06/0.757, allocations: 4.188 kB / 0.7073 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.7572, allocations: 83.92 kB / 0.7074 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.7575, allocations: 19.92 kB / 0.7074 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.758, allocations: 141.1 kB / 0.7075 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.7584, allocations: 0.7008 MB / 0.7082 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.776e-05/0.7585, allocations: 16.77 kB / 0.7082 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.7586, allocations: 23.42 kB / 0.7082 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of SimCode: time 1.199e-06/0.7586, allocations: 0 / 0.7082 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of Templates: time 0.005052/0.7636, allocations: 1.473 MB / 0.7097 GB, free: 1.902 MB / 0.5886 GB