Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.757/3.757, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.206e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5782/0.5783, allocations: 92.67 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.8169, allocations: 121.1 MB / 0.7079 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.8173, allocations: 87.94 kB / 0.708 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004195/0.8215, allocations: 1.054 MB / 0.709 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8216, allocations: 0 / 0.709 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.8216, allocations: 8 kB / 0.709 GB, free: 4.102 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006227/0.8222, allocations: 374.4 kB / 0.7094 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.8223, allocations: 8.031 kB / 0.7094 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/0.8223, allocations: 42.55 kB / 0.7094 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.8224, allocations: 15.95 kB / 0.7094 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8226, allocations: 174.9 kB / 0.7096 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.716e-05/0.8227, allocations: 37.69 kB / 0.7096 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.8227, allocations: 12 kB / 0.7097 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.8229, allocations: 77.66 kB / 0.7097 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.823, allocations: 7.875 kB / 0.7097 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.823, allocations: 7.984 kB / 0.7097 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.823, allocations: 3.953 kB / 0.7097 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.8232, allocations: 43.92 kB / 0.7098 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.824, allocations: 344.8 kB / 0.7101 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.8243, allocations: 94.56 kB / 0.7102 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.8244, allocations: 36.98 kB / 0.7102 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.8244, allocations: 3.953 kB / 0.7102 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.8248, allocations: 175.1 kB / 0.7104 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.8248, allocations: 0 / 0.7104 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0004178/0.8253, allocations: 137.6 kB / 0.7105 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.8253, allocations: 59.41 kB / 0.7106 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.8255, allocations: 109.2 kB / 0.7107 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.8255, allocations: 33.7 kB / 0.7107 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.8256, allocations: 96.14 kB / 0.7108 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.8257, allocations: 31.67 kB / 0.7109 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.8257, allocations: 4 kB / 0.7109 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8258, allocations: 326.8 kB / 0.7112 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.826, allocations: 40 kB / 0.7112 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.8262, allocations: 68.64 kB / 0.7113 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.758e-05/0.8263, allocations: 31.94 kB / 0.7113 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8263, allocations: 0 / 0.7113 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003426/0.8266, allocations: 138.8 kB / 0.7114 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.8267, allocations: 4 kB / 0.7114 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.8267, allocations: 4 kB / 0.7114 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8267, allocations: 0 / 0.7114 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8268, allocations: 15.92 kB / 0.7115 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.8269, allocations: 0 / 0.7115 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.8271, allocations: 28.02 kB / 0.7115 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.8271, allocations: 4.375 kB / 0.7115 GB, free: 1.32 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.latch1.y,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.latch1.u,latch1.u,$PRE.latch1.u0,latch1.u0,latch1.y,$PRE.latch1.scenario,latch1.scenario) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001136/0.8272, allocations: 128.7 kB / 0.7116 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.8273, allocations: 7.906 kB / 0.7116 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.8273, allocations: 12.75 kB / 0.7116 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.8273, allocations: 7.938 kB / 0.7116 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8274, allocations: 4 kB / 0.7116 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.8274, allocations: 3.984 kB / 0.7116 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.828, allocations: 430.6 kB / 0.7121 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8281, allocations: 0 / 0.7121 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.8281, allocations: 3.938 kB / 0.7121 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8281, allocations: 0 / 0.7121 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.8281, allocations: 7.984 kB / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8282, allocations: 0 / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8282, allocations: 0 / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.8286, allocations: 247.4 kB / 0.7123 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.8286, allocations: 85.02 kB / 0.7124 GB, free: 312 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.8287, allocations: 11.98 kB / 0.7124 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.8289, allocations: 15.98 kB / 0.7124 GB, free: 284 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.829, allocations: 31.94 kB / 0.7124 GB, free: 252 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.8291, allocations: 7.938 kB / 0.7125 GB, free: 244 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.267e-05/0.8292, allocations: 99.28 kB / 0.7125 GB, free: 144 kB / 0.5886 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8292, allocations: 0 / 0.7125 GB, free: 144 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003351/0.8295, allocations: 27.98 kB / 0.7126 GB, free: 116 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,latch1.u,latch1.u0,latch1.y,latch1.scenario) * Number of discrete states: 2 (latch1.u,latch1.u0) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00076/0.8303, allocations: 0.7787 MB / 0.7133 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.8307, allocations: 115.9 kB / 0.7134 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8307, allocations: 0 / 0.7134 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.8309, allocations: 72 kB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.8312, allocations: 16.44 kB / 0.7135 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.832, allocations: 200.2 kB / 0.7137 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.8323, allocations: 0.7006 MB / 0.7144 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.576e-05/0.8324, allocations: 13.16 kB / 0.7144 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.8325, allocations: 27.44 kB / 0.7144 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/0.8325, allocations: 0 / 0.7144 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.8539, allocations: 2.326 MB / 0.7167 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/0.8544, allocations: 162.5 kB / 0.7169 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.054, allocations: 4.062 kB / 0.7169 GB, free: 11.62 MB / 0.6042 GB