Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.444/4.444, allocations: 460.4 MB / 472.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.762e-05/4.77e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.223, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9204/1.144, allocations: 131.6 MB / 0.8004 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.144, allocations: 76.84 kB / 0.8005 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006069/1.15, allocations: 1.599 MB / 0.8021 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.522e-06/1.15, allocations: 3.844 kB / 0.8021 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.15, allocations: 4 kB / 0.8021 GB, free: 12.43 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006699/1.151, allocations: 418.6 kB / 0.8025 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.151, allocations: 15.5 kB / 0.8025 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/1.151, allocations: 45.06 kB / 0.8025 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/1.151, allocations: 19.61 kB / 0.8025 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/1.151, allocations: 176 kB / 0.8027 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/1.151, allocations: 10.91 kB / 0.8027 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/1.151, allocations: 7.062 kB / 0.8027 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/1.151, allocations: 97.84 kB / 0.8028 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.151, allocations: 0 / 0.8028 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/1.151, allocations: 2.562 kB / 0.8028 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/1.151, allocations: 0 / 0.8028 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/1.152, allocations: 55.34 kB / 0.8029 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/1.152, allocations: 391.9 kB / 0.8033 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/1.152, allocations: 85.28 kB / 0.8033 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/1.153, allocations: 34.92 kB / 0.8034 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/1.153, allocations: 0 / 0.8034 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/1.153, allocations: 95.39 kB / 0.8035 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/1.153, allocations: 0 / 0.8035 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003074/1.153, allocations: 111.8 kB / 0.8036 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.153, allocations: 55.22 kB / 0.8036 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/1.153, allocations: 155.2 kB / 0.8038 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.153, allocations: 27.3 kB / 0.8038 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/1.153, allocations: 103 kB / 0.8039 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.153, allocations: 25 kB / 0.8039 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/1.153, allocations: 6.969 kB / 0.8039 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/1.154, allocations: 320.7 kB / 0.8042 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/1.154, allocations: 31.59 kB / 0.8043 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/1.154, allocations: 61.64 kB / 0.8043 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.775e-05/1.154, allocations: 28.3 kB / 0.8043 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.154, allocations: 0 / 0.8043 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002436/1.154, allocations: 124.5 kB / 0.8045 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.154, allocations: 3.875 kB / 0.8045 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.154, allocations: 0 / 0.8045 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.154, allocations: 7.938 kB / 0.8045 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.154, allocations: 22.36 kB / 0.8045 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.154, allocations: 4.484 kB / 0.8045 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/1.155, allocations: 26.08 kB / 0.8045 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/1.155, allocations: 11.12 kB / 0.8045 GB, free: 10.62 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: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.627e-05/1.155, allocations: 108 kB / 0.8046 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/1.155, allocations: 19.61 kB / 0.8047 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/1.155, allocations: 16.89 kB / 0.8047 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.155, allocations: 0 / 0.8047 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.155, allocations: 5.422 kB / 0.8047 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.155, allocations: 0 / 0.8047 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/1.155, allocations: 212.1 kB / 0.8049 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.155, allocations: 5.156 kB / 0.8049 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.155, allocations: 13.19 kB / 0.8049 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.155, allocations: 3.953 kB / 0.8049 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.155, allocations: 7.5 kB / 0.8049 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/1.155, allocations: 4 kB / 0.8049 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.155, allocations: 0 / 0.8049 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/1.156, allocations: 149.1 kB / 0.8051 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/1.156, allocations: 86.38 kB / 0.8051 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/1.156, allocations: 5.266 kB / 0.8051 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/1.156, allocations: 28.81 kB / 0.8052 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/1.156, allocations: 18.95 kB / 0.8052 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/1.156, allocations: 3.844 kB / 0.8052 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.951e-05/1.156, allocations: 110.7 kB / 0.8053 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.156, allocations: 3.875 kB / 0.8053 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003009/1.156, allocations: 23 kB / 0.8053 GB, free: 10.04 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0008732/1.157, allocations: 0.69 MB / 0.806 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000244/1.158, allocations: 78.52 kB / 0.8061 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.158, allocations: 3.938 kB / 0.8061 GB, free: 25.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/1.158, allocations: 47.09 kB / 0.8061 GB, free: 25.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/1.158, allocations: 29.12 kB / 0.8061 GB, free: 25.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/1.159, allocations: 204.9 kB / 0.8063 GB, free: 25.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.159, allocations: 0.7066 MB / 0.807 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.718e-05/1.159, allocations: 12.88 kB / 0.807 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.159, allocations: 36.36 kB / 0.8071 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.159, allocations: 4 kB / 0.8071 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/1.181, allocations: 2.484 MB / 0.8095 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/1.181, allocations: 174.2 kB / 0.8097 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.373, allocations: 3.938 kB / 0.8097 GB, free: 24.04 MB / 0.6511 GB