Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.295/4.295, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.08e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8491/1.082, allocations: 131.7 MB / 0.8005 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.082, allocations: 69.94 kB / 0.8006 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007624/1.09, allocations: 1.966 MB / 0.8025 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.09, allocations: 0 / 0.8025 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.09, allocations: 3.844 kB / 0.8025 GB, free: 12.72 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.0007683/1.091, allocations: 454.3 kB / 0.8029 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.091, allocations: 7.75 kB / 0.8029 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/1.091, allocations: 51.69 kB / 0.803 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/1.091, allocations: 24.52 kB / 0.803 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/1.091, allocations: 176.8 kB / 0.8032 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/1.091, allocations: 18.31 kB / 0.8032 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/1.091, allocations: 30.06 kB / 0.8032 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/1.092, allocations: 199.4 kB / 0.8034 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.092, allocations: 0 / 0.8034 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/1.092, allocations: 15.5 kB / 0.8034 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.092, allocations: 3.875 kB / 0.8034 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/1.092, allocations: 100.5 kB / 0.8035 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/1.093, allocations: 0.5339 MB / 0.8041 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/1.094, allocations: 337.7 kB / 0.8044 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/1.095, allocations: 148.5 kB / 0.8045 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/1.095, allocations: 0 / 0.8045 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008795/1.095, allocations: 499.8 kB / 0.805 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 2.785e-06/1.096, allocations: 0 / 0.805 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.001037/1.097, allocations: 448.5 kB / 0.8054 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/1.097, allocations: 55.25 kB / 0.8055 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/1.097, allocations: 140.6 kB / 0.8056 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.666e-05/1.097, allocations: 51.81 kB / 0.8057 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/1.097, allocations: 108.2 kB / 0.8058 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/1.097, allocations: 102.9 kB / 0.8059 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/1.097, allocations: 13.31 kB / 0.8059 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/1.097, allocations: 335.1 kB / 0.8062 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/1.097, allocations: 122 kB / 0.8063 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/1.098, allocations: 208.5 kB / 0.8065 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/1.098, allocations: 84.98 kB / 0.8066 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.098, allocations: 3.844 kB / 0.8066 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007298/1.099, allocations: 367.2 kB / 0.8069 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.099, allocations: 3.844 kB / 0.8069 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.099, allocations: 3.844 kB / 0.8069 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.099, allocations: 7.125 kB / 0.807 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/1.099, allocations: 26.25 kB / 0.807 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.099, allocations: 7.688 kB / 0.807 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/1.099, allocations: 36.78 kB / 0.807 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.099, allocations: 15.06 kB / 0.807 GB, free: 10.77 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.0001475/1.1, allocations: 154.4 kB / 0.8072 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/1.1, allocations: 34.34 kB / 0.8072 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/1.1, allocations: 34.06 kB / 0.8072 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.1, allocations: 10.7 kB / 0.8073 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.1, allocations: 3.844 kB / 0.8073 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.1, allocations: 0 / 0.8073 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/1.101, allocations: 0.8526 MB / 0.8081 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.101, allocations: 0 / 0.8081 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/1.101, allocations: 14.03 kB / 0.8081 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/1.101, allocations: 0 / 0.8081 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/1.101, allocations: 22.28 kB / 0.8081 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.101, allocations: 0 / 0.8081 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.101, allocations: 0 / 0.8081 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009169/1.102, allocations: 0.5342 MB / 0.8087 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/1.102, allocations: 100.5 kB / 0.8087 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.102, allocations: 21.27 kB / 0.8088 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/1.103, allocations: 23.83 kB / 0.8088 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/1.103, allocations: 85.5 kB / 0.8089 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/1.103, allocations: 27.97 kB / 0.8089 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.143e-05/1.103, allocations: 106.7 kB / 0.809 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.103, allocations: 3.906 kB / 0.809 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004592/1.104, allocations: 72.47 kB / 0.8091 GB, free: 9.973 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.00123/1.105, allocations: 1.121 MB / 0.8102 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007941/1.106, allocations: 366.8 kB / 0.8105 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.106, allocations: 352 / 0.8105 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/1.106, allocations: 258.3 kB / 0.8108 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/1.106, allocations: 28.25 kB / 0.8108 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/1.108, allocations: 466.7 kB / 0.8112 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007324/1.109, allocations: 0.7436 MB / 0.812 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001707/1.109, allocations: 31.06 kB / 0.812 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.109, allocations: 85.69 kB / 0.8121 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of SimCode: time 9.91e-07/1.109, allocations: 0 / 0.8121 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/1.135, allocations: 5.185 MB / 0.8171 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.135, allocations: 161.4 kB / 0.8173 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.521, allocations: 0 / 0.8173 GB, free: 23.61 MB / 0.6511 GB