Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadModel(Buildings): time 4.429/4.429, allocations: 460.4 MB / 472.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.261e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.2 MB / 0.6718 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.795/0.9906, allocations: 131.4 MB / 0.8001 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.9908, allocations: 68.97 kB / 0.8002 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002747/0.9936, allocations: 0.8671 MB / 0.801 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.22e-06/0.9936, allocations: 0 / 0.801 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.9937, allocations: 0 / 0.801 GB, free: 12.82 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.0003759/0.9941, allocations: 363.8 kB / 0.8014 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.9941, allocations: 7.656 kB / 0.8014 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.9942, allocations: 7.766 kB / 0.8014 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.364e-05/0.9943, allocations: 178.3 kB / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.9943, allocations: 1.219 kB / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.9943, allocations: 3.812 kB / 0.8016 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.9944, allocations: 47.64 kB / 0.8016 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.261e-06/0.9945, allocations: 0 / 0.8016 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9945, allocations: 7.125 kB / 0.8016 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-06/0.9945, allocations: 0 / 0.8016 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.9946, allocations: 19.16 kB / 0.8016 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.995, allocations: 273.9 kB / 0.8019 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.9951, allocations: 50.03 kB / 0.8019 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.9952, allocations: 19.48 kB / 0.802 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.9952, allocations: 4.953 kB / 0.802 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.9953, allocations: 58.48 kB / 0.802 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.635e-06/0.9953, allocations: 0 / 0.802 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001883/0.9955, allocations: 77.84 kB / 0.8021 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.9956, allocations: 55.25 kB / 0.8022 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.9957, allocations: 103.1 kB / 0.8023 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.9957, allocations: 25.7 kB / 0.8023 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.9957, allocations: 87.61 kB / 0.8024 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.9958, allocations: 12.2 kB / 0.8024 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-06/0.9958, allocations: 0 / 0.8024 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.9958, allocations: 320.7 kB / 0.8027 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.9959, allocations: 10.81 kB / 0.8027 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.996, allocations: 51.25 kB / 0.8027 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.996, allocations: 13.39 kB / 0.8028 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.996, allocations: 0 / 0.8028 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001647/0.9962, allocations: 89.17 kB / 0.8028 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.9962, allocations: 8.031 kB / 0.8028 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-06/0.9963, allocations: 5.594 kB / 0.8028 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.9963, allocations: 0 / 0.8028 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.9964, allocations: 14.97 kB / 0.8029 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.179e-06/0.9964, allocations: 7.797 kB / 0.8029 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.9965, allocations: 15.27 kB / 0.8029 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.9966, allocations: 7.375 kB / 0.8029 GB, free: 11.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.unitDelay1.y,unitDelay1.y,$PRE.unitDelay1.firstTrigger,unitDelay1.firstTrigger,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.403e-05/0.9966, allocations: 108.9 kB / 0.803 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.9967, allocations: 8.969 kB / 0.803 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.9968, allocations: 69.39 kB / 0.8031 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-06/0.9969, allocations: 3.875 kB / 0.8031 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.398e-06/0.9969, allocations: 128 / 0.8031 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.9969, allocations: 13.67 kB / 0.8031 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.9972, allocations: 324.5 kB / 0.8034 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9972, allocations: 0 / 0.8034 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.9973, allocations: 25.95 kB / 0.8034 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.101e-06/0.9973, allocations: 0 / 0.8034 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.9974, allocations: 0 / 0.8034 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.006e-06/0.9974, allocations: 4.266 kB / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-06/0.9974, allocations: 0 / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.9975, allocations: 164.4 kB / 0.8036 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.9976, allocations: 84.89 kB / 0.8037 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.9976, allocations: 0 / 0.8037 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.9978, allocations: 14.83 kB / 0.8037 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.9978, allocations: 14.5 kB / 0.8037 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.78e-06/0.9978, allocations: 0 / 0.8037 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.9979, allocations: 95.08 kB / 0.8038 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.16e-07/0.9979, allocations: 0 / 0.8038 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003266/0.9982, allocations: 7.688 kB / 0.8038 GB, free: 10.35 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.firstTrigger) * Number of discrete states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001016/0.9984, allocations: 102.6 kB / 0.8039 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.9985, allocations: 44.53 kB / 0.8039 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.381e-06/0.9985, allocations: 0 / 0.8039 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.9986, allocations: 14.78 kB / 0.8039 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.9988, allocations: 11.28 kB / 0.804 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.9991, allocations: 82.64 kB / 0.804 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.9995, allocations: 0.6927 MB / 0.8047 GB, free: 25.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.9996, allocations: 192 / 0.8047 GB, free: 25.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.9996, allocations: 11.28 kB / 0.8047 GB, free: 25.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.491e-06/0.9996, allocations: 3.938 kB / 0.8047 GB, free: 25.47 MB / 0.6511 GB Notification: Performance of Templates: time 0.003005/1.003, allocations: 0.564 MB / 0.8053 GB, free: 25.4 MB / 0.6511 GB