Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.934/3.934, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.928e-05/5.912e-05, allocations: 15.88 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6139/0.614, allocations: 92.69 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/0.8406, allocations: 121.2 MB / 0.7081 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.841, allocations: 83.94 kB / 0.7081 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004483/0.8455, allocations: 1.085 MB / 0.7092 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8456, allocations: 3.938 kB / 0.7092 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.8456, allocations: 0 / 0.7092 GB, free: 3.805 MB / 0.5886 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.0006811/0.8463, allocations: 378.4 kB / 0.7096 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.8463, allocations: 8.031 kB / 0.7096 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.209e-05/0.8464, allocations: 42.55 kB / 0.7096 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.8465, allocations: 7.953 kB / 0.7096 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.8466, allocations: 178.9 kB / 0.7098 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/0.8467, allocations: 41.69 kB / 0.7098 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.8468, allocations: 4 kB / 0.7098 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.847, allocations: 85.64 kB / 0.7099 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.847, allocations: 3.938 kB / 0.7099 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.8471, allocations: 8 kB / 0.7099 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.8471, allocations: 7.891 kB / 0.7099 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.8473, allocations: 47.97 kB / 0.71 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.8481, allocations: 344.8 kB / 0.7103 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.8484, allocations: 90.58 kB / 0.7104 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.8486, allocations: 44.97 kB / 0.7104 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.8486, allocations: 3.953 kB / 0.7104 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.8491, allocations: 199.1 kB / 0.7106 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.514e-06/0.8491, allocations: 0 / 0.7106 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004648/0.8496, allocations: 157.5 kB / 0.7108 GB, free: 2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.8496, allocations: 55.41 kB / 0.7108 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.8498, allocations: 117 kB / 0.7109 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.8498, allocations: 37.7 kB / 0.711 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.8499, allocations: 84.14 kB / 0.7111 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.85, allocations: 35.59 kB / 0.7111 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.85, allocations: 4 kB / 0.7111 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8502, allocations: 326.8 kB / 0.7114 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.8503, allocations: 44.38 kB / 0.7115 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.8505, allocations: 76.86 kB / 0.7115 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.8506, allocations: 32.06 kB / 0.7116 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8506, allocations: 4 kB / 0.7116 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003747/0.851, allocations: 149.4 kB / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.851, allocations: 7.953 kB / 0.7117 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8511, allocations: 0 / 0.7117 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8511, allocations: 4 kB / 0.7117 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.8512, allocations: 8 kB / 0.7117 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8512, allocations: 0 / 0.7117 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.8514, allocations: 24.02 kB / 0.7117 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.8515, allocations: 8 kB / 0.7118 GB, free: 0.9414 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.toggle1.u0,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.toggle1.u,toggle1.u,toggle1.u0,$PRE.toggle1.y,toggle1.y,$PRE.toggle1.scenario,toggle1.scenario) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001204/0.8516, allocations: 128.9 kB / 0.7119 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.8516, allocations: 7.906 kB / 0.7119 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.8517, allocations: 20.7 kB / 0.7119 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.8517, allocations: 0 / 0.7119 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8518, allocations: 4 kB / 0.7119 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8518, allocations: 0 / 0.7119 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.8527, allocations: 482.2 kB / 0.7124 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8527, allocations: 0 / 0.7124 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.8528, allocations: 3.984 kB / 0.7124 GB, free: 252 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.8528, allocations: 4 kB / 0.7124 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.8528, allocations: 4 kB / 0.7124 GB, free: 244 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8528, allocations: 0 / 0.7124 GB, free: 244 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8528, allocations: 0 / 0.7124 GB, free: 244 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.8533, allocations: 255.3 kB / 0.7126 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.8533, allocations: 88.97 kB / 0.7127 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.8534, allocations: 11.94 kB / 0.7127 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.8536, allocations: 15.98 kB / 0.7127 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8538, allocations: 35.92 kB / 0.7128 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.8538, allocations: 4 kB / 0.7128 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.075e-05/0.8539, allocations: 103.6 kB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8539, allocations: 4 kB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003764/0.8543, allocations: 24 kB / 0.7129 GB, free: 15.67 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (toggle1.u0,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,toggle1.u,toggle1.y,toggle1.scenario) * Number of discrete states: 2 (toggle1.u,toggle1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * 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.0007795/0.8551, allocations: 0.8023 MB / 0.7137 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.8555, allocations: 128.1 kB / 0.7138 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.8555, allocations: 0 / 0.7138 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.8557, allocations: 87.92 kB / 0.7139 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.8561, allocations: 19.06 kB / 0.7139 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.8569, allocations: 199.2 kB / 0.7141 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.8572, allocations: 0.7011 MB / 0.7148 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.114e-05/0.8573, allocations: 12.77 kB / 0.7148 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.8575, allocations: 31.42 kB / 0.7148 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.8575, allocations: 0 / 0.7148 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.8835, allocations: 2.563 MB / 0.7173 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/0.8839, allocations: 167.1 kB / 0.7175 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/3.099, allocations: 0 / 0.7175 GB, free: 10.89 MB / 0.6042 GB