Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadModel(Buildings): time 4.692/4.692, allocations: 458.9 MB / 473.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.445e-05/3.448e-05, allocations: 7.078 kB / 0.5697 GB, free: 9.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2447, allocations: 106.2 MB / 0.6734 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.001953/0.2467, allocations: 1.101 MB / 0.6745 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0005762/0.2473, allocations: 216.2 kB / 0.6747 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.2474, allocations: 4 kB / 0.6747 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.2474, allocations: 7.938 kB / 0.6747 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.2474, allocations: 7.969 kB / 0.6747 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.2476, allocations: 15.98 kB / 0.6748 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.2477, allocations: 23.91 kB / 0.6748 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 8.422e-05/0.2478, allocations: 4 kB / 0.6748 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.2479, allocations: 19.97 kB / 0.6748 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.2479, allocations: 15.92 kB / 0.6748 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.248, allocations: 0 / 0.6748 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.248, allocations: 4 kB / 0.6748 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.248, allocations: 7.984 kB / 0.6748 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.248, allocations: 4 kB / 0.6748 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.728e-05/0.2482, allocations: 27.94 kB / 0.6749 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2482, allocations: 0 / 0.6749 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2482, allocations: 0 / 0.6749 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.2482, allocations: 0 / 0.6749 GB, free: 1.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006543/0.2489, allocations: 369.1 kB / 0.6752 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2489, allocations: 8.031 kB / 0.6752 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.249, allocations: 11.84 kB / 0.6752 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2491, allocations: 171 kB / 0.6754 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2491, allocations: 4 kB / 0.6754 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2492, allocations: 7.984 kB / 0.6754 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.2494, allocations: 65.66 kB / 0.6755 GB, free: 456 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2495, allocations: 8 kB / 0.6755 GB, free: 448 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2495, allocations: 0 / 0.6755 GB, free: 448 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2495, allocations: 3.984 kB / 0.6755 GB, free: 444 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.2498, allocations: 47.97 kB / 0.6755 GB, free: 396 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.2503, allocations: 288.7 kB / 0.6758 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.2506, allocations: 62.48 kB / 0.6759 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2506, allocations: 0 / 0.6759 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.2509, allocations: 83.5 kB / 0.6759 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.2509, allocations: 0 / 0.6759 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006448/0.2516, allocations: 153.5 kB / 0.6761 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2516, allocations: 59.36 kB / 0.6761 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.2517, allocations: 96.98 kB / 0.6762 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2518, allocations: 29.7 kB / 0.6763 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.2518, allocations: 80.14 kB / 0.6763 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.2519, allocations: 19.72 kB / 0.6764 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.2519, allocations: 0 / 0.6764 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.252, allocations: 323.1 kB / 0.6767 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.2522, allocations: 31.97 kB / 0.6767 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2524, allocations: 64.22 kB / 0.6768 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.2526, allocations: 39.97 kB / 0.6768 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2526, allocations: 0 / 0.6768 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004459/0.2531, allocations: 121.5 kB / 0.6769 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2531, allocations: 8 kB / 0.6769 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2531, allocations: 0 / 0.6769 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2532, allocations: 4.047 kB / 0.6769 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2533, allocations: 23.97 kB / 0.677 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2534, allocations: 8.125 kB / 0.677 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2535, allocations: 19.8 kB / 0.677 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2535, allocations: 0 / 0.677 GB, free: 14.77 MB / 0.5573 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.zerOrdHol.firstTrigger,zerOrdHol.firstTrigger,$whenCondition1,zerOrdHol.sampleTrigger,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001113/0.2536, allocations: 125.8 kB / 0.6771 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2537, allocations: 4 kB / 0.6771 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.2543, allocations: 126.2 kB / 0.6772 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2543, allocations: 0 / 0.6772 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.2543, allocations: 4 kB / 0.6772 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2543, allocations: 0 / 0.6772 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.2554, allocations: 378.4 kB / 0.6776 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2555, allocations: 0 / 0.6776 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2556, allocations: 11.98 kB / 0.6776 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.2557, allocations: 0 / 0.6776 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2557, allocations: 4 kB / 0.6776 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2557, allocations: 0 / 0.6776 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.2558, allocations: 4.141 kB / 0.6776 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.2563, allocations: 211.4 kB / 0.6778 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.2564, allocations: 88.95 kB / 0.6779 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.2564, allocations: 3.984 kB / 0.6779 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.2566, allocations: 12 kB / 0.6779 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.2567, allocations: 7.984 kB / 0.6779 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.2567, allocations: 3.953 kB / 0.6779 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.2568, allocations: 87.27 kB / 0.678 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2568, allocations: 0 / 0.678 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003054/0.2571, allocations: 16 kB / 0.678 GB, free: 13.6 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001512/0.2573, allocations: 99.25 kB / 0.6781 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.2577, allocations: 79.89 kB / 0.6782 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2577, allocations: 0 / 0.6782 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.2579, allocations: 40.22 kB / 0.6782 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.2582, allocations: 7.938 kB / 0.6782 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.2586, allocations: 148.8 kB / 0.6784 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2589, allocations: 0.6848 MB / 0.679 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.2589, allocations: 12.17 kB / 0.6791 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.259, allocations: 15.44 kB / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.259, allocations: 0 / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of Templates: time 0.003482/0.2625, allocations: 0.5859 MB / 0.6796 GB, free: 11.87 MB / 0.5573 GB