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.815/3.815, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.793e-05, allocations: 8 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5788/0.5788, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/0.8141, allocations: 121.2 MB / 0.708 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.8145, allocations: 83.94 kB / 0.7081 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004618/0.8191, allocations: 1.078 MB / 0.7092 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8192, allocations: 4 kB / 0.7092 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.8192, allocations: 4 kB / 0.7092 GB, free: 3.938 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.000716/0.82, allocations: 378.4 kB / 0.7095 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.82, allocations: 12.03 kB / 0.7095 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.8201, allocations: 34.56 kB / 0.7096 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.8202, allocations: 11.95 kB / 0.7096 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.8204, allocations: 182.8 kB / 0.7098 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/0.8205, allocations: 37.7 kB / 0.7098 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.8205, allocations: 8 kB / 0.7098 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.8208, allocations: 93.56 kB / 0.7099 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8208, allocations: 0 / 0.7099 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.8208, allocations: 0 / 0.7099 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.8209, allocations: 11.94 kB / 0.7099 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.8211, allocations: 43.98 kB / 0.7099 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.822, allocations: 348.7 kB / 0.7103 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.8223, allocations: 94.56 kB / 0.7104 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.8224, allocations: 40.98 kB / 0.7104 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.8225, allocations: 7.953 kB / 0.7104 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.8229, allocations: 195 kB / 0.7106 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.8229, allocations: 0 / 0.7106 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.000466/0.8234, allocations: 153.5 kB / 0.7107 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.8235, allocations: 55.41 kB / 0.7108 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.8236, allocations: 117.2 kB / 0.7109 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.8237, allocations: 34.08 kB / 0.7109 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.8237, allocations: 88.12 kB / 0.711 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.8238, allocations: 39.62 kB / 0.7111 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.8238, allocations: 4 kB / 0.7111 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.824, allocations: 322.8 kB / 0.7114 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.8241, allocations: 44.38 kB / 0.7114 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.8243, allocations: 85.03 kB / 0.7115 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.8244, allocations: 27.98 kB / 0.7115 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8244, allocations: 0 / 0.7115 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003876/0.8248, allocations: 149.5 kB / 0.7117 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8249, allocations: 11.95 kB / 0.7117 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8249, allocations: 4.094 kB / 0.7117 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8249, allocations: 4 kB / 0.7117 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.825, allocations: 15.92 kB / 0.7117 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.8251, allocations: 4 kB / 0.7117 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.8253, allocations: 23.92 kB / 0.7117 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.8253, allocations: 8 kB / 0.7117 GB, free: 1.055 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.000129/0.8254, allocations: 116.9 kB / 0.7118 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.8255, allocations: 11.91 kB / 0.7119 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.8256, allocations: 24.69 kB / 0.7119 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.8256, allocations: 4 kB / 0.7119 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8256, allocations: 0 / 0.7119 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.8256, allocations: 0 / 0.7119 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009433/0.8266, allocations: 474.2 kB / 0.7123 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8266, allocations: 0 / 0.7123 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.8266, allocations: 12 kB / 0.7123 GB, free: 372 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.8266, allocations: 3.938 kB / 0.7123 GB, free: 368 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.8267, allocations: 7.984 kB / 0.7124 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8267, allocations: 0 / 0.7124 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8267, allocations: 0 / 0.7124 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.8271, allocations: 251.3 kB / 0.7126 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.8272, allocations: 84.97 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.8273, allocations: 8 kB / 0.7127 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.8275, allocations: 19.98 kB / 0.7127 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.8276, allocations: 31.92 kB / 0.7127 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.8277, allocations: 16.03 kB / 0.7128 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.071e-05/0.8277, allocations: 91.22 kB / 0.7128 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8277, allocations: 0 / 0.7128 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003345/0.8281, allocations: 28 kB / 0.7129 GB, free: 15.8 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.000814/0.8289, allocations: 0.8135 MB / 0.7137 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.8293, allocations: 120.4 kB / 0.7138 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8293, allocations: 0 / 0.7138 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.8295, allocations: 87.92 kB / 0.7139 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.8299, allocations: 25.48 kB / 0.7139 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.8307, allocations: 195.2 kB / 0.7141 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.8311, allocations: 0.6971 MB / 0.7147 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.814e-05/0.8312, allocations: 12.77 kB / 0.7148 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.8313, allocations: 31.42 kB / 0.7148 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/0.8313, allocations: 4 kB / 0.7148 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.8526, allocations: 2.564 MB / 0.7173 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.8529, allocations: 164.5 kB / 0.7175 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.1, allocations: 3.938 kB / 0.7175 GB, free: 11.01 MB / 0.6042 GB