Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadModel(Buildings): time 4.284/4.284, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.848e-05/4.865e-05, allocations: 8 kB / 0.5681 GB, free: 10.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.197, allocations: 106.2 MB / 0.6718 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7661/0.9631, allocations: 131.5 MB / 0.8003 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.9633, allocations: 75.02 kB / 0.8004 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002961/0.9663, allocations: 0.9485 MB / 0.8013 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.962e-06/0.9663, allocations: 0 / 0.8013 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.445e-06/0.9664, allocations: 0 / 0.8013 GB, free: 12.9 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004294/0.9668, allocations: 370.4 kB / 0.8016 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.9668, allocations: 15.47 kB / 0.8017 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.9669, allocations: 7.812 kB / 0.8017 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.967, allocations: 164.1 kB / 0.8018 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.967, allocations: 7.734 kB / 0.8018 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.9671, allocations: 8.328 kB / 0.8018 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.9672, allocations: 70.34 kB / 0.8019 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9673, allocations: 0 / 0.8019 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.9673, allocations: 3.984 kB / 0.8019 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-06/0.9673, allocations: 7.812 kB / 0.8019 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.9674, allocations: 29.59 kB / 0.8019 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.9681, allocations: 334.4 kB / 0.8023 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.9683, allocations: 70.25 kB / 0.8023 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.91e-05/0.9683, allocations: 34.66 kB / 0.8024 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.9684, allocations: 0 / 0.8024 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.9685, allocations: 78.39 kB / 0.8024 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.739e-06/0.9686, allocations: 0 / 0.8024 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002808/0.9689, allocations: 113.5 kB / 0.8025 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.9689, allocations: 56.61 kB / 0.8026 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.969, allocations: 108.7 kB / 0.8027 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.969, allocations: 32.17 kB / 0.8027 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.9691, allocations: 84.59 kB / 0.8028 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.9691, allocations: 22.09 kB / 0.8028 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-06/0.9691, allocations: 3.672 kB / 0.8028 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.9692, allocations: 323.2 kB / 0.8031 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.9692, allocations: 23.64 kB / 0.8032 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.9693, allocations: 60.44 kB / 0.8032 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.772e-05/0.9694, allocations: 26.16 kB / 0.8032 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.9694, allocations: 0 / 0.8032 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002322/0.9697, allocations: 111.5 kB / 0.8034 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9697, allocations: 6.625 kB / 0.8034 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.736e-06/0.9697, allocations: 0 / 0.8034 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.9698, allocations: 7.969 kB / 0.8034 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.9699, allocations: 28.2 kB / 0.8034 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.97, allocations: 7.828 kB / 0.8034 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.9701, allocations: 10.42 kB / 0.8034 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.9701, allocations: 11.19 kB / 0.8034 GB, free: 11.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.firOrdHol.firstTrigger,firOrdHol.firstTrigger,$whenCondition1,firOrdHol.sampleTrigger,$PRE.firOrdHol.tSample,firOrdHol.tSample,$PRE.firOrdHol.uSample,firOrdHol.uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.pre_uSample,$PRE.firOrdHol.c,firOrdHol.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.945e-05/0.9702, allocations: 114.1 kB / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.9702, allocations: 11.69 kB / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.9705, allocations: 115.2 kB / 0.8037 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-06/0.9705, allocations: 0 / 0.8037 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.085e-06/0.9705, allocations: 256 / 0.8037 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-06/0.9705, allocations: 9.219 kB / 0.8037 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.971, allocations: 386 kB / 0.804 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-06/0.971, allocations: 96 / 0.804 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.9711, allocations: 14.17 kB / 0.804 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.643e-06/0.9711, allocations: 7.875 kB / 0.8041 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.9712, allocations: 5.672 kB / 0.8041 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.9712, allocations: 3.953 kB / 0.8041 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-06/0.9712, allocations: 0 / 0.8041 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.9715, allocations: 207.5 kB / 0.8043 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.9715, allocations: 90.61 kB / 0.8043 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.9715, allocations: 0 / 0.8043 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.9717, allocations: 19.34 kB / 0.8044 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.9718, allocations: 10.58 kB / 0.8044 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.9718, allocations: 3.812 kB / 0.8044 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.9718, allocations: 84.16 kB / 0.8045 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.71e-07/0.9718, allocations: 0 / 0.8045 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003386/0.9722, allocations: 18.12 kB / 0.8045 GB, free: 10.39 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001063/0.9723, allocations: 107.9 kB / 0.8046 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.9725, allocations: 72.7 kB / 0.8046 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.55e-06/0.9725, allocations: 0 / 0.8046 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.9726, allocations: 37.41 kB / 0.8047 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.9729, allocations: 7.531 kB / 0.8047 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.9732, allocations: 101.7 kB / 0.8048 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.9737, allocations: 0.6913 MB / 0.8055 GB, free: 25.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.9737, allocations: 15.42 kB / 0.8055 GB, free: 25.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.9738, allocations: 11.31 kB / 0.8055 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.466e-06/0.9738, allocations: 288 / 0.8055 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.003553/0.9773, allocations: 0.7532 MB / 0.8062 GB, free: 25.42 MB / 0.6511 GB