Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.353/4.353, allocations: 404.2 MB / 411.3 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.391e-05, allocations: 7.938 kB / 0.4946 GB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.655, allocations: 92.68 MB / 0.5851 GB, free: 2.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.886, allocations: 120 MB / 0.7023 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.8864, allocations: 83.94 kB / 0.7023 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003834/0.8902, allocations: 0.9136 MB / 0.7032 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8903, allocations: 0 / 0.7032 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.8903, allocations: 0 / 0.7032 GB, free: 9.219 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.0006395/0.8909, allocations: 358.5 kB / 0.7036 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.891, allocations: 12.03 kB / 0.7036 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.8911, allocations: 7.859 kB / 0.7036 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.8912, allocations: 175 kB / 0.7038 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.8913, allocations: 4 kB / 0.7038 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.8913, allocations: 0 / 0.7038 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001162/0.8914, allocations: 23.98 kB / 0.7038 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.8916, allocations: 53.62 kB / 0.7038 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8916, allocations: 3.938 kB / 0.7038 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8916, allocations: 0 / 0.7038 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.8916, allocations: 7.891 kB / 0.7038 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.8921, allocations: 253.4 kB / 0.7041 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.8923, allocations: 46.55 kB / 0.7041 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.8923, allocations: 16.98 kB / 0.7041 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.8924, allocations: 4 kB / 0.7041 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.8925, allocations: 67.33 kB / 0.7042 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.345e-06/0.8926, allocations: 0 / 0.7042 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002344/0.8928, allocations: 65.7 kB / 0.7043 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.8929, allocations: 59.41 kB / 0.7043 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.893, allocations: 104.9 kB / 0.7044 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.893, allocations: 29.7 kB / 0.7045 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.8931, allocations: 88.12 kB / 0.7045 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.8931, allocations: 15.81 kB / 0.7046 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.8931, allocations: 0 / 0.7046 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8933, allocations: 310.8 kB / 0.7049 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.8933, allocations: 16 kB / 0.7049 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.8934, allocations: 34.5 kB / 0.7049 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.8935, allocations: 16 kB / 0.7049 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.8935, allocations: 0 / 0.7049 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001762/0.8937, allocations: 73.61 kB / 0.705 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.8937, allocations: 4 kB / 0.705 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.8937, allocations: 0 / 0.705 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8937, allocations: 0 / 0.705 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.8938, allocations: 4 kB / 0.705 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8939, allocations: 11.94 kB / 0.705 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.894, allocations: 16.05 kB / 0.705 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.8941, allocations: 4 kB / 0.705 GB, free: 7.16 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,or1.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.126e-05/0.8942, allocations: 109.4 kB / 0.7051 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000172/0.8944, allocations: 65.59 kB / 0.7052 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.8944, allocations: 7.906 kB / 0.7052 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.8944, allocations: 8.625 kB / 0.7052 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8945, allocations: 3.953 kB / 0.7052 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8945, allocations: 4 kB / 0.7052 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.8945, allocations: 0 / 0.7052 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.8947, allocations: 154.2 kB / 0.7054 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8947, allocations: 192 / 0.7054 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.8947, allocations: 7.938 kB / 0.7054 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8947, allocations: 3.938 kB / 0.7054 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8948, allocations: 4 kB / 0.7054 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8948, allocations: 0 / 0.7054 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8948, allocations: 0 / 0.7054 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.895, allocations: 105.5 kB / 0.7055 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.8951, allocations: 89 kB / 0.7056 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.8951, allocations: 0 / 0.7056 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.8953, allocations: 15.98 kB / 0.7056 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.8954, allocations: 7.984 kB / 0.7056 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.8954, allocations: 0 / 0.7056 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.8954, allocations: 91.23 kB / 0.7057 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8955, allocations: 4 kB / 0.7057 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003277/0.8958, allocations: 8 kB / 0.7057 GB, free: 6.395 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,or1.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.0005144/0.8963, allocations: 0.6361 MB / 0.7063 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.8965, allocations: 43.98 kB / 0.7064 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8965, allocations: 128 / 0.7064 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.8966, allocations: 23.94 kB / 0.7064 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.8969, allocations: 11.98 kB / 0.7064 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.8974, allocations: 127 kB / 0.7065 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.8977, allocations: 0.6846 MB / 0.7072 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.374e-05/0.8978, allocations: 7.984 kB / 0.7072 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.8978, allocations: 19.44 kB / 0.7072 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.8979, allocations: 0 / 0.7072 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/0.9457, allocations: 1.273 MB / 0.7084 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000373/0.9462, allocations: 147.2 kB / 0.7086 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.624/3.57, allocations: 4.031 kB / 0.7086 GB, free: 3.289 MB / 0.5886 GB