Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.352/4.352, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.974e-05, allocations: 8 kB / 0.5732 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2246, allocations: 107.1 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8362/1.061, allocations: 132 MB / 0.8068 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.061, allocations: 74.05 kB / 0.8069 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007098/1.068, allocations: 1.777 MB / 0.8086 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/1.068, allocations: 0 / 0.8086 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.919e-06/1.068, allocations: 3.844 kB / 0.8086 GB, free: 11.84 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.000843/1.069, allocations: 441.1 kB / 0.809 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.069, allocations: 11.72 kB / 0.809 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/1.069, allocations: 36.84 kB / 0.8091 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/1.069, allocations: 15.53 kB / 0.8091 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/1.07, allocations: 201.6 kB / 0.8093 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/1.07, allocations: 98.09 kB / 0.8094 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/1.07, allocations: 11.25 kB / 0.8094 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/1.07, allocations: 85.38 kB / 0.8095 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.07, allocations: 0 / 0.8095 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/1.07, allocations: 6.969 kB / 0.8095 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.07, allocations: 0 / 0.8095 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/1.07, allocations: 58.5 kB / 0.8095 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/1.071, allocations: 400.8 kB / 0.8099 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/1.071, allocations: 81.36 kB / 0.81 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/1.071, allocations: 35.2 kB / 0.81 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/1.071, allocations: 0 / 0.81 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/1.071, allocations: 95.56 kB / 0.8101 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.465e-06/1.071, allocations: 0 / 0.8101 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003023/1.072, allocations: 116.1 kB / 0.8102 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/1.072, allocations: 55.25 kB / 0.8103 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/1.072, allocations: 150.1 kB / 0.8104 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.072, allocations: 25.7 kB / 0.8105 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/1.072, allocations: 105.5 kB / 0.8106 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/1.072, allocations: 25.67 kB / 0.8106 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/1.072, allocations: 10.88 kB / 0.8106 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/1.072, allocations: 316.9 kB / 0.8109 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/1.072, allocations: 32.09 kB / 0.8109 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.072, allocations: 62.75 kB / 0.811 GB, free: 10 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/1.073, allocations: 36.22 kB / 0.811 GB, free: 10 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.073, allocations: 0 / 0.811 GB, free: 10 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002967/1.073, allocations: 141.9 kB / 0.8111 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.073, allocations: 3.812 kB / 0.8112 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.073, allocations: 3.953 kB / 0.8112 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.073, allocations: 3.906 kB / 0.8112 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/1.073, allocations: 32.16 kB / 0.8112 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.073, allocations: 0 / 0.8112 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/1.074, allocations: 35.34 kB / 0.8112 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/1.074, allocations: 7.531 kB / 0.8112 GB, free: 9.934 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 0.0001065/1.074, allocations: 120.1 kB / 0.8113 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/1.074, allocations: 7.75 kB / 0.8114 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/1.074, allocations: 19.02 kB / 0.8114 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.074, allocations: 3.953 kB / 0.8114 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.074, allocations: 0 / 0.8114 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.074, allocations: 0 / 0.8114 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/1.074, allocations: 221.5 kB / 0.8116 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.074, allocations: 3.984 kB / 0.8116 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/1.074, allocations: 11.62 kB / 0.8116 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.074, allocations: 6.906 kB / 0.8116 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/1.074, allocations: 7.375 kB / 0.8116 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.074, allocations: 3.938 kB / 0.8116 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.074, allocations: 3.953 kB / 0.8116 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/1.074, allocations: 141.3 kB / 0.8118 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/1.075, allocations: 84.86 kB / 0.8118 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/1.075, allocations: 3.625 kB / 0.8118 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.075, allocations: 29.27 kB / 0.8119 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/1.075, allocations: 26.98 kB / 0.8119 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.075, allocations: 0 / 0.8119 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.527e-05/1.075, allocations: 116.4 kB / 0.812 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.075, allocations: 0 / 0.812 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002861/1.075, allocations: 26.84 kB / 0.812 GB, free: 9.34 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.000831/1.076, allocations: 0.6865 MB / 0.8127 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002663/1.076, allocations: 85.56 kB / 0.8128 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.076, allocations: 0 / 0.8128 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/1.077, allocations: 48.23 kB / 0.8128 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/1.077, allocations: 31.59 kB / 0.8129 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/1.077, allocations: 203.4 kB / 0.8131 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/1.078, allocations: 0.7137 MB / 0.8138 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.747e-05/1.078, allocations: 11.38 kB / 0.8138 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/1.078, allocations: 38.94 kB / 0.8138 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/1.078, allocations: 0 / 0.8138 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/1.099, allocations: 2.599 MB / 0.8163 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/1.099, allocations: 170.1 kB / 0.8165 GB, free: 23.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.338, allocations: 0 / 0.8165 GB, free: 23.34 MB / 0.6511 GB