Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.338/4.338, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.914e-05, allocations: 4 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.226, allocations: 106.2 MB / 0.6719 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.098, allocations: 131.4 MB / 0.8003 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.098, allocations: 79.3 kB / 0.8004 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004307/1.102, allocations: 1.11 MB / 0.8014 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.102, allocations: 0 / 0.8014 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.102, allocations: 0 / 0.8014 GB, free: 12.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000616/1.103, allocations: 388.2 kB / 0.8018 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.103, allocations: 7.656 kB / 0.8018 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/1.103, allocations: 37.38 kB / 0.8019 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/1.103, allocations: 7.859 kB / 0.8019 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.103, allocations: 174.6 kB / 0.802 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/1.103, allocations: 4 kB / 0.802 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/1.103, allocations: 6.875 kB / 0.802 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/1.103, allocations: 57.41 kB / 0.8021 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.103, allocations: 0 / 0.8021 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.103, allocations: 3.844 kB / 0.8021 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/1.103, allocations: 0 / 0.8021 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/1.104, allocations: 26.8 kB / 0.8021 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/1.104, allocations: 295.1 kB / 0.8024 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/1.104, allocations: 32.89 kB / 0.8024 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/1.104, allocations: 30.19 kB / 0.8025 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/1.104, allocations: 0 / 0.8025 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/1.104, allocations: 64.88 kB / 0.8025 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/1.104, allocations: 0 / 0.8025 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002252/1.105, allocations: 81.53 kB / 0.8026 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/1.105, allocations: 52.81 kB / 0.8027 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/1.105, allocations: 109.7 kB / 0.8028 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.105, allocations: 29.02 kB / 0.8028 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/1.105, allocations: 89.73 kB / 0.8029 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/1.105, allocations: 16.19 kB / 0.8029 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/1.105, allocations: 0 / 0.8029 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/1.105, allocations: 316.5 kB / 0.8032 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/1.105, allocations: 22 kB / 0.8032 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/1.105, allocations: 29.91 kB / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/1.105, allocations: 11.36 kB / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.105, allocations: 0 / 0.8032 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001601/1.105, allocations: 73.48 kB / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.105, allocations: 10.94 kB / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/1.105, allocations: 0 / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.105, allocations: 0 / 0.8033 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/1.106, allocations: 32.95 kB / 0.8034 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.106, allocations: 7.781 kB / 0.8034 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/1.106, allocations: 33.64 kB / 0.8034 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/1.106, allocations: 3.938 kB / 0.8034 GB, free: 11.08 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.878e-05/1.106, allocations: 105 kB / 0.8035 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/1.106, allocations: 7.75 kB / 0.8035 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/1.106, allocations: 12.95 kB / 0.8035 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.106, allocations: 3.844 kB / 0.8035 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.106, allocations: 3.953 kB / 0.8035 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.106, allocations: 1.641 kB / 0.8035 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/1.106, allocations: 178.8 kB / 0.8037 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.106, allocations: 0 / 0.8037 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/1.106, allocations: 28.2 kB / 0.8037 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.106, allocations: 0 / 0.8037 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.106, allocations: 0 / 0.8037 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.107, allocations: 3.844 kB / 0.8037 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.107, allocations: 3.938 kB / 0.8037 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.107, allocations: 99.45 kB / 0.8038 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/1.107, allocations: 86.31 kB / 0.8039 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/1.107, allocations: 8.031 kB / 0.8039 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/1.107, allocations: 25.98 kB / 0.8039 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/1.107, allocations: 11.78 kB / 0.804 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.107, allocations: 0 / 0.804 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.101e-05/1.107, allocations: 99.86 kB / 0.8041 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.107, allocations: 0 / 0.8041 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000252/1.107, allocations: 15.48 kB / 0.8041 GB, free: 10.5 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004123/1.108, allocations: 0.6413 MB / 0.8047 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001651/1.108, allocations: 36.22 kB / 0.8047 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.108, allocations: 0 / 0.8047 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/1.108, allocations: 24.53 kB / 0.8047 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/1.108, allocations: 17.77 kB / 0.8048 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/1.109, allocations: 140.1 kB / 0.8049 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/1.109, allocations: 0.6886 MB / 0.8056 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.354e-05/1.11, allocations: 9.375 kB / 0.8056 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/1.11, allocations: 19.81 kB / 0.8056 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of SimCode: time 9.41e-07/1.11, allocations: 0 / 0.8056 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/1.171, allocations: 1.719 MB / 0.8073 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.171, allocations: 154.9 kB / 0.8074 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.327, allocations: 0 / 0.8074 GB, free: 24.59 MB / 0.6511 GB