Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.092/4.092, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.454e-05, allocations: 4 kB / 0.4992 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.6166, allocations: 92.68 MB / 0.5897 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/0.8386, allocations: 120.7 MB / 0.7075 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/0.839, allocations: 87.94 kB / 0.7076 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003657/0.8427, allocations: 0.9214 MB / 0.7085 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8427, allocations: 0 / 0.7085 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8427, allocations: 0 / 0.7085 GB, free: 4.648 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006046/0.8433, allocations: 362.5 kB / 0.7088 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.8434, allocations: 12.03 kB / 0.7088 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.8435, allocations: 30.56 kB / 0.7089 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.8435, allocations: 11.86 kB / 0.7089 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.8437, allocations: 178.9 kB / 0.709 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.8437, allocations: 0 / 0.709 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.8438, allocations: 8 kB / 0.7091 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8439, allocations: 49.69 kB / 0.7091 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8439, allocations: 0 / 0.7091 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8439, allocations: 0 / 0.7091 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.844, allocations: 0 / 0.7091 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.8441, allocations: 27.89 kB / 0.7091 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.8446, allocations: 280.7 kB / 0.7094 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.8447, allocations: 50.56 kB / 0.7094 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.8448, allocations: 12.98 kB / 0.7095 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.8448, allocations: 4 kB / 0.7095 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.845, allocations: 75.44 kB / 0.7095 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.845, allocations: 0 / 0.7095 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002288/0.8453, allocations: 69.58 kB / 0.7096 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.8453, allocations: 59.41 kB / 0.7097 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.8454, allocations: 108.9 kB / 0.7098 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.8455, allocations: 25.7 kB / 0.7098 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.8456, allocations: 88.12 kB / 0.7099 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.8456, allocations: 15.81 kB / 0.7099 GB, free: 3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.8456, allocations: 0 / 0.7099 GB, free: 3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8458, allocations: 318.8 kB / 0.7102 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.8458, allocations: 12 kB / 0.7102 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.8459, allocations: 38.55 kB / 0.7102 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.846, allocations: 12 kB / 0.7102 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.846, allocations: 0 / 0.7102 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001775/0.8462, allocations: 78.02 kB / 0.7103 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8462, allocations: 4 kB / 0.7103 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8462, allocations: 0 / 0.7103 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.8462, allocations: 7.953 kB / 0.7103 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.8463, allocations: 15.98 kB / 0.7103 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.8463, allocations: 8.062 kB / 0.7104 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.8465, allocations: 15.98 kB / 0.7104 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.8465, allocations: 192 / 0.7104 GB, free: 2.477 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.529e-05/0.8466, allocations: 112.5 kB / 0.7105 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.8467, allocations: 11.84 kB / 0.7105 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.8467, allocations: 8.625 kB / 0.7105 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.8467, allocations: 4 kB / 0.7105 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8467, allocations: 3.953 kB / 0.7105 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8468, allocations: 0 / 0.7105 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.847, allocations: 173.6 kB / 0.7107 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.847, allocations: 0 / 0.7107 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.872e-05/0.847, allocations: 4 kB / 0.7107 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.847, allocations: 3.938 kB / 0.7107 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.8471, allocations: 4 kB / 0.7107 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.8471, allocations: 3.984 kB / 0.7107 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8471, allocations: 0 / 0.7107 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.8473, allocations: 108.9 kB / 0.7108 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.8474, allocations: 77.11 kB / 0.7109 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.8474, allocations: 4 kB / 0.7109 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.8475, allocations: 15.98 kB / 0.7109 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.8476, allocations: 11.97 kB / 0.7109 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.8476, allocations: 0 / 0.7109 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.8477, allocations: 95.23 kB / 0.711 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8477, allocations: 0 / 0.711 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002737/0.848, allocations: 16 kB / 0.711 GB, free: 1.742 MB / 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005459/0.8486, allocations: 0.6401 MB / 0.7116 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.8488, allocations: 43.98 kB / 0.7117 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8488, allocations: 0 / 0.7117 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.8489, allocations: 23.94 kB / 0.7117 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.8491, allocations: 15.98 kB / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.8496, allocations: 128.3 kB / 0.7118 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.85, allocations: 0.6887 MB / 0.7125 GB, free: 116 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.85, allocations: 8.125 kB / 0.7125 GB, free: 108 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.8501, allocations: 19.42 kB / 0.7125 GB, free: 88 kB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/0.8501, allocations: 0 / 0.7125 GB, free: 88 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.8755, allocations: 1.596 MB / 0.7141 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003729/0.876, allocations: 157.1 kB / 0.7142 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.171, allocations: 3.938 kB / 0.7142 GB, free: 14.33 MB / 0.6042 GB