Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadModel(Buildings): time 4.514/4.514, allocations: 431.3 MB / 445.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.973e-05, allocations: 0 / 0.5354 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6734, allocations: 98.71 MB / 0.6318 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.006205/0.6797, allocations: 2.481 MB / 0.6342 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003854/0.6836, allocations: 0.9753 MB / 0.6352 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005711/0.6843, allocations: 23.94 kB / 0.6352 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.6845, allocations: 43.52 kB / 0.6352 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006415/0.6852, allocations: 87.67 kB / 0.6353 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.6866, allocations: 239.6 kB / 0.6355 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.6878, allocations: 352.5 kB / 0.6359 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009051/0.6888, allocations: 298.4 kB / 0.6362 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.6894, allocations: 151.5 kB / 0.6363 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.6898, allocations: 163.2 kB / 0.6365 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.69, allocations: 20 kB / 0.6365 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.6901, allocations: 20 kB / 0.6365 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.6904, allocations: 79.67 kB / 0.6366 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.6906, allocations: 28 kB / 0.6366 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009096/0.6915, allocations: 0.5283 MB / 0.6371 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6915, allocations: 0 / 0.6371 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.477e-06/0.6915, allocations: 0 / 0.6371 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.6916, allocations: 8 kB / 0.6371 GB, free: 6.48 MB / 0.5105 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.002288/0.6939, allocations: 0.7423 MB / 0.6379 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6939, allocations: 11.98 kB / 0.6379 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.6941, allocations: 67.28 kB / 0.6379 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.6951, allocations: 427.5 kB / 0.6383 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.6952, allocations: 37 kB / 0.6384 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.6954, allocations: 48 kB / 0.6384 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.697, allocations: 0.539 MB / 0.639 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.6971, allocations: 0 / 0.639 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.6971, allocations: 23.98 kB / 0.639 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.6972, allocations: 12 kB / 0.639 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.6989, allocations: 431.6 kB / 0.6394 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.7025, allocations: 1.837 MB / 0.6412 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.7042, allocations: 370.9 kB / 0.6415 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.7043, allocations: 4 kB / 0.6415 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000896/0.7052, allocations: 225.4 kB / 0.6418 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.466e-06/0.7052, allocations: 4 kB / 0.6418 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.002275/0.7075, allocations: 0.4896 MB / 0.6422 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.7076, allocations: 67.33 kB / 0.6423 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.7084, allocations: 360.6 kB / 0.6427 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.7085, allocations: 45.69 kB / 0.6427 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.7088, allocations: 248.2 kB / 0.6429 GB, free: 288 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.709, allocations: 94.73 kB / 0.643 GB, free: 192 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.709, allocations: 8 kB / 0.643 GB, free: 184 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002456/0.7093, allocations: 358.8 kB / 0.6434 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.7101, allocations: 165 kB / 0.6435 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.7109, allocations: 265.9 kB / 0.6438 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.7117, allocations: 211.1 kB / 0.644 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.7118, allocations: 0 / 0.644 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002003/0.7138, allocations: 0.5423 MB / 0.6445 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006504/0.7145, allocations: 1.242 MB / 0.6457 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.7145, allocations: 8 kB / 0.6457 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.7145, allocations: 4 kB / 0.6457 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.7152, allocations: 79.83 kB / 0.6458 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.7152, allocations: 7.984 kB / 0.6458 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.716, allocations: 91.36 kB / 0.6459 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.7161, allocations: 23.98 kB / 0.6459 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7161, allocations: 4 kB / 0.6459 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001775/0.7179, allocations: 493 kB / 0.6464 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7179, allocations: 4 kB / 0.6464 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7179, allocations: 4 kB / 0.6464 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.7185, allocations: 79.83 kB / 0.6465 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.7185, allocations: 7.984 kB / 0.6465 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.7192, allocations: 79.66 kB / 0.6466 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.7193, allocations: 16 kB / 0.6466 GB, free: 12.36 MB / 0.5261 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.0004528/0.7197, allocations: 197.7 kB / 0.6468 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.7199, allocations: 43.48 kB / 0.6468 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.7215, allocations: 413.6 kB / 0.6472 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.7216, allocations: 4 kB / 0.6472 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7216, allocations: 4 kB / 0.6472 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.7216, allocations: 3.984 kB / 0.6472 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.7243, allocations: 0.9714 MB / 0.6482 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7243, allocations: 0 / 0.6482 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.7248, allocations: 51.91 kB / 0.6482 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.7248, allocations: 7.984 kB / 0.6482 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.7249, allocations: 8 kB / 0.6482 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.7249, allocations: 4 kB / 0.6482 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7249, allocations: 0 / 0.6482 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.7272, allocations: 0.6848 MB / 0.6489 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.7275, allocations: 144.5 kB / 0.649 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.7276, allocations: 11.94 kB / 0.6491 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.7282, allocations: 44.02 kB / 0.6491 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.7284, allocations: 51.92 kB / 0.6492 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.7284, allocations: 8 kB / 0.6492 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004657/0.7289, allocations: 267.2 kB / 0.6494 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7289, allocations: 0 / 0.6494 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009016/0.7298, allocations: 171.4 kB / 0.6496 GB, free: 9.176 MB / 0.5261 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.0002354/0.7301, allocations: 122.8 kB / 0.6497 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.7327, allocations: 0.755 MB / 0.6504 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7327, allocations: 3.938 kB / 0.6504 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.7335, allocations: 183.8 kB / 0.6506 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.7343, allocations: 85.8 kB / 0.6507 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.7365, allocations: 0.8623 MB / 0.6515 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.7372, allocations: 0.8402 MB / 0.6524 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006473/0.7378, allocations: 79.41 kB / 0.6524 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.738, allocations: 31.44 kB / 0.6525 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of SimCode: time 2.915e-06/0.738, allocations: 0 / 0.6525 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of Templates: time 0.01733/0.7554, allocations: 5.315 MB / 0.6577 GB, free: 0.8516 MB / 0.5261 GB