Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.889/3.889, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.561e-05, allocations: 8 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6041/0.6042, allocations: 92.69 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2642/0.8685, allocations: 120.7 MB / 0.7076 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/0.8689, allocations: 83.89 kB / 0.7077 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004945/0.8739, allocations: 1.179 MB / 0.7088 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8739, allocations: 0 / 0.7088 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.8739, allocations: 4 kB / 0.7088 GB, free: 4.195 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006722/0.8746, allocations: 382.3 kB / 0.7092 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8747, allocations: 12.03 kB / 0.7092 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.177e-05/0.8748, allocations: 38.56 kB / 0.7092 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.8748, allocations: 11.86 kB / 0.7092 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.875, allocations: 175 kB / 0.7094 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8751, allocations: 3.938 kB / 0.7094 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.8751, allocations: 11.98 kB / 0.7094 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.8753, allocations: 53.69 kB / 0.7095 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8753, allocations: 3.984 kB / 0.7095 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.8753, allocations: 8 kB / 0.7095 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8753, allocations: 0 / 0.7095 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.8755, allocations: 31.94 kB / 0.7095 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.8763, allocations: 348.8 kB / 0.7098 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.8764, allocations: 42.58 kB / 0.7099 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.8765, allocations: 24.86 kB / 0.7099 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.8766, allocations: 0 / 0.7099 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.8768, allocations: 95.27 kB / 0.71 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.444e-06/0.8768, allocations: 0 / 0.71 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002864/0.8771, allocations: 93.47 kB / 0.7101 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.8772, allocations: 55.56 kB / 0.7101 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.8773, allocations: 120.9 kB / 0.7103 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.8773, allocations: 29.7 kB / 0.7103 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.8774, allocations: 96.11 kB / 0.7104 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.8775, allocations: 15.72 kB / 0.7104 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.8775, allocations: 8 kB / 0.7104 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8776, allocations: 318.8 kB / 0.7107 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.8777, allocations: 16 kB / 0.7107 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.8778, allocations: 51.44 kB / 0.7108 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.8779, allocations: 19.98 kB / 0.7108 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8779, allocations: 0 / 0.7108 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000222/0.8781, allocations: 101.5 kB / 0.7109 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.8782, allocations: 12.09 kB / 0.7109 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8782, allocations: 3.953 kB / 0.7109 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8782, allocations: 0 / 0.7109 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.8783, allocations: 11.98 kB / 0.7109 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.8783, allocations: 3.938 kB / 0.7109 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.8785, allocations: 23.98 kB / 0.7109 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.8786, allocations: 4 kB / 0.7109 GB, free: 1.777 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.965e-05/0.8787, allocations: 124.4 kB / 0.7111 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.8787, allocations: 7.906 kB / 0.7111 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.317e-05/0.8788, allocations: 12.61 kB / 0.7111 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.8788, allocations: 7.953 kB / 0.7111 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8788, allocations: 0 / 0.7111 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8788, allocations: 0 / 0.7111 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.8791, allocations: 193.6 kB / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.8791, allocations: 0 / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.8791, allocations: 192 / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.8792, allocations: 0 / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.8792, allocations: 11.94 kB / 0.7113 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8792, allocations: 3.938 kB / 0.7113 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.8792, allocations: 3.953 kB / 0.7113 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.8795, allocations: 113 kB / 0.7114 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.8795, allocations: 85.02 kB / 0.7115 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.8796, allocations: 3.984 kB / 0.7115 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.8798, allocations: 31.92 kB / 0.7115 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.8799, allocations: 15.92 kB / 0.7115 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.8799, allocations: 4 kB / 0.7115 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.88, allocations: 95.28 kB / 0.7116 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.2e-07/0.88, allocations: 0 / 0.7116 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002947/0.8803, allocations: 20 kB / 0.7116 GB, free: 0.9688 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0005786/0.8809, allocations: 0.6658 MB / 0.7123 GB, free: 284 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.8811, allocations: 59.94 kB / 0.7124 GB, free: 224 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8812, allocations: 0 / 0.7124 GB, free: 224 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.8813, allocations: 31.94 kB / 0.7124 GB, free: 192 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.8818, allocations: 24.73 kB / 0.7124 GB, free: 168 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.8827, allocations: 157 kB / 0.7126 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.8832, allocations: 0.7004 MB / 0.7132 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.8833, allocations: 8.547 kB / 0.7132 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.8835, allocations: 27.42 kB / 0.7133 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.403e-06/0.8835, allocations: 0 / 0.7133 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.9086, allocations: 2.038 MB / 0.7153 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/0.909, allocations: 153 kB / 0.7154 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.236, allocations: 0 / 0.7154 GB, free: 13.02 MB / 0.6042 GB