Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.463/4.463, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.832e-05, allocations: 4 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2533, allocations: 107.1 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.928/1.181, allocations: 132.4 MB / 0.8071 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.182, allocations: 71.36 kB / 0.8072 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004229/1.186, allocations: 1.133 MB / 0.8083 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/1.186, allocations: 0 / 0.8083 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.186, allocations: 0 / 0.8083 GB, free: 11.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004693/1.186, allocations: 384.7 kB / 0.8087 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.186, allocations: 11.53 kB / 0.8087 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/1.186, allocations: 30.56 kB / 0.8087 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/1.187, allocations: 7.75 kB / 0.8087 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/1.187, allocations: 173.1 kB / 0.8089 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/1.187, allocations: 0 / 0.8089 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/1.187, allocations: 3.906 kB / 0.8089 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/1.187, allocations: 59.14 kB / 0.8089 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.187, allocations: 0 / 0.8089 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.187, allocations: 5.891 kB / 0.8089 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.187, allocations: 0 / 0.8089 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-05/1.187, allocations: 14.91 kB / 0.8089 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/1.187, allocations: 267.7 kB / 0.8092 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.187, allocations: 41 kB / 0.8092 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/1.188, allocations: 30.3 kB / 0.8093 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/1.188, allocations: 2.578 kB / 0.8093 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/1.188, allocations: 99.75 kB / 0.8094 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/1.188, allocations: 0 / 0.8094 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002633/1.188, allocations: 119.2 kB / 0.8095 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.188, allocations: 87.2 kB / 0.8096 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/1.188, allocations: 100.9 kB / 0.8097 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/1.188, allocations: 29.7 kB / 0.8097 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/1.188, allocations: 87.17 kB / 0.8098 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/1.188, allocations: 25.53 kB / 0.8098 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-06/1.188, allocations: 0 / 0.8098 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/1.188, allocations: 318.2 kB / 0.8101 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/1.188, allocations: 18.28 kB / 0.8101 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/1.188, allocations: 36.66 kB / 0.8102 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/1.189, allocations: 48.34 kB / 0.8102 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.189, allocations: 0 / 0.8102 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001839/1.189, allocations: 128 kB / 0.8103 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/1.189, allocations: 29.45 kB / 0.8103 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.189, allocations: 4.031 kB / 0.8104 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.189, allocations: 7.938 kB / 0.8104 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/1.189, allocations: 6.453 kB / 0.8104 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.189, allocations: 3.938 kB / 0.8104 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.595e-05/1.189, allocations: 11.66 kB / 0.8104 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/1.189, allocations: 3.844 kB / 0.8104 GB, free: 9.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 8.162e-05/1.189, allocations: 146.8 kB / 0.8105 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/1.189, allocations: 7.719 kB / 0.8105 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/1.189, allocations: 14.11 kB / 0.8105 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.189, allocations: 0 / 0.8105 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.189, allocations: 0 / 0.8105 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.189, allocations: 0 / 0.8105 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/1.19, allocations: 399.9 kB / 0.8109 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.19, allocations: 0 / 0.8109 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/1.19, allocations: 0 / 0.8109 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.19, allocations: 0 / 0.8109 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.19, allocations: 7.625 kB / 0.8109 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.19, allocations: 0 / 0.8109 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.19, allocations: 0 / 0.8109 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/1.19, allocations: 240.8 kB / 0.8112 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/1.19, allocations: 83.83 kB / 0.8112 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/1.19, allocations: 7.781 kB / 0.8113 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/1.191, allocations: 10.58 kB / 0.8113 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/1.191, allocations: 10.34 kB / 0.8113 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/1.191, allocations: 0 / 0.8113 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.486e-05/1.191, allocations: 88.98 kB / 0.8114 GB, free: 25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.191, allocations: 0 / 0.8114 GB, free: 25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000307/1.191, allocations: 15.41 kB / 0.8114 GB, free: 25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005771/1.192, allocations: 0.769 MB / 0.8121 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002174/1.192, allocations: 114.5 kB / 0.8122 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.192, allocations: 0 / 0.8122 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/1.192, allocations: 80.66 kB / 0.8123 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/1.192, allocations: 22.11 kB / 0.8123 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/1.193, allocations: 133.1 kB / 0.8125 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/1.193, allocations: 0.6858 MB / 0.8131 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.201e-05/1.193, allocations: 10.41 kB / 0.8131 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/1.193, allocations: 16.97 kB / 0.8132 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/1.193, allocations: 0 / 0.8132 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/1.216, allocations: 1.605 MB / 0.8147 GB, free: 23.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/1.217, allocations: 166.9 kB / 0.8149 GB, free: 22.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.939, allocations: 0 / 0.8149 GB, free: 22.85 MB / 0.6511 GB