Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadModel(Buildings): time 4.665/4.665, allocations: 458.9 MB / 473.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.609e-05, allocations: 3.375 kB / 0.5697 GB, free: 9.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 106.2 MB / 0.6734 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004455/0.239, allocations: 2.492 MB / 0.6759 GB, free: 124 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.2418, allocations: 0.9905 MB / 0.6768 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.2423, allocations: 23.94 kB / 0.6769 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.2425, allocations: 43.58 kB / 0.6769 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.243, allocations: 87.66 kB / 0.677 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009141/0.2439, allocations: 223.6 kB / 0.6772 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007412/0.2447, allocations: 356.5 kB / 0.6775 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.2453, allocations: 302.4 kB / 0.6778 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.2456, allocations: 155.5 kB / 0.678 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2458, allocations: 159.3 kB / 0.6781 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.246, allocations: 23.94 kB / 0.6781 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.2461, allocations: 16 kB / 0.6782 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.2462, allocations: 83.66 kB / 0.6782 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.295e-05/0.2463, allocations: 24 kB / 0.6783 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008406/0.2471, allocations: 0.5418 MB / 0.6788 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2472, allocations: 4 kB / 0.6788 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2472, allocations: 0 / 0.6788 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.2472, allocations: 0 / 0.6788 GB, free: 13.09 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002177/0.2494, allocations: 0.754 MB / 0.6795 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2494, allocations: 8.031 kB / 0.6795 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.2496, allocations: 59.3 kB / 0.6796 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009111/0.2505, allocations: 431.5 kB / 0.68 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.2506, allocations: 40.98 kB / 0.6801 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.2508, allocations: 48 kB / 0.6801 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.2524, allocations: 0.5352 MB / 0.6806 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.2525, allocations: 4 kB / 0.6806 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.2525, allocations: 19.98 kB / 0.6806 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.2526, allocations: 12 kB / 0.6807 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.2543, allocations: 419.6 kB / 0.6811 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.2579, allocations: 1.864 MB / 0.6829 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.2596, allocations: 370.9 kB / 0.6832 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.2597, allocations: 4 kB / 0.6832 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008567/0.2605, allocations: 229.4 kB / 0.6834 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=34): time 3.646e-06/0.2606, allocations: 0 / 0.6834 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34): time 0.002188/0.2628, allocations: 0.4974 MB / 0.6839 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.2628, allocations: 63.41 kB / 0.684 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.2635, allocations: 356.6 kB / 0.6843 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/0.2635, allocations: 45.69 kB / 0.6844 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.2638, allocations: 256.1 kB / 0.6846 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.264, allocations: 90.75 kB / 0.6847 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.264, allocations: 12 kB / 0.6847 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2642, allocations: 350.8 kB / 0.6851 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.2649, allocations: 169 kB / 0.6852 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.2658, allocations: 269.9 kB / 0.6855 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.2666, allocations: 211.2 kB / 0.6857 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2666, allocations: 0 / 0.6857 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001841/0.2684, allocations: 0.5265 MB / 0.6862 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.2685, allocations: 33.7 kB / 0.6862 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2685, allocations: 4 kB / 0.6862 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.2686, allocations: 8 kB / 0.6862 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.2692, allocations: 79.81 kB / 0.6863 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.2692, allocations: 12.19 kB / 0.6863 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.2699, allocations: 87.48 kB / 0.6864 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.27, allocations: 20 kB / 0.6864 GB, free: 4.941 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0003806/0.2704, allocations: 211.5 kB / 0.6866 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2705, allocations: 39.44 kB / 0.6867 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.2721, allocations: 409.5 kB / 0.6871 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.2721, allocations: 4 kB / 0.6871 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2721, allocations: 0 / 0.6871 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.2721, allocations: 0 / 0.6871 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.2747, allocations: 0.9789 MB / 0.688 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.465e-06/0.2748, allocations: 4 kB / 0.688 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.2753, allocations: 51.89 kB / 0.6881 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.2753, allocations: 0 / 0.6881 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.2753, allocations: 19.97 kB / 0.6881 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/0.2754, allocations: 7.984 kB / 0.6881 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2754, allocations: 0 / 0.6881 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.2777, allocations: 0.6767 MB / 0.6888 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.2779, allocations: 144.6 kB / 0.6889 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.278, allocations: 12 kB / 0.6889 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.2786, allocations: 44.02 kB / 0.6889 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.2788, allocations: 47.94 kB / 0.689 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.2789, allocations: 19.94 kB / 0.689 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004497/0.2793, allocations: 259.2 kB / 0.6893 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2794, allocations: 0 / 0.6893 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005838/0.28, allocations: 99.69 kB / 0.6894 GB, free: 1.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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.000229/0.2802, allocations: 129.4 kB / 0.6895 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.2819, allocations: 455.5 kB / 0.6899 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2819, allocations: 0 / 0.6899 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.2828, allocations: 192.8 kB / 0.6901 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/0.2835, allocations: 69.52 kB / 0.6902 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.2857, allocations: 0.8583 MB / 0.691 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.2862, allocations: 0.8434 MB / 0.6918 GB, free: 15.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004274/0.2867, allocations: 55.44 kB / 0.6919 GB, free: 15.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.2869, allocations: 35.42 kB / 0.6919 GB, free: 15.12 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/0.2869, allocations: 3.938 kB / 0.6919 GB, free: 15.12 MB / 0.573 GB Notification: Performance of Templates: time 0.01532/0.3022, allocations: 4.405 MB / 0.6962 GB, free: 10.75 MB / 0.573 GB