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.576/3.576, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.884e-05/5.902e-05, allocations: 4 kB / 0.499 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4838, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.6666, allocations: 121.2 MB / 0.7079 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.6669, allocations: 87.94 kB / 0.708 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003845/0.6708, allocations: 1.077 MB / 0.7091 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6708, allocations: 0 / 0.7091 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6709, allocations: 0 / 0.7091 GB, free: 3.938 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.0005516/0.6714, allocations: 374.4 kB / 0.7094 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6715, allocations: 8.031 kB / 0.7094 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.6715, allocations: 11.95 kB / 0.7094 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.6717, allocations: 182.8 kB / 0.7096 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.6718, allocations: 41.69 kB / 0.7097 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.6719, allocations: 11.94 kB / 0.7097 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.6721, allocations: 85.64 kB / 0.7098 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.134e-06/0.6721, allocations: 0 / 0.7098 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.6721, allocations: 3.984 kB / 0.7098 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-06/0.6721, allocations: 4 kB / 0.7098 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.6723, allocations: 47.92 kB / 0.7098 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.673, allocations: 348.7 kB / 0.7101 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.6732, allocations: 94.56 kB / 0.7102 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.6734, allocations: 40.98 kB / 0.7103 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.6734, allocations: 4 kB / 0.7103 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003874/0.6738, allocations: 199.1 kB / 0.7105 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 5.096e-06/0.6738, allocations: 3.984 kB / 0.7105 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003984/0.6742, allocations: 159 kB / 0.7106 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.6743, allocations: 55.41 kB / 0.7107 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.6744, allocations: 117.5 kB / 0.7108 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.6745, allocations: 33.7 kB / 0.7108 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.6746, allocations: 84.14 kB / 0.7109 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.6746, allocations: 39.69 kB / 0.7109 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.6746, allocations: 7.938 kB / 0.7109 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6748, allocations: 318.8 kB / 0.7112 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.6749, allocations: 44.38 kB / 0.7113 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.6751, allocations: 90.84 kB / 0.7114 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.6752, allocations: 27.98 kB / 0.7114 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-06/0.6752, allocations: 0 / 0.7114 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003481/0.6756, allocations: 149.5 kB / 0.7115 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6756, allocations: 11.95 kB / 0.7116 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.064e-06/0.6756, allocations: 4.094 kB / 0.7116 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6757, allocations: 4 kB / 0.7116 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.6757, allocations: 4 kB / 0.7116 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.6758, allocations: 7.938 kB / 0.7116 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.6759, allocations: 23.92 kB / 0.7116 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.676, allocations: 8 kB / 0.7116 GB, free: 1.105 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.0001184/0.6761, allocations: 120.9 kB / 0.7117 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.6761, allocations: 11.91 kB / 0.7117 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.6762, allocations: 20.7 kB / 0.7118 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.279e-06/0.6762, allocations: 4 kB / 0.7118 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-06/0.6762, allocations: 0 / 0.7118 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.704e-06/0.6762, allocations: 3.984 kB / 0.7118 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.677, allocations: 466.2 kB / 0.7122 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.6771, allocations: 11.95 kB / 0.7122 GB, free: 428 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.6771, allocations: 11.98 kB / 0.7122 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.6771, allocations: 0 / 0.7122 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.6772, allocations: 4 kB / 0.7122 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-06/0.6772, allocations: 0 / 0.7122 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-06/0.6772, allocations: 0 / 0.7122 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.6776, allocations: 255.3 kB / 0.7125 GB, free: 140 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.6776, allocations: 88.95 kB / 0.7126 GB, free: 32 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.6777, allocations: 8 kB / 0.7126 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.6779, allocations: 19.98 kB / 0.7126 GB, free: 4 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.678, allocations: 31.92 kB / 0.7126 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.6781, allocations: 12 kB / 0.7126 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.765e-05/0.6781, allocations: 95.2 kB / 0.7127 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.3e-07/0.6782, allocations: 0 / 0.7127 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003473/0.6785, allocations: 28 kB / 0.7127 GB, free: 15.84 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.0001741/0.6787, allocations: 123 kB / 0.7129 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.679, allocations: 119.9 kB / 0.713 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.679, allocations: 0 / 0.713 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.6792, allocations: 83.94 kB / 0.7131 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.6795, allocations: 21.12 kB / 0.7131 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.68, allocations: 154.8 kB / 0.7132 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.6804, allocations: 0.701 MB / 0.7139 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.076e-05/0.6805, allocations: 12.77 kB / 0.7139 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.6806, allocations: 23.42 kB / 0.7139 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of SimCode: time 1.478e-06/0.6806, allocations: 0 / 0.7139 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.005204/0.6858, allocations: 1.522 MB / 0.7154 GB, free: 13.04 MB / 0.6042 GB