Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.177/4.177, allocations: 464.6 MB / 476.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.192e-05/4.199e-05, allocations: 8 kB / 0.5732 GB, free: 5.59 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2338, allocations: 107.2 MB / 0.6779 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8811/1.115, allocations: 131.6 MB / 0.8064 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.115, allocations: 74.52 kB / 0.8064 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003951/1.119, allocations: 1.025 MB / 0.8074 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.119, allocations: 0 / 0.8074 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.119, allocations: 0 / 0.8074 GB, free: 11.67 MB / 0.6355 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.0005892/1.12, allocations: 381.5 kB / 0.8078 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.12, allocations: 11.69 kB / 0.8078 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/1.12, allocations: 34.5 kB / 0.8078 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/1.12, allocations: 11.75 kB / 0.8079 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/1.12, allocations: 173.1 kB / 0.808 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/1.12, allocations: 62.05 kB / 0.8081 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/1.12, allocations: 3.812 kB / 0.8081 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/1.12, allocations: 53.53 kB / 0.8081 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.12, allocations: 1.969 kB / 0.8081 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.12, allocations: 0 / 0.8081 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.12, allocations: 0 / 0.8081 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/1.121, allocations: 22.03 kB / 0.8082 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/1.121, allocations: 291.2 kB / 0.8084 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/1.121, allocations: 43.42 kB / 0.8085 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/1.121, allocations: 19.61 kB / 0.8085 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/1.121, allocations: 3.875 kB / 0.8085 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/1.121, allocations: 74.98 kB / 0.8086 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.276e-06/1.121, allocations: 0 / 0.8086 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002149/1.122, allocations: 70.83 kB / 0.8086 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/1.122, allocations: 54.12 kB / 0.8087 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/1.122, allocations: 110.2 kB / 0.8088 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/1.122, allocations: 32.83 kB / 0.8088 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/1.122, allocations: 83.52 kB / 0.8089 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/1.122, allocations: 11.72 kB / 0.8089 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/1.122, allocations: 7.984 kB / 0.8089 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.727e-05/1.122, allocations: 321.4 kB / 0.8092 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/1.122, allocations: 15.06 kB / 0.8092 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/1.122, allocations: 36.16 kB / 0.8093 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.983e-05/1.122, allocations: 25.38 kB / 0.8093 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.122, allocations: 0 / 0.8093 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001848/1.122, allocations: 88.47 kB / 0.8094 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.122, allocations: 7.688 kB / 0.8094 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.122, allocations: 0 / 0.8094 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.122, allocations: 4.125 kB / 0.8094 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/1.123, allocations: 13.77 kB / 0.8094 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.123, allocations: 7.75 kB / 0.8094 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/1.123, allocations: 28.73 kB / 0.8094 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.123, allocations: 0 / 0.8094 GB, free: 9.895 MB / 0.6355 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,xor1.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 5.946e-05/1.123, allocations: 117 kB / 0.8096 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/1.123, allocations: 11.72 kB / 0.8096 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/1.123, allocations: 8.188 kB / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.123, allocations: 0 / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.123, allocations: 3.875 kB / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.123, allocations: 0 / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/1.123, allocations: 175.7 kB / 0.8097 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.123, allocations: 7.844 kB / 0.8098 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/1.123, allocations: 3.938 kB / 0.8098 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.123, allocations: 0 / 0.8098 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.123, allocations: 6.891 kB / 0.8098 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.123, allocations: 0 / 0.8098 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.123, allocations: 3.938 kB / 0.8098 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/1.123, allocations: 99.66 kB / 0.8099 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/1.123, allocations: 84.42 kB / 0.8099 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/1.123, allocations: 4 kB / 0.81 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.124, allocations: 12.41 kB / 0.81 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/1.124, allocations: 16.84 kB / 0.81 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/1.124, allocations: 0 / 0.81 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.447e-05/1.124, allocations: 93.23 kB / 0.8101 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.124, allocations: 0 / 0.8101 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002676/1.124, allocations: 11.75 kB / 0.8101 GB, free: 9.324 MB / 0.6355 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,xor1.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.0007071/1.125, allocations: 0.6414 MB / 0.8107 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001756/1.125, allocations: 53.42 kB / 0.8108 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.125, allocations: 2.875 kB / 0.8108 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/1.125, allocations: 18.44 kB / 0.8108 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/1.125, allocations: 17.09 kB / 0.8108 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/1.126, allocations: 129.3 kB / 0.8109 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/1.126, allocations: 0.6907 MB / 0.8116 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.851e-05/1.126, allocations: 3.938 kB / 0.8116 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/1.126, allocations: 17.52 kB / 0.8116 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of SimCode: time 7.61e-07/1.126, allocations: 0 / 0.8116 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/1.151, allocations: 1.691 MB / 0.8133 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.151, allocations: 162.8 kB / 0.8134 GB, free: 23.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.471, allocations: 3.938 kB / 0.8134 GB, free: 23.41 MB / 0.6511 GB