Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.3/4.3, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.197e-05, allocations: 8 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2286, allocations: 107.2 MB / 0.6779 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8657/1.094, allocations: 132.1 MB / 0.8069 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.095, allocations: 72.75 kB / 0.807 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008543/1.103, allocations: 2.081 MB / 0.809 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/1.103, allocations: 0 / 0.809 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.019e-05/1.103, allocations: 0 / 0.809 GB, free: 11.73 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.001023/1.104, allocations: 462.3 kB / 0.8094 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.104, allocations: 10.55 kB / 0.8094 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.806e-05/1.105, allocations: 50.06 kB / 0.8095 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/1.105, allocations: 15.16 kB / 0.8095 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.105, allocations: 187.5 kB / 0.8097 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/1.105, allocations: 82.89 kB / 0.8098 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/1.105, allocations: 24.5 kB / 0.8098 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/1.106, allocations: 203.4 kB / 0.81 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.106, allocations: 4 kB / 0.81 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/1.106, allocations: 13.11 kB / 0.81 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.106, allocations: 3.875 kB / 0.81 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/1.106, allocations: 95.36 kB / 0.8101 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/1.107, allocations: 0.5331 MB / 0.8106 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.108, allocations: 334.5 kB / 0.8109 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/1.109, allocations: 145.1 kB / 0.8111 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/1.109, allocations: 8.25 kB / 0.8111 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009212/1.109, allocations: 0.4957 MB / 0.8116 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 3.096e-06/1.109, allocations: 0 / 0.8116 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.001075/1.111, allocations: 445.4 kB / 0.812 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.111, allocations: 55.09 kB / 0.812 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.111, allocations: 136.6 kB / 0.8122 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/1.111, allocations: 54.88 kB / 0.8122 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/1.111, allocations: 104.4 kB / 0.8123 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.111, allocations: 103.3 kB / 0.8124 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/1.111, allocations: 7.25 kB / 0.8124 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.864e-05/1.111, allocations: 342.4 kB / 0.8127 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/1.112, allocations: 123.1 kB / 0.8129 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/1.112, allocations: 204.8 kB / 0.8131 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/1.112, allocations: 96.84 kB / 0.8132 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.112, allocations: 0 / 0.8132 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008203/1.113, allocations: 369.6 kB / 0.8135 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.113, allocations: 17.23 kB / 0.8135 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.113, allocations: 0 / 0.8135 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/1.113, allocations: 11.59 kB / 0.8135 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/1.113, allocations: 31.67 kB / 0.8136 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.113, allocations: 3.812 kB / 0.8136 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.114, allocations: 36.31 kB / 0.8136 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/1.114, allocations: 18.91 kB / 0.8136 GB, free: 9.734 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.y,$PRE.truCle.y,$PRE.iniFalOut.y,$PRE.iniTruOut.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$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,$PRE.falCle.clr,falCle.clr,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.clr,truCle.clr,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.clr,iniFalOut.clr,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.clr,iniTruOut.clr,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.latInp.pulseStart,latInp.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.0001984/1.114, allocations: 159.9 kB / 0.8138 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/1.114, allocations: 23.31 kB / 0.8138 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/1.114, allocations: 43.67 kB / 0.8138 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.114, allocations: 3.812 kB / 0.8138 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.114, allocations: 4 kB / 0.8138 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.114, allocations: 6.438 kB / 0.8139 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.116, allocations: 0.8337 MB / 0.8147 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.116, allocations: 4 kB / 0.8147 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/1.116, allocations: 20.95 kB / 0.8147 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.116, allocations: 0 / 0.8147 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/1.116, allocations: 21.41 kB / 0.8147 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.116, allocations: 0 / 0.8147 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.116, allocations: 0 / 0.8147 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/1.117, allocations: 0.5351 MB / 0.8152 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/1.117, allocations: 99.62 kB / 0.8153 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.117, allocations: 29.94 kB / 0.8154 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/1.117, allocations: 28.17 kB / 0.8154 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/1.118, allocations: 82.11 kB / 0.8155 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/1.118, allocations: 31.41 kB / 0.8155 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.233e-05/1.118, allocations: 100.5 kB / 0.8156 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.553e-06/1.118, allocations: 0 / 0.8156 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005036/1.118, allocations: 84.27 kB / 0.8157 GB, free: 8.914 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 46 ($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.clr,falCle.y,truCle.u,truCle.clr,truCle.y,iniFalOut.u,iniFalOut.clr,iniFalOut.y,iniTruOut.u,iniTruOut.clr,iniTruOut.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.pulseStart,latInp.pulseStart) * Number of discrete states: 18 (iniTruOut.u,iniTruOut.clr,iniFalOut.u,iniFalOut.clr,truCle.u,truCle.clr,falCle.u,falCle.clr,swiCleInp1.u,swiCleInp1.clr,swiCleInp.u,swiCleInp.clr,swiCleInp1.y,swiCleInp.y,iniTruOut.y,iniFalOut.y,truCle.y,falCle.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.001749/1.12, allocations: 1.115 MB / 0.8168 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009222/1.121, allocations: 368.4 kB / 0.8171 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.121, allocations: 4.188 kB / 0.8171 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004722/1.122, allocations: 259.5 kB / 0.8174 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/1.122, allocations: 33.06 kB / 0.8174 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.124, allocations: 461.3 kB / 0.8178 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/1.124, allocations: 0.7443 MB / 0.8186 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001929/1.124, allocations: 37.94 kB / 0.8186 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/1.125, allocations: 77.97 kB / 0.8187 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.943e-06/1.125, allocations: 0 / 0.8187 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/1.157, allocations: 5.266 MB / 0.8238 GB, free: 22.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.157, allocations: 155.1 kB / 0.824 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.544, allocations: 0 / 0.824 GB, free: 22.57 MB / 0.6511 GB