Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadModel(Buildings): time 3.782/3.782, allocations: 403.9 MB / 411 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.364e-05/2.377e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4825, allocations: 92.7 MB / 0.5847 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.6753, allocations: 127.1 MB / 0.7087 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.6756, allocations: 91.94 kB / 0.7088 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03246/0.7081, allocations: 8.589 MB / 0.7172 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.162e-06/0.7082, allocations: 0 / 0.7172 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.613e-05/0.7082, allocations: 16 kB / 0.7172 GB, free: 10.43 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001626/0.7099, allocations: 0.7317 MB / 0.718 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.7099, allocations: 16.02 kB / 0.718 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.7101, allocations: 55.34 kB / 0.718 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.711, allocations: 424.8 kB / 0.7184 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.711, allocations: 16 kB / 0.7184 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.7111, allocations: 35.98 kB / 0.7185 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009014/0.7121, allocations: 310.6 kB / 0.7188 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.7131, allocations: 455 kB / 0.7192 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.7132, allocations: 0 / 0.7192 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.7132, allocations: 11.98 kB / 0.7192 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.7133, allocations: 12 kB / 0.7192 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.7166, allocations: 1.774 MB / 0.721 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.7174, allocations: 279.8 kB / 0.7212 GB, free: 6.141 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.7177, allocations: 124.8 kB / 0.7213 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.7178, allocations: 4 kB / 0.7214 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.7182, allocations: 185.2 kB / 0.7215 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 6.433e-06/0.7182, allocations: 0 / 0.7215 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.000783/0.719, allocations: 275 kB / 0.7218 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.7191, allocations: 110.8 kB / 0.7219 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.7196, allocations: 289.5 kB / 0.7222 GB, free: 5.125 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/0.7197, allocations: 37.69 kB / 0.7222 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.72, allocations: 251.9 kB / 0.7224 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.7201, allocations: 90.81 kB / 0.7225 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.7202, allocations: 0 / 0.7225 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.7204, allocations: 354.8 kB / 0.7229 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.7207, allocations: 117.1 kB / 0.723 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.7211, allocations: 225.7 kB / 0.7232 GB, free: 4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.7215, allocations: 125.5 kB / 0.7233 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.7215, allocations: 0 / 0.7233 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000999/0.7225, allocations: 381.7 kB / 0.7237 GB, free: 3.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006243/0.7231, allocations: 1.175 MB / 0.7248 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7232, allocations: 0 / 0.7248 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.7232, allocations: 8 kB / 0.7248 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.7237, allocations: 83.88 kB / 0.7249 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.7237, allocations: 11.94 kB / 0.7249 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.7243, allocations: 63.66 kB / 0.725 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.667e-05/0.7244, allocations: 23.98 kB / 0.725 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7244, allocations: 4 kB / 0.725 GB, free: 2.039 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008376/0.7252, allocations: 303.2 kB / 0.7253 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7253, allocations: 4 kB / 0.7253 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7253, allocations: 8 kB / 0.7253 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.7257, allocations: 88.19 kB / 0.7254 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.7257, allocations: 4 kB / 0.7254 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.7262, allocations: 59.73 kB / 0.7255 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.7263, allocations: 20 kB / 0.7255 GB, free: 1.562 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,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 (57): * Single equations (assignments): 56 * 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.0002037/0.7265, allocations: 138 kB / 0.7256 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.7266, allocations: 39.48 kB / 0.7257 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00082/0.7275, allocations: 301.7 kB / 0.7259 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.7275, allocations: 7.984 kB / 0.7259 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.634e-06/0.7275, allocations: 0 / 0.7259 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.991e-06/0.7275, allocations: 4 kB / 0.726 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.7293, allocations: 0.8242 MB / 0.7268 GB, free: 200 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.653e-06/0.7294, allocations: 0 / 0.7268 GB, free: 200 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.7298, allocations: 63.92 kB / 0.7268 GB, free: 136 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.348e-06/0.7298, allocations: 4 kB / 0.7268 GB, free: 132 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.7299, allocations: 7.984 kB / 0.7268 GB, free: 124 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.12e-06/0.7299, allocations: 0 / 0.7268 GB, free: 124 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.992e-06/0.7299, allocations: 3.938 kB / 0.7268 GB, free: 120 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.7311, allocations: 0.5363 MB / 0.7274 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.7313, allocations: 144.7 kB / 0.7275 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.7315, allocations: 12 kB / 0.7275 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.7319, allocations: 47.94 kB / 0.7276 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.7321, allocations: 47.94 kB / 0.7276 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.7322, allocations: 15.98 kB / 0.7276 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003088/0.7325, allocations: 204.6 kB / 0.7278 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.88e-06/0.7325, allocations: 4 kB / 0.7278 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008838/0.7334, allocations: 143.5 kB / 0.7279 GB, free: 14.93 MB / 0.6198 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.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,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.7337, allocations: 133.2 kB / 0.7281 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.735, allocations: 0.592 MB / 0.7287 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.448e-06/0.735, allocations: 0 / 0.7287 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.7354, allocations: 139.9 kB / 0.7288 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.7359, allocations: 79.02 kB / 0.7289 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.7374, allocations: 0.5324 MB / 0.7294 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.738, allocations: 0.8399 MB / 0.7302 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.7385, allocations: 73.23 kB / 0.7303 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.7387, allocations: 31.44 kB / 0.7303 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of SimCode: time 1.256e-06/0.7387, allocations: 0 / 0.7303 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.01524/0.7539, allocations: 5.058 MB / 0.7352 GB, free: 7.422 MB / 0.6198 GB