Running command: translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadModel(BuildingSystems): time 2.944/2.944, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.376e-05, allocations: 0 / 436.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 77.72 MB / 0.5022 GB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/0.6436, allocations: 106.2 MB / 0.6059 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.6438, allocations: 67.97 kB / 0.606 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004253/0.6481, allocations: 1.118 MB / 0.6071 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.791e-06/0.6481, allocations: 0 / 0.6071 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.6481, allocations: 0 / 0.6071 GB, free: 13.75 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.0005169/0.6487, allocations: 388.2 kB / 0.6075 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6487, allocations: 8.031 kB / 0.6075 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.6488, allocations: 7.906 kB / 0.6075 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.649, allocations: 178.9 kB / 0.6076 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.649, allocations: 0 / 0.6076 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.649, allocations: 4 kB / 0.6076 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.6492, allocations: 49.69 kB / 0.6077 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.655e-06/0.6492, allocations: 4 kB / 0.6077 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6492, allocations: 0 / 0.6077 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-06/0.6492, allocations: 0 / 0.6077 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.6493, allocations: 16 kB / 0.6077 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.6498, allocations: 269.4 kB / 0.608 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.6499, allocations: 46.5 kB / 0.608 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.65, allocations: 20.98 kB / 0.608 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.65, allocations: 0 / 0.608 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.6502, allocations: 105.1 kB / 0.6081 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.461e-06/0.6502, allocations: 0.6562 kB / 0.6081 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.00029/0.6505, allocations: 123.3 kB / 0.6082 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.6506, allocations: 85.05 kB / 0.6083 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.6507, allocations: 105.1 kB / 0.6084 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.6508, allocations: 29.7 kB / 0.6085 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.6508, allocations: 88.05 kB / 0.6085 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.6509, allocations: 26.08 kB / 0.6086 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-06/0.6509, allocations: 0 / 0.6086 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6511, allocations: 318.8 kB / 0.6089 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.6511, allocations: 12 kB / 0.6089 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.6512, allocations: 42.5 kB / 0.6089 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.6513, allocations: 49.64 kB / 0.609 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-06/0.6513, allocations: 0 / 0.609 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002278/0.6515, allocations: 120.2 kB / 0.6091 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.6516, allocations: 29.7 kB / 0.6091 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-06/0.6516, allocations: 0 / 0.6091 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6516, allocations: 4 kB / 0.6091 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.6517, allocations: 3.938 kB / 0.6091 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.319e-06/0.6517, allocations: 4 kB / 0.6091 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.6518, allocations: 23.91 kB / 0.6091 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.6519, allocations: 4 kB / 0.6092 GB, free: 11.37 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.0001269/0.652, allocations: 142.6 kB / 0.6093 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.652, allocations: 4.062 kB / 0.6093 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.6521, allocations: 12.61 kB / 0.6093 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-06/0.6521, allocations: 3.938 kB / 0.6093 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.231e-06/0.6521, allocations: 0 / 0.6093 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6521, allocations: 4 kB / 0.6093 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.6527, allocations: 404.2 kB / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-06/0.6527, allocations: 0 / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.6527, allocations: 0 / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.098e-06/0.6527, allocations: 0 / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.6528, allocations: 4 kB / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6528, allocations: 0 / 0.6097 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.6528, allocations: 11.88 kB / 0.6097 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.6531, allocations: 225.2 kB / 0.6099 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.6532, allocations: 89.02 kB / 0.61 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.6532, allocations: 4 kB / 0.61 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.6534, allocations: 11.98 kB / 0.61 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.6534, allocations: 11.94 kB / 0.61 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.6535, allocations: 7.984 kB / 0.61 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.6535, allocations: 83.28 kB / 0.6101 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.74e-07/0.6536, allocations: 0 / 0.6101 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003199/0.6539, allocations: 20 kB / 0.6101 GB, free: 10.23 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.0001312/0.654, allocations: 111.7 kB / 0.6103 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.6543, allocations: 111.4 kB / 0.6104 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.65e-06/0.6543, allocations: 4 kB / 0.6104 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.6545, allocations: 83.34 kB / 0.6104 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.6548, allocations: 12 kB / 0.6105 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.6551, allocations: 97.03 kB / 0.6105 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.6555, allocations: 0.6926 MB / 0.6112 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.6555, allocations: 7.938 kB / 0.6112 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.6556, allocations: 11.44 kB / 0.6112 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of SimCode: time 1.316e-06/0.6556, allocations: 0 / 0.6112 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of Templates: time 0.003543/0.6591, allocations: 0.7526 MB / 0.612 GB, free: 8.293 MB / 0.4948 GB