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.708/3.708, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.766e-05, allocations: 7.938 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.542, allocations: 92.7 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.7317, allocations: 127.7 MB / 0.7143 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.732, allocations: 91.94 kB / 0.7143 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03432/0.7664, allocations: 8.678 MB / 0.7228 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.927e-06/0.7664, allocations: 4 kB / 0.7228 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.374e-05/0.7665, allocations: 12 kB / 0.7228 GB, free: 5.797 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.001587/0.7681, allocations: 0.7353 MB / 0.7236 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.7681, allocations: 12.03 kB / 0.7236 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.7683, allocations: 63.28 kB / 0.7236 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.7691, allocations: 416.5 kB / 0.724 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.7692, allocations: 40.94 kB / 0.7241 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.7693, allocations: 55.92 kB / 0.7241 GB, free: 4.395 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.7705, allocations: 0.501 MB / 0.7246 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.7705, allocations: 4 kB / 0.7246 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.7706, allocations: 19.95 kB / 0.7246 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.7706, allocations: 12 kB / 0.7246 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009181/0.7715, allocations: 339.8 kB / 0.725 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.7749, allocations: 1.891 MB / 0.7268 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.7757, allocations: 283.2 kB / 0.7271 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.7761, allocations: 132.8 kB / 0.7272 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.7761, allocations: 4 kB / 0.7272 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.7766, allocations: 201.4 kB / 0.7274 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 3.61e-06/0.7766, allocations: 4 kB / 0.7274 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.0007948/0.7774, allocations: 286.8 kB / 0.7277 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.7775, allocations: 110.8 kB / 0.7278 GB, free: 472 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.7781, allocations: 354.7 kB / 0.7281 GB, free: 120 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/0.7782, allocations: 53.62 kB / 0.7282 GB, free: 60 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.7785, allocations: 240.2 kB / 0.7284 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.7786, allocations: 102.8 kB / 0.7285 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.7787, allocations: 8 kB / 0.7285 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.7789, allocations: 358.7 kB / 0.7289 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.7792, allocations: 121.1 kB / 0.729 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.7797, allocations: 242.9 kB / 0.7292 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.7801, allocations: 159.2 kB / 0.7293 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.7801, allocations: 0 / 0.7293 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00109/0.7812, allocations: 467.5 kB / 0.7298 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006158/0.7819, allocations: 1.155 MB / 0.7309 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7819, allocations: 3.984 kB / 0.7309 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.7819, allocations: 11.98 kB / 0.7309 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.7824, allocations: 79.89 kB / 0.731 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.7824, allocations: 15.89 kB / 0.731 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.783, allocations: 83.62 kB / 0.7311 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.7831, allocations: 20 kB / 0.7311 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.7831, allocations: 7.938 kB / 0.7311 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009484/0.7841, allocations: 397.4 kB / 0.7315 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.467e-06/0.7841, allocations: 4 kB / 0.7315 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.7841, allocations: 4 kB / 0.7315 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.7846, allocations: 71.89 kB / 0.7316 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.7846, allocations: 15.92 kB / 0.7316 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.7851, allocations: 67.78 kB / 0.7317 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.7852, allocations: 23.98 kB / 0.7317 GB, free: 12.27 MB / 0.6198 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.0001986/0.7854, allocations: 140.9 kB / 0.7318 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.7855, allocations: 51.33 kB / 0.7319 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.7864, allocations: 337.7 kB / 0.7322 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.548e-06/0.7864, allocations: 4 kB / 0.7322 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7864, allocations: 0 / 0.7322 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.096e-06/0.7864, allocations: 0 / 0.7322 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.7883, allocations: 0.9172 MB / 0.7331 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-06/0.7883, allocations: 0 / 0.7331 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.7887, allocations: 63.92 kB / 0.7332 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.589e-06/0.7887, allocations: 0 / 0.7332 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.7888, allocations: 12 kB / 0.7332 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.7888, allocations: 7.984 kB / 0.7332 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.927e-06/0.7888, allocations: 0 / 0.7332 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.79, allocations: 0.5751 MB / 0.7337 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.7903, allocations: 148.5 kB / 0.7339 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.7904, allocations: 8 kB / 0.7339 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.7909, allocations: 60 kB / 0.7339 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.791, allocations: 43.94 kB / 0.734 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.7911, allocations: 11.98 kB / 0.734 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004279/0.7915, allocations: 269.2 kB / 0.7343 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.95e-07/0.7916, allocations: 0 / 0.7343 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009009/0.7925, allocations: 159.7 kB / 0.7344 GB, free: 9.375 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.0002324/0.7927, allocations: 133.2 kB / 0.7345 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.7941, allocations: 0.6351 MB / 0.7352 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.671e-06/0.7941, allocations: 0 / 0.7352 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.7945, allocations: 151.7 kB / 0.7353 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.7951, allocations: 84.03 kB / 0.7354 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.7966, allocations: 0.5436 MB / 0.7359 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.7972, allocations: 0.8402 MB / 0.7367 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005379/0.7977, allocations: 81.34 kB / 0.7368 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.7979, allocations: 35.42 kB / 0.7368 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of SimCode: time 1.559e-06/0.7979, allocations: 0 / 0.7368 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of Templates: time 0.01598/0.8139, allocations: 5.713 MB / 0.7424 GB, free: 1.113 MB / 0.6198 GB