Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.326/4.326, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.834e-05/4.843e-05, allocations: 12 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2367, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8653/1.102, allocations: 131.7 MB / 0.8006 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.102, allocations: 71.67 kB / 0.8006 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007723/1.11, allocations: 1.979 MB / 0.8026 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.11, allocations: 0 / 0.8026 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.008e-05/1.11, allocations: 7.844 kB / 0.8026 GB, free: 12.46 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.0007592/1.111, allocations: 441.7 kB / 0.803 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.111, allocations: 15.53 kB / 0.803 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.924e-05/1.111, allocations: 46.67 kB / 0.803 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/1.111, allocations: 28.36 kB / 0.8031 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/1.111, allocations: 176.3 kB / 0.8032 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/1.111, allocations: 22.83 kB / 0.8033 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/1.111, allocations: 28.19 kB / 0.8033 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/1.112, allocations: 213.2 kB / 0.8035 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.112, allocations: 0 / 0.8035 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/1.112, allocations: 15.72 kB / 0.8035 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.112, allocations: 3.625 kB / 0.8035 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/1.112, allocations: 88.34 kB / 0.8036 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/1.113, allocations: 0.5376 MB / 0.8041 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/1.114, allocations: 322.9 kB / 0.8044 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/1.115, allocations: 143.9 kB / 0.8046 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/1.115, allocations: 0 / 0.8046 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009877/1.116, allocations: 0.549 MB / 0.8051 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 2.615e-06/1.116, allocations: 0 / 0.8051 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.0009926/1.117, allocations: 423.3 kB / 0.8055 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.117, allocations: 62.53 kB / 0.8056 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.117, allocations: 138.4 kB / 0.8057 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/1.117, allocations: 58.23 kB / 0.8058 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/1.117, allocations: 113.8 kB / 0.8059 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/1.117, allocations: 96.64 kB / 0.806 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/1.117, allocations: 10.06 kB / 0.806 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.284e-05/1.117, allocations: 336.2 kB / 0.8063 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/1.118, allocations: 132.3 kB / 0.8064 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/1.118, allocations: 221.9 kB / 0.8066 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/1.118, allocations: 98.36 kB / 0.8067 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.118, allocations: 0 / 0.8067 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007866/1.119, allocations: 384 kB / 0.8071 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.119, allocations: 4.125 kB / 0.8071 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.119, allocations: 7.75 kB / 0.8071 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.119, allocations: 8.062 kB / 0.8071 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/1.119, allocations: 33.23 kB / 0.8071 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.12, allocations: 7.812 kB / 0.8071 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/1.12, allocations: 29.12 kB / 0.8072 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/1.12, allocations: 19.12 kB / 0.8072 GB, free: 10.52 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.0001737/1.12, allocations: 152.3 kB / 0.8073 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/1.12, allocations: 33.84 kB / 0.8074 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/1.12, allocations: 41.09 kB / 0.8074 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.12, allocations: 7.688 kB / 0.8074 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.12, allocations: 0 / 0.8074 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.12, allocations: 0 / 0.8074 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/1.122, allocations: 0.9621 MB / 0.8083 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.122, allocations: 0 / 0.8083 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/1.122, allocations: 21.52 kB / 0.8084 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/1.122, allocations: 7.969 kB / 0.8084 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/1.122, allocations: 22.55 kB / 0.8084 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/1.122, allocations: 0 / 0.8084 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.122, allocations: 3.875 kB / 0.8084 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/1.123, allocations: 0.5752 MB / 0.809 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/1.123, allocations: 96.72 kB / 0.8091 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.124, allocations: 31.59 kB / 0.8091 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/1.124, allocations: 24.34 kB / 0.8091 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.124, allocations: 104.6 kB / 0.8092 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/1.124, allocations: 37.52 kB / 0.8092 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.76e-05/1.124, allocations: 103.4 kB / 0.8093 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.124, allocations: 3.844 kB / 0.8093 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005473/1.125, allocations: 79.23 kB / 0.8094 GB, free: 9.523 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.001828/1.127, allocations: 1.437 MB / 0.8108 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008796/1.128, allocations: 353.8 kB / 0.8112 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.128, allocations: 0 / 0.8112 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004558/1.128, allocations: 220.9 kB / 0.8114 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/1.129, allocations: 37.95 kB / 0.8114 GB, free: 24.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/1.13, allocations: 468.8 kB / 0.8119 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/1.131, allocations: 0.7487 MB / 0.8126 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001919/1.131, allocations: 36.47 kB / 0.8126 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/1.131, allocations: 88.7 kB / 0.8127 GB, free: 23.51 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/1.131, allocations: 3.938 kB / 0.8127 GB, free: 23.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08541/1.217, allocations: 5.573 MB / 0.8182 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/1.217, allocations: 160.2 kB / 0.8183 GB, free: 22.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.548, allocations: 0 / 0.8183 GB, free: 22.73 MB / 0.6511 GB