Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadModel(Buildings): time 4.514/4.514, allocations: 464.7 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.568e-05/4.587e-05, allocations: 5.25 kB / 0.5731 GB, free: 5.734 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7454/0.9472, allocations: 131.9 MB / 0.8066 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.9475, allocations: 71.47 kB / 0.8067 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003967/0.9515, allocations: 0.9482 MB / 0.8076 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.344e-06/0.9516, allocations: 0 / 0.8076 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9516, allocations: 3.844 kB / 0.8076 GB, free: 12.1 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.0004338/0.9521, allocations: 365.6 kB / 0.8079 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.9521, allocations: 11.72 kB / 0.8079 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.9522, allocations: 7.875 kB / 0.808 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.653e-05/0.9523, allocations: 174.8 kB / 0.8081 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.9523, allocations: 6.594 kB / 0.8081 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.9523, allocations: 7.844 kB / 0.8081 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.9525, allocations: 68.38 kB / 0.8082 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.9525, allocations: 0 / 0.8082 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.9525, allocations: 3.562 kB / 0.8082 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-06/0.9525, allocations: 3.844 kB / 0.8082 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.9526, allocations: 22.53 kB / 0.8082 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.9532, allocations: 340.6 kB / 0.8086 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.9533, allocations: 68.69 kB / 0.8086 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.9534, allocations: 39.7 kB / 0.8087 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.9535, allocations: 3.781 kB / 0.8087 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.9536, allocations: 74.33 kB / 0.8087 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.803e-06/0.9536, allocations: 0 / 0.8087 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002581/0.9539, allocations: 104 kB / 0.8088 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.9539, allocations: 61.03 kB / 0.8089 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.954, allocations: 103.6 kB / 0.809 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.9541, allocations: 33.64 kB / 0.809 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.9541, allocations: 87.95 kB / 0.8091 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.9541, allocations: 25.61 kB / 0.8091 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-06/0.9542, allocations: 3.812 kB / 0.8091 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.9542, allocations: 317.7 kB / 0.8094 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.9543, allocations: 25.59 kB / 0.8095 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.9544, allocations: 60.23 kB / 0.8095 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.9545, allocations: 29.56 kB / 0.8095 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.877e-06/0.9545, allocations: 0 / 0.8095 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002185/0.9547, allocations: 118.1 kB / 0.8097 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.9547, allocations: 3.906 kB / 0.8097 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9547, allocations: 3.75 kB / 0.8097 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9548, allocations: 0 / 0.8097 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.9549, allocations: 29 kB / 0.8097 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.955, allocations: 7.875 kB / 0.8097 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.8e-05/0.9551, allocations: 13.83 kB / 0.8097 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.9551, allocations: 7.781 kB / 0.8097 GB, free: 10.39 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.505e-05/0.9552, allocations: 116.3 kB / 0.8098 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.9552, allocations: 10.53 kB / 0.8098 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.9555, allocations: 121.3 kB / 0.81 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.9555, allocations: 6.688 kB / 0.81 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9555, allocations: 3.938 kB / 0.81 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.386e-06/0.9555, allocations: 0 / 0.81 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.9559, allocations: 386.3 kB / 0.8103 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-06/0.956, allocations: 0 / 0.8103 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.9561, allocations: 14.33 kB / 0.8103 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.805e-06/0.9561, allocations: 3.938 kB / 0.8104 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.9561, allocations: 4 kB / 0.8104 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.658e-06/0.9561, allocations: 2.578 kB / 0.8104 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.729e-06/0.9562, allocations: 0 / 0.8104 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.9564, allocations: 209.8 kB / 0.8106 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.9564, allocations: 92.81 kB / 0.8106 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.9565, allocations: 0 / 0.8106 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.9566, allocations: 13.2 kB / 0.8107 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.9567, allocations: 13.94 kB / 0.8107 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.9567, allocations: 3.812 kB / 0.8107 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.9568, allocations: 85.56 kB / 0.8108 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.42e-07/0.9568, allocations: 0 / 0.8108 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003201/0.9571, allocations: 21.41 kB / 0.8108 GB, free: 9.582 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 9.792e-05/0.9572, allocations: 98.56 kB / 0.8109 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.9574, allocations: 71.08 kB / 0.8109 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.492e-06/0.9574, allocations: 4.188 kB / 0.8109 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.9575, allocations: 38.22 kB / 0.811 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.9578, allocations: 16.77 kB / 0.811 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.9581, allocations: 102.7 kB / 0.8111 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.9585, allocations: 0.6925 MB / 0.8118 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.9586, allocations: 10.95 kB / 0.8118 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.9586, allocations: 15.28 kB / 0.8118 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.345e-06/0.9586, allocations: 0 / 0.8118 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of Templates: time 0.003359/0.962, allocations: 0.7455 MB / 0.8125 GB, free: 24.62 MB / 0.6511 GB