Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.241/4.241, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.002e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2274, allocations: 107.2 MB / 0.6779 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8503/1.078, allocations: 131.6 MB / 0.8064 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.078, allocations: 68.11 kB / 0.8065 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005684/1.084, allocations: 1.339 MB / 0.8078 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.084, allocations: 0 / 0.8078 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.084, allocations: 3.844 kB / 0.8078 GB, free: 12.17 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007718/1.085, allocations: 410 kB / 0.8082 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.085, allocations: 7.406 kB / 0.8082 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/1.085, allocations: 33.28 kB / 0.8082 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/1.085, allocations: 11.72 kB / 0.8082 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/1.085, allocations: 183.5 kB / 0.8084 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.085, allocations: 101.9 kB / 0.8085 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/1.085, allocations: 3.938 kB / 0.8085 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/1.085, allocations: 57.39 kB / 0.8085 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.085, allocations: 3.844 kB / 0.8086 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.085, allocations: 0 / 0.8086 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.085, allocations: 0.875 kB / 0.8086 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/1.085, allocations: 33.19 kB / 0.8086 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/1.086, allocations: 310.6 kB / 0.8089 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/1.086, allocations: 43.55 kB / 0.8089 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/1.086, allocations: 23.77 kB / 0.8089 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/1.086, allocations: 0 / 0.8089 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/1.086, allocations: 96.17 kB / 0.809 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/1.086, allocations: 1.422 kB / 0.809 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002618/1.087, allocations: 87.69 kB / 0.8091 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.087, allocations: 59.3 kB / 0.8092 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.087, allocations: 122 kB / 0.8093 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/1.087, allocations: 28.47 kB / 0.8093 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/1.087, allocations: 90.86 kB / 0.8094 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/1.087, allocations: 22.08 kB / 0.8094 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/1.087, allocations: 7.812 kB / 0.8094 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/1.087, allocations: 320 kB / 0.8097 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/1.087, allocations: 21.91 kB / 0.8098 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.931e-05/1.087, allocations: 54.95 kB / 0.8098 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/1.087, allocations: 21.11 kB / 0.8098 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.087, allocations: 4 kB / 0.8098 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002476/1.088, allocations: 116.6 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.088, allocations: 3.906 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.088, allocations: 2.625 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.088, allocations: 3.875 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.088, allocations: 14.62 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.088, allocations: 0 / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/1.088, allocations: 42.81 kB / 0.81 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/1.088, allocations: 6.719 kB / 0.81 GB, free: 10.34 MB / 0.6355 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * 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 7.67e-05/1.088, allocations: 124.4 kB / 0.8101 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/1.088, allocations: 7.75 kB / 0.8101 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/1.088, allocations: 15.94 kB / 0.8102 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.088, allocations: 3.844 kB / 0.8102 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.088, allocations: 2.625 kB / 0.8102 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.088, allocations: 0 / 0.8102 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/1.089, allocations: 189.3 kB / 0.8104 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.089, allocations: 0 / 0.8104 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/1.089, allocations: 6.609 kB / 0.8104 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.089, allocations: 0 / 0.8104 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/1.089, allocations: 3.688 kB / 0.8104 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.089, allocations: 0 / 0.8104 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.089, allocations: 0 / 0.8104 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/1.089, allocations: 129.8 kB / 0.8105 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/1.089, allocations: 81.02 kB / 0.8106 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/1.089, allocations: 0 / 0.8106 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.089, allocations: 27.38 kB / 0.8106 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/1.089, allocations: 13.28 kB / 0.8106 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/1.089, allocations: 4 kB / 0.8106 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.981e-05/1.089, allocations: 104.6 kB / 0.8107 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.633e-06/1.089, allocations: 3.875 kB / 0.8107 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002897/1.09, allocations: 27.16 kB / 0.8107 GB, free: 9.738 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * 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.0004757/1.09, allocations: 0.6597 MB / 0.8114 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000221/1.09, allocations: 69.39 kB / 0.8114 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.09, allocations: 192 / 0.8114 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/1.091, allocations: 35.59 kB / 0.8115 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/1.091, allocations: 24.48 kB / 0.8115 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/1.091, allocations: 158.1 kB / 0.8117 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/1.092, allocations: 0.6989 MB / 0.8123 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.782e-05/1.092, allocations: 7.359 kB / 0.8123 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/1.092, allocations: 25.31 kB / 0.8124 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.092, allocations: 0 / 0.8124 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/1.113, allocations: 2.16 MB / 0.8145 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/1.113, allocations: 163.7 kB / 0.8146 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.349, allocations: 0 / 0.8146 GB, free: 23.79 MB / 0.6511 GB