Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.992/3.992, allocations: 432.8 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.874e-05, allocations: 5.062 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2492, allocations: 98.72 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.4779, allocations: 124.7 MB / 0.752 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4782, allocations: 71.95 kB / 0.7521 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006703/0.485, allocations: 1.591 MB / 0.7536 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.424e-06/0.485, allocations: 4 kB / 0.7536 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.485, allocations: 7.875 kB / 0.7536 GB, free: 7.566 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.000778/0.4858, allocations: 419.9 kB / 0.754 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4859, allocations: 8.031 kB / 0.754 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.486, allocations: 46.55 kB / 0.7541 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.486, allocations: 15.81 kB / 0.7541 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.4862, allocations: 183 kB / 0.7543 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4863, allocations: 12.19 kB / 0.7543 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.4863, allocations: 16 kB / 0.7543 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4865, allocations: 85.23 kB / 0.7544 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4866, allocations: 0 / 0.7544 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.4866, allocations: 7.984 kB / 0.7544 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4866, allocations: 0 / 0.7544 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.4868, allocations: 60.31 kB / 0.7544 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.4876, allocations: 393.3 kB / 0.7548 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.4879, allocations: 78.55 kB / 0.7549 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.381e-05/0.488, allocations: 32.86 kB / 0.7549 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.488, allocations: 8 kB / 0.7549 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.4883, allocations: 91.55 kB / 0.755 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.474e-06/0.4883, allocations: 0 / 0.755 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003462/0.4886, allocations: 113.6 kB / 0.7551 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.4887, allocations: 55.41 kB / 0.7552 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.4889, allocations: 144.3 kB / 0.7553 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.4889, allocations: 29.7 kB / 0.7553 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.489, allocations: 112.2 kB / 0.7554 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.4891, allocations: 27.69 kB / 0.7555 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.4891, allocations: 4 kB / 0.7555 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4892, allocations: 322.8 kB / 0.7558 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.4893, allocations: 24 kB / 0.7558 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4895, allocations: 52.69 kB / 0.7559 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.4896, allocations: 35.92 kB / 0.7559 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4896, allocations: 0 / 0.7559 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002909/0.4899, allocations: 129.5 kB / 0.756 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4899, allocations: 4 kB / 0.756 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4899, allocations: 4 kB / 0.756 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.49, allocations: 0 / 0.756 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4901, allocations: 12 kB / 0.756 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4901, allocations: 3.984 kB / 0.756 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.4904, allocations: 35.92 kB / 0.7561 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.4904, allocations: 4 kB / 0.7561 GB, free: 4.809 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.0001026/0.4905, allocations: 120.9 kB / 0.7562 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.4906, allocations: 15.8 kB / 0.7562 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.4906, allocations: 20.73 kB / 0.7562 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4907, allocations: 0 / 0.7562 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4907, allocations: 4 kB / 0.7562 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.4907, allocations: 0 / 0.7562 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.491, allocations: 225.5 kB / 0.7564 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.491, allocations: 0 / 0.7564 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.4911, allocations: 8 kB / 0.7565 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4911, allocations: 0 / 0.7565 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4912, allocations: 3.953 kB / 0.7565 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4912, allocations: 7.938 kB / 0.7565 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4912, allocations: 0 / 0.7565 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.4915, allocations: 152.9 kB / 0.7566 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.4916, allocations: 85.02 kB / 0.7567 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.4916, allocations: 0 / 0.7567 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.4918, allocations: 31.92 kB / 0.7567 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.4919, allocations: 7.984 kB / 0.7567 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4919, allocations: 11.98 kB / 0.7567 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001158/0.4921, allocations: 117.7 kB / 0.7569 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/0.4921, allocations: 0 / 0.7569 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003071/0.4924, allocations: 27.94 kB / 0.7569 GB, free: 3.895 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.0006468/0.4931, allocations: 0.6901 MB / 0.7576 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.4933, allocations: 79.94 kB / 0.7576 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4934, allocations: 0 / 0.7576 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4935, allocations: 51.92 kB / 0.7577 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.4939, allocations: 19.94 kB / 0.7577 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.4945, allocations: 199.4 kB / 0.7579 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.4949, allocations: 0.7128 MB / 0.7586 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.495, allocations: 13.2 kB / 0.7586 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.4951, allocations: 35.42 kB / 0.7586 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/0.4951, allocations: 0 / 0.7586 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.5208, allocations: 2.477 MB / 0.7611 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.5212, allocations: 174.4 kB / 0.7612 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.7, allocations: 0 / 0.7612 GB, free: 15.38 MB / 0.6511 GB