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.796/3.796, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.827e-05, allocations: 4 kB / 0.5003 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 92.68 MB / 0.5909 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6512/0.8155, allocations: 127.7 MB / 0.7156 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.8158, allocations: 91.95 kB / 0.7157 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03495/0.8508, allocations: 8.721 MB / 0.7242 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.317e-06/0.8508, allocations: 0 / 0.7242 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.745e-05/0.8509, allocations: 13.09 kB / 0.7242 GB, free: 5.875 MB / 0.5886 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.001753/0.8527, allocations: 0.7474 MB / 0.725 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8527, allocations: 12.03 kB / 0.725 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.8529, allocations: 55.34 kB / 0.725 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/0.8538, allocations: 423.5 kB / 0.7254 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.8539, allocations: 37 kB / 0.7255 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.854, allocations: 48 kB / 0.7255 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.8556, allocations: 0.5594 MB / 0.726 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.8557, allocations: 7.984 kB / 0.7261 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.8557, allocations: 19.95 kB / 0.7261 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.8558, allocations: 12 kB / 0.7261 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.8573, allocations: 459.6 kB / 0.7265 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.8609, allocations: 1.891 MB / 0.7284 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.8624, allocations: 426.9 kB / 0.7288 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.8624, allocations: 4 kB / 0.7288 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007583/0.8632, allocations: 249.3 kB / 0.729 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 4.072e-06/0.8632, allocations: 4 kB / 0.729 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.001909/0.8651, allocations: 0.5376 MB / 0.7295 GB, free: 184 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.8653, allocations: 110.8 kB / 0.7297 GB, free: 48 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.8659, allocations: 360.6 kB / 0.73 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/0.866, allocations: 45.7 kB / 0.73 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.8663, allocations: 248.2 kB / 0.7303 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.8665, allocations: 94.8 kB / 0.7304 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.8665, allocations: 8 kB / 0.7304 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.8668, allocations: 362.7 kB / 0.7307 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.8674, allocations: 181 kB / 0.7309 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.8682, allocations: 294.8 kB / 0.7312 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.8689, allocations: 219.2 kB / 0.7314 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.924e-06/0.8689, allocations: 0 / 0.7314 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0017/0.8706, allocations: 0.5618 MB / 0.7319 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006848/0.8713, allocations: 1.159 MB / 0.7331 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.8714, allocations: 4 kB / 0.7331 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.8714, allocations: 4 kB / 0.7331 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.8719, allocations: 87.81 kB / 0.7332 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.872, allocations: 4 kB / 0.7332 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.8726, allocations: 91.47 kB / 0.7332 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.8727, allocations: 23.98 kB / 0.7333 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.8727, allocations: 4 kB / 0.7333 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/0.8741, allocations: 476.9 kB / 0.7337 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.48e-06/0.8741, allocations: 4 kB / 0.7337 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8742, allocations: 8 kB / 0.7337 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.8746, allocations: 76.05 kB / 0.7338 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8746, allocations: 8 kB / 0.7338 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.8752, allocations: 71.64 kB / 0.7339 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.8753, allocations: 20 kB / 0.7339 GB, free: 11.49 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.0004501/0.8757, allocations: 209.7 kB / 0.7341 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.8758, allocations: 47.39 kB / 0.7342 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.8772, allocations: 441.4 kB / 0.7346 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.8773, allocations: 7.984 kB / 0.7346 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-06/0.8773, allocations: 4 kB / 0.7346 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.8773, allocations: 3.984 kB / 0.7346 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.8798, allocations: 1.018 MB / 0.7356 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-06/0.8798, allocations: 0 / 0.7356 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.8802, allocations: 59.89 kB / 0.7356 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.992e-06/0.8803, allocations: 3.938 kB / 0.7356 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.8803, allocations: 12 kB / 0.7357 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.8803, allocations: 3.984 kB / 0.7357 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.2e-06/0.8803, allocations: 0 / 0.7357 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.8824, allocations: 0.7236 MB / 0.7364 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.8827, allocations: 152.6 kB / 0.7365 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.8828, allocations: 8 kB / 0.7365 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.8833, allocations: 56 kB / 0.7366 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.8835, allocations: 51.88 kB / 0.7366 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.522e-05/0.8836, allocations: 11.98 kB / 0.7366 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004611/0.884, allocations: 271.1 kB / 0.7369 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.32e-07/0.8841, allocations: 4 kB / 0.7369 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008929/0.885, allocations: 159.7 kB / 0.737 GB, free: 8.156 MB / 0.6042 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.0002504/0.8852, allocations: 133.7 kB / 0.7372 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.8874, allocations: 0.7878 MB / 0.7379 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.093e-06/0.8875, allocations: 4.062 kB / 0.7379 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.8882, allocations: 208.2 kB / 0.7381 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.8888, allocations: 85.36 kB / 0.7382 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.8909, allocations: 0.8693 MB / 0.7391 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.8915, allocations: 0.8402 MB / 0.7399 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005452/0.892, allocations: 73.36 kB / 0.74 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.8922, allocations: 31.42 kB / 0.74 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of SimCode: time 1.71e-06/0.8922, allocations: 0 / 0.74 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of Templates: time 0.01712/0.9093, allocations: 5.709 MB / 0.7456 GB, free: 15.37 MB / 0.6198 GB