Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.953/3.953, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.324e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6471, allocations: 92.68 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.8896, allocations: 120.7 MB / 0.7075 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.8899, allocations: 75.95 kB / 0.7076 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00476/0.8947, allocations: 1.108 MB / 0.7087 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8947, allocations: 0 / 0.7087 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8947, allocations: 4 kB / 0.7087 GB, free: 4.434 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.0006068/0.8954, allocations: 377.7 kB / 0.709 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.8954, allocations: 12.03 kB / 0.709 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.8955, allocations: 30.56 kB / 0.7091 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.8955, allocations: 11.86 kB / 0.7091 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.8957, allocations: 171.1 kB / 0.7092 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.8957, allocations: 4 kB / 0.7093 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.8958, allocations: 4 kB / 0.7093 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.8959, allocations: 57.56 kB / 0.7093 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.896, allocations: 0 / 0.7093 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.896, allocations: 0 / 0.7093 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.896, allocations: 0 / 0.7093 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.183e-05/0.8961, allocations: 19.95 kB / 0.7093 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.8966, allocations: 272.9 kB / 0.7096 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.8967, allocations: 46.5 kB / 0.7096 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.8968, allocations: 16.98 kB / 0.7097 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.8969, allocations: 0 / 0.7097 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.8971, allocations: 105 kB / 0.7098 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.8971, allocations: 0 / 0.7098 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003511/0.8975, allocations: 123.3 kB / 0.7099 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.8975, allocations: 89.09 kB / 0.71 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.8977, allocations: 100.9 kB / 0.7101 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.8977, allocations: 29.7 kB / 0.7101 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.8978, allocations: 84.22 kB / 0.7102 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.8978, allocations: 19.78 kB / 0.7102 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.8978, allocations: 7.938 kB / 0.7102 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.898, allocations: 314.8 kB / 0.7105 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.8981, allocations: 16 kB / 0.7105 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.8982, allocations: 42.56 kB / 0.7105 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.8983, allocations: 41.64 kB / 0.7106 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8983, allocations: 0 / 0.7106 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002459/0.8985, allocations: 127.2 kB / 0.7107 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.8986, allocations: 33.7 kB / 0.7107 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8986, allocations: 0 / 0.7107 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.8986, allocations: 8.016 kB / 0.7107 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.8987, allocations: 8 kB / 0.7108 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8987, allocations: 0 / 0.7108 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.8989, allocations: 11.98 kB / 0.7108 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.8989, allocations: 4 kB / 0.7108 GB, free: 2.016 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.000131/0.899, allocations: 134.7 kB / 0.7109 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.8991, allocations: 4 kB / 0.7109 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.8991, allocations: 20.55 kB / 0.7109 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8991, allocations: 4 kB / 0.7109 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8991, allocations: 3.953 kB / 0.7109 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8992, allocations: 0 / 0.7109 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.8998, allocations: 392.2 kB / 0.7113 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.8998, allocations: 3.984 kB / 0.7113 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.8998, allocations: 3.938 kB / 0.7113 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.8999, allocations: 4 kB / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.8999, allocations: 3.953 kB / 0.7113 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8999, allocations: 0 / 0.7113 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8999, allocations: 4 kB / 0.7113 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.9003, allocations: 237.1 kB / 0.7115 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.9003, allocations: 85.09 kB / 0.7116 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.9004, allocations: 3.938 kB / 0.7116 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.9006, allocations: 15.94 kB / 0.7116 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.9006, allocations: 8 kB / 0.7117 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.9007, allocations: 4 kB / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.205e-05/0.9008, allocations: 95.81 kB / 0.7117 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9008, allocations: 0 / 0.7117 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003075/0.9011, allocations: 12 kB / 0.7118 GB, free: 0.8867 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.0009909/0.9021, allocations: 0.7629 MB / 0.7125 GB, free: 92 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.9026, allocations: 119.6 kB / 0.7126 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9026, allocations: 0 / 0.7126 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.9028, allocations: 91.39 kB / 0.7127 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.9034, allocations: 15.89 kB / 0.7127 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.9044, allocations: 130.5 kB / 0.7128 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.9049, allocations: 0.694 MB / 0.7135 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.995e-05/0.905, allocations: 8.109 kB / 0.7135 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.9051, allocations: 19.44 kB / 0.7135 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/0.9051, allocations: 0 / 0.7135 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.931, allocations: 1.613 MB / 0.7151 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/0.9314, allocations: 153.1 kB / 0.7153 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/3.289, allocations: 0 / 0.7153 GB, free: 13.17 MB / 0.6042 GB