Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.253/4.253, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.313e-05, allocations: 12 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2382, allocations: 107.2 MB / 0.6779 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8602/1.099, allocations: 132.2 MB / 0.8069 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.099, allocations: 73.11 kB / 0.807 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008863/1.108, allocations: 2.09 MB / 0.809 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.492e-06/1.108, allocations: 0 / 0.809 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.108, allocations: 3.875 kB / 0.8091 GB, free: 11.85 MB / 0.6355 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.0009253/1.109, allocations: 458 kB / 0.8095 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.109, allocations: 7.812 kB / 0.8095 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.572e-05/1.109, allocations: 52.94 kB / 0.8095 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/1.109, allocations: 23.22 kB / 0.8096 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.109, allocations: 184 kB / 0.8097 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.109, allocations: 75.66 kB / 0.8098 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/1.109, allocations: 28.92 kB / 0.8098 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/1.11, allocations: 221.2 kB / 0.8101 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.11, allocations: 4 kB / 0.8101 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/1.11, allocations: 18.5 kB / 0.8101 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.11, allocations: 0 / 0.8101 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/1.11, allocations: 84.83 kB / 0.8102 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/1.111, allocations: 0.5388 MB / 0.8107 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.112, allocations: 324.8 kB / 0.811 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/1.113, allocations: 135.8 kB / 0.8111 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/1.113, allocations: 4.344 kB / 0.8111 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/1.114, allocations: 0.5522 MB / 0.8117 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 3.346e-06/1.114, allocations: 0 / 0.8117 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.001052/1.115, allocations: 425.5 kB / 0.8121 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/1.115, allocations: 55.28 kB / 0.8121 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.115, allocations: 136.1 kB / 0.8123 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/1.115, allocations: 64.38 kB / 0.8123 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/1.115, allocations: 102.7 kB / 0.8124 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.115, allocations: 105.4 kB / 0.8125 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/1.115, allocations: 14.34 kB / 0.8125 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/1.116, allocations: 336.2 kB / 0.8128 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/1.116, allocations: 138.1 kB / 0.813 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/1.116, allocations: 220 kB / 0.8132 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/1.117, allocations: 97.38 kB / 0.8133 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.117, allocations: 0 / 0.8133 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008749/1.118, allocations: 386.7 kB / 0.8137 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.118, allocations: 11.8 kB / 0.8137 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.118, allocations: 3.984 kB / 0.8137 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.118, allocations: 11.59 kB / 0.8137 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.118, allocations: 40.27 kB / 0.8137 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/1.118, allocations: 3.781 kB / 0.8137 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/1.118, allocations: 40.67 kB / 0.8138 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/1.118, allocations: 14.88 kB / 0.8138 GB, free: 9.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.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,$PRE.falCle.u,falCle.u,falCle.clr,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,truCle.clr,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.clr,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.clr,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002146/1.119, allocations: 153.8 kB / 0.8139 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/1.119, allocations: 29.78 kB / 0.8139 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/1.119, allocations: 43.77 kB / 0.814 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.119, allocations: 3.812 kB / 0.814 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.119, allocations: 2.906 kB / 0.814 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.119, allocations: 3.875 kB / 0.814 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/1.121, allocations: 0.9587 MB / 0.8149 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.121, allocations: 7.812 kB / 0.8149 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/1.121, allocations: 10.52 kB / 0.815 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.121, allocations: 7.703 kB / 0.815 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/1.121, allocations: 27.27 kB / 0.815 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.121, allocations: 8.031 kB / 0.815 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.121, allocations: 7 kB / 0.815 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009536/1.122, allocations: 0.5716 MB / 0.8156 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/1.122, allocations: 99.16 kB / 0.8157 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.122, allocations: 32.33 kB / 0.8157 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/1.123, allocations: 20.58 kB / 0.8157 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/1.123, allocations: 103.7 kB / 0.8158 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.749e-05/1.123, allocations: 41.08 kB / 0.8158 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.546e-05/1.123, allocations: 103.3 kB / 0.8159 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.123, allocations: 0 / 0.8159 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005651/1.124, allocations: 81.58 kB / 0.816 GB, free: 8.828 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 46 (swiCleInp.clr,swiCleInp1.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,falCle.clr,iniFalOut.clr,iniTruOut.clr,truCle.clr) * Number of discrete states: 12 (iniTruOut.u,iniTruOut.y,iniFalOut.u,iniFalOut.y,truCle.u,truCle.y,falCle.u,falCle.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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.001908/1.126, allocations: 1.444 MB / 0.8174 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009683/1.127, allocations: 365.8 kB / 0.8178 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.127, allocations: 0 / 0.8178 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004842/1.127, allocations: 222.8 kB / 0.818 GB, free: 23.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/1.128, allocations: 32.44 kB / 0.818 GB, free: 23.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/1.129, allocations: 463.8 kB / 0.8185 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/1.13, allocations: 0.7467 MB / 0.8192 GB, free: 22.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002145/1.13, allocations: 34.23 kB / 0.8192 GB, free: 22.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/1.13, allocations: 89.47 kB / 0.8193 GB, free: 22.83 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.13, allocations: 0 / 0.8193 GB, free: 22.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/1.192, allocations: 5.64 MB / 0.8248 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/1.192, allocations: 160.2 kB / 0.825 GB, free: 21.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.704, allocations: 0 / 0.825 GB, free: 21.92 MB / 0.6511 GB