Running command: "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.357/3.357, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.414e-05/5.425e-05, allocations: 4 kB / 436.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1868, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6385/0.8254, allocations: 106.2 MB / 0.606 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.8257, allocations: 67.97 kB / 0.6061 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004813/0.8305, allocations: 1.123 MB / 0.6072 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8306, allocations: 0 / 0.6072 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8306, allocations: 0 / 0.6072 GB, free: 13.65 MB / 0.4948 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.000598/0.8312, allocations: 380.2 kB / 0.6075 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.8313, allocations: 12.03 kB / 0.6075 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.8313, allocations: 34.55 kB / 0.6076 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.8314, allocations: 7.906 kB / 0.6076 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.8316, allocations: 178.9 kB / 0.6078 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.8316, allocations: 4.875 kB / 0.6078 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.8316, allocations: 4 kB / 0.6078 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.8318, allocations: 49.67 kB / 0.6078 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8318, allocations: 0 / 0.6078 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8318, allocations: 4 kB / 0.6078 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8318, allocations: 4 kB / 0.6078 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.8319, allocations: 20.53 kB / 0.6078 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.8324, allocations: 264.9 kB / 0.6081 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.8326, allocations: 42.52 kB / 0.6081 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.8327, allocations: 20.98 kB / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.8327, allocations: 0 / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.8329, allocations: 109.7 kB / 0.6083 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.474e-06/0.8329, allocations: 0 / 0.6083 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0003196/0.8333, allocations: 119.3 kB / 0.6084 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.8333, allocations: 85.06 kB / 0.6084 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.8335, allocations: 113 kB / 0.6086 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.8335, allocations: 29.64 kB / 0.6086 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.8336, allocations: 86.44 kB / 0.6087 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.8336, allocations: 19.81 kB / 0.6087 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.8336, allocations: 0 / 0.6087 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8338, allocations: 322.8 kB / 0.609 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.8339, allocations: 12 kB / 0.609 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.8339, allocations: 38.52 kB / 0.609 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.834, allocations: 49.62 kB / 0.6091 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.834, allocations: 4 kB / 0.6091 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002392/0.8343, allocations: 123.3 kB / 0.6092 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.8344, allocations: 32.36 kB / 0.6092 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8344, allocations: 0 / 0.6092 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.8344, allocations: 4 kB / 0.6092 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.8345, allocations: 7.922 kB / 0.6093 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.8345, allocations: 7.953 kB / 0.6093 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.8346, allocations: 4 kB / 0.6093 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.8347, allocations: 4.062 kB / 0.6093 GB, free: 11.23 MB / 0.4948 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 0.0001279/0.8348, allocations: 153.9 kB / 0.6094 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.8348, allocations: 4 kB / 0.6094 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.8349, allocations: 12.56 kB / 0.6094 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.8349, allocations: 0 / 0.6094 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8349, allocations: 0 / 0.6094 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.8349, allocations: 7.953 kB / 0.6094 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.8355, allocations: 388.2 kB / 0.6098 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8356, allocations: 4 kB / 0.6098 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.8356, allocations: 3.984 kB / 0.6098 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.8356, allocations: 0 / 0.6098 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.8356, allocations: 4 kB / 0.6098 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.8356, allocations: 3.953 kB / 0.6098 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8356, allocations: 0 / 0.6098 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.836, allocations: 237.1 kB / 0.61 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.836, allocations: 81.02 kB / 0.6101 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.8361, allocations: 4 kB / 0.6101 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.8363, allocations: 19.98 kB / 0.6101 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.8363, allocations: 15.92 kB / 0.6102 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.8364, allocations: 4 kB / 0.6102 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.8364, allocations: 83.28 kB / 0.6102 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.4e-07/0.8364, allocations: 0 / 0.6102 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003231/0.8368, allocations: 16 kB / 0.6103 GB, free: 10.09 MB / 0.4948 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.0006277/0.8374, allocations: 0.7649 MB / 0.611 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.8377, allocations: 112.2 kB / 0.6111 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8377, allocations: 0 / 0.6111 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.8379, allocations: 91.34 kB / 0.6112 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.8382, allocations: 12.97 kB / 0.6112 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.8388, allocations: 134.7 kB / 0.6113 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.8391, allocations: 0.6926 MB / 0.612 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.569e-05/0.8392, allocations: 4 kB / 0.612 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.8392, allocations: 15.44 kB / 0.612 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/0.8392, allocations: 0 / 0.612 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.8613, allocations: 1.615 MB / 0.6136 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/0.8617, allocations: 162.4 kB / 0.6138 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/3.256, allocations: 4 kB / 0.6138 GB, free: 6.395 MB / 0.4948 GB