Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.592/4.592, allocations: 404.2 MB / 411.3 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.215e-05, allocations: 0 / 0.4945 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7178, allocations: 92.7 MB / 0.585 GB, free: 2.281 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/0.9604, allocations: 120.1 MB / 0.7023 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.9607, allocations: 71.95 kB / 0.7024 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005086/0.9658, allocations: 1.096 MB / 0.7034 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9659, allocations: 0 / 0.7034 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.9659, allocations: 0 / 0.7034 GB, free: 8.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006232/0.9665, allocations: 384.2 kB / 0.7038 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.9666, allocations: 8.031 kB / 0.7038 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.9667, allocations: 11.86 kB / 0.7038 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.9668, allocations: 163.1 kB / 0.704 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.9669, allocations: 0 / 0.704 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.9669, allocations: 4 kB / 0.704 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.443e-05/0.967, allocations: 12 kB / 0.704 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.9671, allocations: 57.61 kB / 0.7041 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9672, allocations: 0 / 0.7041 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.9672, allocations: 4 kB / 0.7041 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.9672, allocations: 3.953 kB / 0.7041 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.9677, allocations: 245.5 kB / 0.7043 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.9678, allocations: 34.58 kB / 0.7043 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.9679, allocations: 16.98 kB / 0.7043 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.9679, allocations: 3.984 kB / 0.7044 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.9682, allocations: 104.9 kB / 0.7045 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.9682, allocations: 0 / 0.7045 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002998/0.9685, allocations: 85.64 kB / 0.7045 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.9686, allocations: 85.05 kB / 0.7046 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.9687, allocations: 112.8 kB / 0.7047 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.9687, allocations: 25.7 kB / 0.7047 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.9688, allocations: 84.14 kB / 0.7048 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.9688, allocations: 23.86 kB / 0.7048 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.9689, allocations: 4 kB / 0.7049 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.969, allocations: 314.8 kB / 0.7052 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.9691, allocations: 12 kB / 0.7052 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.9692, allocations: 38.5 kB / 0.7052 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.9692, allocations: 12 kB / 0.7052 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9693, allocations: 8 kB / 0.7052 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002521/0.9695, allocations: 85.53 kB / 0.7053 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.9696, allocations: 33.69 kB / 0.7053 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9696, allocations: 4 kB / 0.7053 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.9696, allocations: 64 / 0.7053 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.9697, allocations: 8 kB / 0.7053 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.9697, allocations: 3.953 kB / 0.7053 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.9698, allocations: 8 kB / 0.7054 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.9699, allocations: 0 / 0.7054 GB, free: 6.672 MB / 0.5886 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.pulsStart,booleanPulse.pulsStart) * 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 0.0001389/0.97, allocations: 152.3 kB / 0.7055 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002403/0.9703, allocations: 85.69 kB / 0.7056 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.9703, allocations: 11.89 kB / 0.7056 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.9704, allocations: 8.625 kB / 0.7056 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.9704, allocations: 7.953 kB / 0.7056 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9704, allocations: 0 / 0.7056 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.9704, allocations: 0 / 0.7056 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.9709, allocations: 335.1 kB / 0.7059 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.971, allocations: 4 kB / 0.7059 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.971, allocations: 3.938 kB / 0.7059 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.971, allocations: 0 / 0.7059 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.971, allocations: 7.953 kB / 0.7059 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.971, allocations: 0.5469 kB / 0.7059 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9711, allocations: 0 / 0.7059 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.9714, allocations: 199.5 kB / 0.7061 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.9714, allocations: 81.05 kB / 0.7062 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.9715, allocations: 8 kB / 0.7062 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.9717, allocations: 15.94 kB / 0.7062 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.9718, allocations: 7.922 kB / 0.7062 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.9718, allocations: 7.984 kB / 0.7063 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.9719, allocations: 91.34 kB / 0.7063 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9719, allocations: 0 / 0.7063 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004/0.9723, allocations: 12 kB / 0.7063 GB, free: 5.559 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * 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.0006535/0.973, allocations: 0.738 MB / 0.7071 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.9732, allocations: 103.4 kB / 0.7072 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9732, allocations: 0 / 0.7072 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.9734, allocations: 87.34 kB / 0.7073 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.9737, allocations: 24.86 kB / 0.7073 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.9743, allocations: 117.6 kB / 0.7074 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.9747, allocations: 0.6885 MB / 0.7081 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.721e-05/0.9747, allocations: 7.984 kB / 0.7081 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.9748, allocations: 15.44 kB / 0.7081 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.9748, allocations: 0 / 0.7081 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04163/1.016, allocations: 1.284 MB / 0.7093 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000348/1.017, allocations: 146.8 kB / 0.7095 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.594/3.611, allocations: 0 / 0.7095 GB, free: 2.199 MB / 0.5886 GB