Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadModel(Buildings): time 4.611/4.611, allocations: 458.9 MB / 473.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.288e-05, allocations: 9.531 kB / 0.5697 GB, free: 9.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2856, allocations: 106.2 MB / 0.6734 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.0021/0.2877, allocations: 1.198 MB / 0.6746 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.2887, allocations: 328 kB / 0.6749 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.2888, allocations: 4 kB / 0.6749 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.2888, allocations: 11.92 kB / 0.6749 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 9.601e-05/0.2889, allocations: 15.97 kB / 0.675 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.2893, allocations: 83.83 kB / 0.675 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.2895, allocations: 115.8 kB / 0.6751 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2897, allocations: 32.06 kB / 0.6752 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2898, allocations: 91.86 kB / 0.6753 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.29, allocations: 87.77 kB / 0.6754 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.29, allocations: 12 kB / 0.6754 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.2901, allocations: 12 kB / 0.6754 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.2902, allocations: 55.86 kB / 0.6754 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.2903, allocations: 16 kB / 0.6754 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.2906, allocations: 179.8 kB / 0.6756 GB, free: 376 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2906, allocations: 3.938 kB / 0.6756 GB, free: 372 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2906, allocations: 0 / 0.6756 GB, free: 372 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.2906, allocations: 0 / 0.6756 GB, free: 372 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009735/0.2916, allocations: 439.2 kB / 0.676 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2916, allocations: 8.031 kB / 0.676 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.932e-05/0.2918, allocations: 23.84 kB / 0.6761 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.2924, allocations: 254.7 kB / 0.6763 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.2924, allocations: 19.98 kB / 0.6763 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.2925, allocations: 27.98 kB / 0.6764 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.2931, allocations: 217.4 kB / 0.6766 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.2931, allocations: 7.875 kB / 0.6766 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.2932, allocations: 15.97 kB / 0.6766 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2932, allocations: 7.984 kB / 0.6766 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.2936, allocations: 87.94 kB / 0.6767 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2949, allocations: 0.5314 MB / 0.6772 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.2961, allocations: 290.4 kB / 0.6775 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2961, allocations: 8 kB / 0.6775 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.2974, allocations: 0.5256 MB / 0.678 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 3.487e-06/0.2974, allocations: 0 / 0.678 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001503/0.2989, allocations: 0.5083 MB / 0.6785 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.299, allocations: 55.41 kB / 0.6785 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.2992, allocations: 140.1 kB / 0.6787 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.2993, allocations: 61.69 kB / 0.6787 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2994, allocations: 117.2 kB / 0.6788 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2996, allocations: 106.9 kB / 0.6789 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.2996, allocations: 8 kB / 0.679 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2998, allocations: 334.8 kB / 0.6793 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.3002, allocations: 141.1 kB / 0.6794 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.3007, allocations: 235.5 kB / 0.6796 GB, free: 12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.301, allocations: 94.19 kB / 0.6797 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3011, allocations: 3.938 kB / 0.6797 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001096/0.3022, allocations: 414.5 kB / 0.6801 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3022, allocations: 8 kB / 0.6801 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3022, allocations: 0 / 0.6801 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3023, allocations: 8 kB / 0.6801 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3024, allocations: 27.86 kB / 0.6802 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.3025, allocations: 8 kB / 0.6802 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.3028, allocations: 47.98 kB / 0.6802 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.3028, allocations: 20 kB / 0.6802 GB, free: 11.38 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,tru.y,fal.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.y,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart,iniTruOut.clr,iniFalOut.clr,falCle.clr,truCle.clr) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0002997/0.3032, allocations: 167 kB / 0.6804 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.3033, allocations: 31.66 kB / 0.6804 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.3034, allocations: 42.31 kB / 0.6805 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3034, allocations: 4 kB / 0.6805 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3035, allocations: 0 / 0.6805 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3035, allocations: 3.984 kB / 0.6805 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.3056, allocations: 0.8812 MB / 0.6813 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3056, allocations: 0 / 0.6813 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.3057, allocations: 15.92 kB / 0.6814 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.3057, allocations: 4 kB / 0.6814 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.3058, allocations: 23.91 kB / 0.6814 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.3058, allocations: 4 kB / 0.6814 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3058, allocations: 0 / 0.6814 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3069, allocations: 0.495 MB / 0.6819 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.307, allocations: 104.8 kB / 0.682 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.3072, allocations: 23.98 kB / 0.682 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.3075, allocations: 23.97 kB / 0.682 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.3078, allocations: 91.8 kB / 0.6821 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.3079, allocations: 31.97 kB / 0.6821 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001215/0.308, allocations: 110.1 kB / 0.6822 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.81e-07/0.308, allocations: 0 / 0.6822 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005218/0.3086, allocations: 79.98 kB / 0.6823 GB, free: 9.141 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (swiCleInp1.clr,swiCleInp.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.pulseStart,togInp.pulseStart) * Number of discrete states: 12 (iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,falCle.u,falCle.y,truCle.u,truCle.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002647/0.3088, allocations: 147 kB / 0.6825 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.3099, allocations: 366.8 kB / 0.6828 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3099, allocations: 4.562 kB / 0.6828 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.3104, allocations: 216 kB / 0.683 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3108, allocations: 27.92 kB / 0.683 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3122, allocations: 0.4893 MB / 0.6835 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3126, allocations: 0.7413 MB / 0.6842 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.3129, allocations: 34.97 kB / 0.6843 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.3132, allocations: 51.39 kB / 0.6843 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/0.3132, allocations: 0 / 0.6843 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.01169/0.3249, allocations: 3.541 MB / 0.6878 GB, free: 3.48 MB / 0.5573 GB