Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.324/4.324, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.231e-05/5.263e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8818/1.132, allocations: 132 MB / 0.8008 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.132, allocations: 74.8 kB / 0.8009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00454/1.137, allocations: 1.133 MB / 0.802 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.137, allocations: 4 kB / 0.802 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.303e-06/1.137, allocations: 0 / 0.802 GB, free: 12.8 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.0004992/1.137, allocations: 385.5 kB / 0.8024 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.137, allocations: 7.656 kB / 0.8024 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/1.137, allocations: 34.19 kB / 0.8024 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/1.137, allocations: 14.7 kB / 0.8024 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/1.137, allocations: 170.9 kB / 0.8026 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/1.137, allocations: 0 / 0.8026 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/1.137, allocations: 3.875 kB / 0.8026 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/1.138, allocations: 51.03 kB / 0.8026 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.138, allocations: 0 / 0.8026 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.138, allocations: 3.844 kB / 0.8026 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.138, allocations: 0 / 0.8026 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/1.138, allocations: 18.44 kB / 0.8026 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/1.138, allocations: 275.2 kB / 0.8029 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.138, allocations: 42.55 kB / 0.803 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/1.138, allocations: 16.36 kB / 0.803 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/1.138, allocations: 6.547 kB / 0.803 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/1.138, allocations: 96.52 kB / 0.8031 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/1.139, allocations: 0 / 0.8031 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002701/1.139, allocations: 128.5 kB / 0.8032 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.139, allocations: 82.53 kB / 0.8033 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/1.139, allocations: 101.5 kB / 0.8034 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/1.139, allocations: 30.97 kB / 0.8034 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/1.139, allocations: 83.83 kB / 0.8035 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/1.139, allocations: 16.77 kB / 0.8035 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/1.139, allocations: 7.25 kB / 0.8035 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/1.139, allocations: 321.1 kB / 0.8038 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/1.139, allocations: 15.12 kB / 0.8038 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/1.139, allocations: 34.95 kB / 0.8039 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.363e-05/1.139, allocations: 46.94 kB / 0.8039 GB, free: 11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.139, allocations: 0 / 0.8039 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001856/1.14, allocations: 121.7 kB / 0.804 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.14, allocations: 34.92 kB / 0.804 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.14, allocations: 4.062 kB / 0.804 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.14, allocations: 0 / 0.804 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/1.14, allocations: 13.02 kB / 0.8041 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.14, allocations: 3.953 kB / 0.8041 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.703e-05/1.14, allocations: 9.25 kB / 0.8041 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/1.14, allocations: 11.8 kB / 0.8041 GB, free: 10.88 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.133e-05/1.14, allocations: 145.2 kB / 0.8042 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/1.14, allocations: 8.969 kB / 0.8042 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/1.14, allocations: 16.11 kB / 0.8042 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.14, allocations: 1.359 kB / 0.8042 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.14, allocations: 0 / 0.8042 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.14, allocations: 7.828 kB / 0.8043 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/1.14, allocations: 389.8 kB / 0.8046 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.141, allocations: 0 / 0.8046 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/1.141, allocations: 3.844 kB / 0.8046 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.141, allocations: 1.078 kB / 0.8046 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.141, allocations: 3.375 kB / 0.8046 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.141, allocations: 7.953 kB / 0.8046 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.141, allocations: 8.438 kB / 0.8047 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/1.141, allocations: 225.5 kB / 0.8049 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/1.141, allocations: 78.52 kB / 0.8049 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/1.141, allocations: 3.938 kB / 0.8049 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/1.141, allocations: 14.58 kB / 0.805 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/1.141, allocations: 13.78 kB / 0.805 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/1.141, allocations: 9.109 kB / 0.805 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.819e-05/1.141, allocations: 86.5 kB / 0.8051 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.141, allocations: 0 / 0.8051 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003179/1.142, allocations: 13.03 kB / 0.8051 GB, free: 10.03 MB / 0.6355 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.0008599/1.142, allocations: 0.7649 MB / 0.8058 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002113/1.143, allocations: 113.5 kB / 0.8059 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.143, allocations: 0 / 0.8059 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/1.143, allocations: 93.38 kB / 0.806 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/1.143, allocations: 13.92 kB / 0.806 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/1.144, allocations: 136.2 kB / 0.8062 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/1.144, allocations: 0.6918 MB / 0.8068 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.873e-05/1.144, allocations: 5.297 kB / 0.8068 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/1.144, allocations: 16.38 kB / 0.8069 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/1.144, allocations: 0 / 0.8069 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/1.165, allocations: 1.603 MB / 0.8084 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.166, allocations: 151.7 kB / 0.8086 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.526, allocations: 0 / 0.8086 GB, free: 23.89 MB / 0.6511 GB