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.732/4.732, allocations: 458.9 MB / 473.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.345e-05, allocations: 9.125 kB / 0.5697 GB, free: 9.773 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 106.2 MB / 0.6734 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.002045/0.2524, allocations: 1.117 MB / 0.6745 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0006656/0.2532, allocations: 228.2 kB / 0.6747 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.2532, allocations: 3.938 kB / 0.6748 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.2533, allocations: 3.938 kB / 0.6748 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.2534, allocations: 4 kB / 0.6748 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.2535, allocations: 23.97 kB / 0.6748 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.2536, allocations: 31.89 kB / 0.6748 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.2537, allocations: 4 kB / 0.6748 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.2538, allocations: 15.98 kB / 0.6748 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.2539, allocations: 31.91 kB / 0.6749 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.254, allocations: 4 kB / 0.6749 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.254, allocations: 4 kB / 0.6749 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.254, allocations: 7.984 kB / 0.6749 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.2541, allocations: 8 kB / 0.6749 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.2542, allocations: 43.89 kB / 0.6749 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2542, allocations: 0 / 0.6749 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2542, allocations: 0 / 0.6749 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.2542, allocations: 0 / 0.6749 GB, free: 1.062 MB / 0.5417 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.0008163/0.255, allocations: 379.4 kB / 0.6753 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.2551, allocations: 12.03 kB / 0.6753 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.2552, allocations: 3.906 kB / 0.6753 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2554, allocations: 175 kB / 0.6755 GB, free: 428 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.2554, allocations: 7.984 kB / 0.6755 GB, free: 420 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.2555, allocations: 8 kB / 0.6755 GB, free: 412 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.2558, allocations: 85.59 kB / 0.6756 GB, free: 320 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2558, allocations: 0 / 0.6756 GB, free: 320 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.2559, allocations: 7.984 kB / 0.6756 GB, free: 312 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2559, allocations: 0 / 0.6756 GB, free: 312 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.2563, allocations: 71.89 kB / 0.6756 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.257, allocations: 304.7 kB / 0.6759 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.2573, allocations: 86.53 kB / 0.676 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.2573, allocations: 7.938 kB / 0.676 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.2577, allocations: 91.5 kB / 0.6761 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.2577, allocations: 0 / 0.6761 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0008639/0.2586, allocations: 189.5 kB / 0.6763 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.2587, allocations: 67.33 kB / 0.6764 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2588, allocations: 97.28 kB / 0.6765 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.2588, allocations: 33.7 kB / 0.6765 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.2589, allocations: 92.36 kB / 0.6766 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.259, allocations: 23.66 kB / 0.6766 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.259, allocations: 4 kB / 0.6766 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2592, allocations: 314.8 kB / 0.6769 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.2594, allocations: 39.97 kB / 0.6769 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.2596, allocations: 71.52 kB / 0.677 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.2599, allocations: 55.8 kB / 0.6771 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2599, allocations: 4 kB / 0.6771 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005638/0.2605, allocations: 153.5 kB / 0.6772 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2605, allocations: 4 kB / 0.6772 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2605, allocations: 0 / 0.6772 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2606, allocations: 12.08 kB / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2608, allocations: 23.92 kB / 0.6772 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2608, allocations: 0 / 0.6772 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2609, allocations: 15.89 kB / 0.6773 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.261, allocations: 8 kB / 0.6773 GB, free: 14.43 MB / 0.5573 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 0.0001379/0.2611, allocations: 125.8 kB / 0.6774 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2612, allocations: 11.89 kB / 0.6774 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.2618, allocations: 158.2 kB / 0.6775 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2618, allocations: 4.094 kB / 0.6776 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2618, allocations: 3.938 kB / 0.6776 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2618, allocations: 0 / 0.6776 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.2627, allocations: 426.3 kB / 0.678 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2627, allocations: 0 / 0.678 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2629, allocations: 15.92 kB / 0.678 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.2629, allocations: 0 / 0.678 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2629, allocations: 8 kB / 0.678 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2629, allocations: 256 / 0.678 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2629, allocations: 7.953 kB / 0.678 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.2635, allocations: 247.4 kB / 0.6782 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.2636, allocations: 81.02 kB / 0.6783 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.2636, allocations: 0 / 0.6783 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2638, allocations: 15.98 kB / 0.6783 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2639, allocations: 11.94 kB / 0.6783 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2639, allocations: 4 kB / 0.6783 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.264, allocations: 83.27 kB / 0.6784 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.264, allocations: 0 / 0.6784 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003191/0.2643, allocations: 20 kB / 0.6784 GB, free: 13.13 MB / 0.5573 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.0001678/0.2645, allocations: 111.9 kB / 0.6785 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.265, allocations: 103.8 kB / 0.6786 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2651, allocations: 8.188 kB / 0.6787 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.2653, allocations: 51.97 kB / 0.6787 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.2656, allocations: 12.25 kB / 0.6787 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.2661, allocations: 169.3 kB / 0.6789 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.2664, allocations: 0.6965 MB / 0.6796 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.52e-05/0.2665, allocations: 12.41 kB / 0.6796 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.2666, allocations: 11.44 kB / 0.6796 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/0.2666, allocations: 0 / 0.6796 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.00433/0.2709, allocations: 0.7424 MB / 0.6803 GB, free: 11.17 MB / 0.5573 GB