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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.383/4.383, allocations: 404.1 MB / 411.3 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.545e-05/4.514e-05, allocations: 4 kB / 0.4945 GB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6613, allocations: 92.69 MB / 0.5851 GB, free: 2.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/0.9395, allocations: 120 MB / 0.7022 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/0.9399, allocations: 95.86 kB / 0.7023 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004281/0.9442, allocations: 0.9097 MB / 0.7032 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9443, allocations: 0 / 0.7032 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.9443, allocations: 0 / 0.7032 GB, free: 9.207 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.0006369/0.9449, allocations: 354.5 kB / 0.7036 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.945, allocations: 11.97 kB / 0.7036 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.9451, allocations: 11.86 kB / 0.7036 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.9453, allocations: 175 kB / 0.7038 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.9453, allocations: 4 kB / 0.7038 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.9453, allocations: 0 / 0.7038 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.9454, allocations: 20 kB / 0.7038 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.9456, allocations: 53.67 kB / 0.7038 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.9456, allocations: 4 kB / 0.7038 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9457, allocations: 0 / 0.7038 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.9457, allocations: 3.953 kB / 0.7038 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.9462, allocations: 257.3 kB / 0.7041 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.9464, allocations: 38.58 kB / 0.7041 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.9464, allocations: 20.98 kB / 0.7041 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.9465, allocations: 0 / 0.7041 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.9467, allocations: 63.39 kB / 0.7042 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.9467, allocations: 0 / 0.7042 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002557/0.9469, allocations: 69.58 kB / 0.7043 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.947, allocations: 55.48 kB / 0.7043 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.9472, allocations: 116.9 kB / 0.7044 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.9472, allocations: 29.7 kB / 0.7045 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.9473, allocations: 88.14 kB / 0.7045 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.9473, allocations: 7.812 kB / 0.7046 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.9473, allocations: 4 kB / 0.7046 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9475, allocations: 318.8 kB / 0.7049 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.9476, allocations: 12 kB / 0.7049 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.9477, allocations: 30.58 kB / 0.7049 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.9477, allocations: 19.98 kB / 0.7049 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9477, allocations: 0 / 0.7049 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001994/0.948, allocations: 61.62 kB / 0.705 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.948, allocations: 9.562 kB / 0.705 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.948, allocations: 0 / 0.705 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.948, allocations: 3.938 kB / 0.705 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.9481, allocations: 12.12 kB / 0.705 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9482, allocations: 7.953 kB / 0.705 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.9484, allocations: 19.98 kB / 0.705 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.9484, allocations: 4 kB / 0.705 GB, free: 7.148 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 9.189e-05/0.9485, allocations: 101 kB / 0.7051 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001812/0.9487, allocations: 73.58 kB / 0.7052 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.9487, allocations: 3.906 kB / 0.7052 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.9488, allocations: 20.55 kB / 0.7052 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.9488, allocations: 3.953 kB / 0.7052 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9488, allocations: 0 / 0.7052 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9488, allocations: 4 kB / 0.7052 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.949, allocations: 150.2 kB / 0.7054 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.9491, allocations: 0 / 0.7054 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.9491, allocations: 3.984 kB / 0.7054 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.9491, allocations: 0 / 0.7054 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.9491, allocations: 0 / 0.7054 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9491, allocations: 0 / 0.7054 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9492, allocations: 4 kB / 0.7054 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.9494, allocations: 93.05 kB / 0.7055 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.9494, allocations: 89.02 kB / 0.7056 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.9495, allocations: 0 / 0.7056 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.9497, allocations: 15.98 kB / 0.7056 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.9498, allocations: 15.97 kB / 0.7056 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.9498, allocations: 4 kB / 0.7056 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.872e-05/0.9499, allocations: 95.17 kB / 0.7057 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9499, allocations: 0 / 0.7057 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003736/0.9503, allocations: 12 kB / 0.7057 GB, free: 6.383 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.0005745/0.9509, allocations: 0.6325 MB / 0.7063 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.951, allocations: 35.94 kB / 0.7063 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9511, allocations: 4 kB / 0.7063 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.9512, allocations: 24.12 kB / 0.7064 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.9515, allocations: 12.38 kB / 0.7064 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.9521, allocations: 121.6 kB / 0.7065 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.9524, allocations: 0.6895 MB / 0.7072 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.786e-05/0.9525, allocations: 4 kB / 0.7072 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.9526, allocations: 23.42 kB / 0.7072 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of SimCode: time 3.086e-06/0.9526, allocations: 4 kB / 0.7072 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04445/0.997, allocations: 1.275 MB / 0.7084 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003281/0.9974, allocations: 149.9 kB / 0.7086 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.575/3.572, allocations: 3.938 kB / 0.7086 GB, free: 3.281 MB / 0.5886 GB