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.765/3.765, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.196e-05, allocations: 8 kB / 0.499 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4831, allocations: 92.69 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.6786, allocations: 127.7 MB / 0.7143 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6789, allocations: 91.94 kB / 0.7144 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03361/0.7125, allocations: 8.682 MB / 0.7229 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7125, allocations: 0 / 0.7229 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.124e-05/0.7126, allocations: 15.94 kB / 0.7229 GB, free: 5.773 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.001694/0.7143, allocations: 0.7398 MB / 0.7236 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.7144, allocations: 15.97 kB / 0.7236 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.7146, allocations: 55.34 kB / 0.7237 GB, free: 4.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.7154, allocations: 424.4 kB / 0.7241 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.7155, allocations: 41 kB / 0.7241 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.7156, allocations: 44 kB / 0.7241 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.7168, allocations: 0.4912 MB / 0.7246 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.7168, allocations: 8 kB / 0.7246 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.7169, allocations: 19.95 kB / 0.7247 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.717, allocations: 12 kB / 0.7247 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009253/0.7179, allocations: 333.9 kB / 0.725 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.7213, allocations: 1.884 MB / 0.7268 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.7223, allocations: 291.2 kB / 0.7271 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.7226, allocations: 128.9 kB / 0.7272 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.7227, allocations: 0 / 0.7272 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004711/0.7231, allocations: 205 kB / 0.7274 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 3.283e-06/0.7232, allocations: 0 / 0.7274 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.0008251/0.724, allocations: 291.1 kB / 0.7277 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.7241, allocations: 110.8 kB / 0.7278 GB, free: 472 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.7247, allocations: 358.7 kB / 0.7281 GB, free: 108 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/0.7248, allocations: 45.7 kB / 0.7282 GB, free: 56 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.7251, allocations: 244.2 kB / 0.7284 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.7253, allocations: 98.78 kB / 0.7285 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.7253, allocations: 8 kB / 0.7285 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.7255, allocations: 358.7 kB / 0.7289 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.7259, allocations: 125.1 kB / 0.729 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.7264, allocations: 237.7 kB / 0.7292 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.7268, allocations: 163.3 kB / 0.7294 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7268, allocations: 0 / 0.7294 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001108/0.7279, allocations: 451.2 kB / 0.7298 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006222/0.7285, allocations: 1.159 MB / 0.7309 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.241e-06/0.7286, allocations: 3.938 kB / 0.7309 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.7286, allocations: 8 kB / 0.7309 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.7291, allocations: 87.81 kB / 0.731 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.7291, allocations: 11.95 kB / 0.731 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.7297, allocations: 75.64 kB / 0.7311 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.7298, allocations: 27.98 kB / 0.7311 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-06/0.7298, allocations: 0 / 0.7311 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009407/0.7308, allocations: 385.2 kB / 0.7315 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.292e-06/0.7308, allocations: 4 kB / 0.7315 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7308, allocations: 8 kB / 0.7315 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.7312, allocations: 80.2 kB / 0.7316 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.7313, allocations: 4 kB / 0.7316 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.7318, allocations: 71.64 kB / 0.7317 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.7318, allocations: 24 kB / 0.7317 GB, free: 12.29 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.0002026/0.7321, allocations: 156.3 kB / 0.7318 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.7322, allocations: 47.39 kB / 0.7319 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008615/0.733, allocations: 333.7 kB / 0.7322 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.494e-06/0.7331, allocations: 4 kB / 0.7322 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.469e-06/0.7331, allocations: 0 / 0.7322 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.261e-06/0.7331, allocations: 7.984 kB / 0.7322 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.735, allocations: 0.9094 MB / 0.7331 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.757e-06/0.7351, allocations: 0 / 0.7331 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.7355, allocations: 63.92 kB / 0.7332 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.7355, allocations: 4 kB / 0.7332 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.7355, allocations: 4 kB / 0.7332 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-06/0.7356, allocations: 4 kB / 0.7332 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.349e-06/0.7356, allocations: 0 / 0.7332 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.7368, allocations: 0.5711 MB / 0.7337 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.7371, allocations: 152.6 kB / 0.7339 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.774e-05/0.7372, allocations: 12 kB / 0.7339 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.7377, allocations: 47.95 kB / 0.7339 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.7379, allocations: 51.92 kB / 0.734 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.7379, allocations: 8 kB / 0.734 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004459/0.7384, allocations: 269.2 kB / 0.7342 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.77e-07/0.7384, allocations: 0 / 0.7342 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008906/0.7393, allocations: 159.8 kB / 0.7344 GB, free: 9.402 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.000244/0.7396, allocations: 141.1 kB / 0.7345 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.741, allocations: 0.622 MB / 0.7351 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.479e-06/0.741, allocations: 0 / 0.7351 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.7414, allocations: 144.5 kB / 0.7353 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.742, allocations: 75.27 kB / 0.7353 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.7436, allocations: 0.5569 MB / 0.7359 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.7442, allocations: 0.8324 MB / 0.7367 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005448/0.7447, allocations: 85.33 kB / 0.7368 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.7449, allocations: 39.42 kB / 0.7368 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of SimCode: time 1.838e-06/0.7449, allocations: 0 / 0.7368 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of Templates: time 0.01717/0.7621, allocations: 5.673 MB / 0.7424 GB, free: 1.199 MB / 0.6198 GB