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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.61/4.61, allocations: 404.1 MB / 411.3 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.247e-05, allocations: 4 kB / 0.4946 GB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.6586, allocations: 92.68 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2484/0.9071, allocations: 120.6 MB / 0.7028 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.9076, allocations: 83.94 kB / 0.7029 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005144/0.9127, allocations: 1.085 MB / 0.7039 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9128, allocations: 4 kB / 0.7039 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.9128, allocations: 4 kB / 0.7039 GB, free: 8.398 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.0007388/0.9136, allocations: 374.4 kB / 0.7043 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.9136, allocations: 8.031 kB / 0.7043 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.9137, allocations: 15.95 kB / 0.7043 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.9139, allocations: 174.9 kB / 0.7045 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.914, allocations: 41.69 kB / 0.7045 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.9141, allocations: 4 kB / 0.7045 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001819/0.9143, allocations: 43.98 kB / 0.7046 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.9145, allocations: 85.56 kB / 0.7047 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.9145, allocations: 0 / 0.7047 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.9146, allocations: 4 kB / 0.7047 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.9146, allocations: 3.953 kB / 0.7047 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/0.9155, allocations: 321.3 kB / 0.705 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.9158, allocations: 86.56 kB / 0.7051 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.9159, allocations: 40.98 kB / 0.7051 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.916, allocations: 0 / 0.7051 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004888/0.9165, allocations: 195 kB / 0.7053 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.776e-06/0.9165, allocations: 0 / 0.7053 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004912/0.917, allocations: 143 kB / 0.7054 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.917, allocations: 59.39 kB / 0.7055 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.9172, allocations: 105.2 kB / 0.7056 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.9172, allocations: 37.69 kB / 0.7056 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.9173, allocations: 88.14 kB / 0.7057 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.9174, allocations: 43.55 kB / 0.7057 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.9174, allocations: 0 / 0.7057 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9176, allocations: 322.8 kB / 0.706 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.9177, allocations: 40.38 kB / 0.7061 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.918, allocations: 72.86 kB / 0.7062 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.9181, allocations: 27.98 kB / 0.7062 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9181, allocations: 0 / 0.7062 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00041/0.9185, allocations: 130.6 kB / 0.7063 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.9186, allocations: 4 kB / 0.7063 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.9186, allocations: 0 / 0.7063 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.9186, allocations: 11.89 kB / 0.7063 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.9188, allocations: 16.08 kB / 0.7063 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9188, allocations: 4 kB / 0.7063 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.919, allocations: 15.98 kB / 0.7064 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.919, allocations: 4 kB / 0.7064 GB, free: 5.703 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.0001322/0.9192, allocations: 117 kB / 0.7065 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003891/0.9196, allocations: 143.3 kB / 0.7066 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.9196, allocations: 15.84 kB / 0.7066 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.9197, allocations: 20.75 kB / 0.7066 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9198, allocations: 0 / 0.7066 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.9198, allocations: 0 / 0.7066 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.9198, allocations: 4.375 kB / 0.7066 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.9208, allocations: 434.8 kB / 0.7071 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.9208, allocations: 3.953 kB / 0.7071 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.9209, allocations: 7.984 kB / 0.7071 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.9209, allocations: 7.938 kB / 0.7071 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.9209, allocations: 4 kB / 0.7071 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.9209, allocations: 0 / 0.7071 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.921, allocations: 7.938 kB / 0.7071 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.9214, allocations: 237.9 kB / 0.7073 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.9215, allocations: 88.91 kB / 0.7074 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.9216, allocations: 7.984 kB / 0.7074 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.9219, allocations: 23.98 kB / 0.7074 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.922, allocations: 31.92 kB / 0.7075 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.9221, allocations: 8 kB / 0.7075 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.681e-05/0.9222, allocations: 91.28 kB / 0.7076 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9222, allocations: 0 / 0.7076 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004878/0.9227, allocations: 23.98 kB / 0.7076 GB, free: 4.363 MB / 0.5886 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.0008103/0.9235, allocations: 0.7901 MB / 0.7084 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.9239, allocations: 111.9 kB / 0.7085 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9239, allocations: 0 / 0.7085 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.9241, allocations: 83.92 kB / 0.7085 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.9246, allocations: 20.17 kB / 0.7086 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.9255, allocations: 171.6 kB / 0.7087 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.9258, allocations: 0.6969 MB / 0.7094 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.926, allocations: 12.77 kB / 0.7094 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.9261, allocations: 31.42 kB / 0.7094 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/0.9261, allocations: 0 / 0.7094 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.9755, allocations: 2.244 MB / 0.7116 GB, free: 140 kB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002328/0.9758, allocations: 145.5 kB / 0.7118 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.598/3.574, allocations: 0 / 0.7118 GB, free: 15.95 MB / 0.6042 GB