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 3.96/3.96, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.357e-05, allocations: 7.891 kB / 0.5337 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 98.72 MB / 0.6301 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.3799, allocations: 132.1 MB / 0.7591 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.3802, allocations: 91.94 kB / 0.7592 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03323/0.4135, allocations: 8.704 MB / 0.7677 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.363e-06/0.4135, allocations: 0 / 0.7677 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.538e-05/0.4136, allocations: 12 kB / 0.7677 GB, free: 9.164 MB / 0.6511 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.00162/0.4152, allocations: 0.7272 MB / 0.7684 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4153, allocations: 12.03 kB / 0.7684 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.4155, allocations: 59.3 kB / 0.7685 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.4163, allocations: 428.4 kB / 0.7689 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.4164, allocations: 37 kB / 0.7689 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4165, allocations: 48 kB / 0.7689 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.4177, allocations: 0.4951 MB / 0.7694 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.4178, allocations: 4 kB / 0.7694 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.4178, allocations: 16 kB / 0.7694 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4179, allocations: 12 kB / 0.7695 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/0.4188, allocations: 337.8 kB / 0.7698 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.4223, allocations: 1.888 MB / 0.7716 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.4232, allocations: 295.1 kB / 0.7719 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.4235, allocations: 132.9 kB / 0.772 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.4236, allocations: 7.922 kB / 0.772 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.4241, allocations: 189.2 kB / 0.7722 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 4.539e-06/0.4241, allocations: 4 kB / 0.7722 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0008413/0.4249, allocations: 294.9 kB / 0.7725 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.425, allocations: 110.8 kB / 0.7726 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.4257, allocations: 354.7 kB / 0.773 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/0.4258, allocations: 49.7 kB / 0.773 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.426, allocations: 240.3 kB / 0.7732 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4262, allocations: 102.7 kB / 0.7733 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.4262, allocations: 8 kB / 0.7733 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4264, allocations: 358.7 kB / 0.7737 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.4268, allocations: 121.1 kB / 0.7738 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.4273, allocations: 237.7 kB / 0.774 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.4277, allocations: 167.2 kB / 0.7742 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.135e-06/0.4277, allocations: 0 / 0.7742 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001132/0.4288, allocations: 447.6 kB / 0.7746 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006468/0.4295, allocations: 1.163 MB / 0.7757 GB, free: 476 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.741e-06/0.4295, allocations: 0 / 0.7757 GB, free: 476 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.4296, allocations: 12 kB / 0.7758 GB, free: 464 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.4301, allocations: 83.81 kB / 0.7758 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.4301, allocations: 8 kB / 0.7758 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.4307, allocations: 79.64 kB / 0.7759 GB, free: 292 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.4308, allocations: 23.94 kB / 0.7759 GB, free: 268 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.404e-06/0.4308, allocations: 4 kB / 0.7759 GB, free: 264 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4391/0.8699, allocations: 387.1 kB / 0.7763 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.87, allocations: 3.188 kB / 0.7763 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.87, allocations: 5.375 kB / 0.7763 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.8705, allocations: 77.19 kB / 0.7764 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.8705, allocations: 8.781 kB / 0.7764 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.8711, allocations: 70.58 kB / 0.7765 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.8712, allocations: 19.89 kB / 0.7765 GB, free: 138.1 MB / 0.6511 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.0001912/0.8714, allocations: 149.2 kB / 0.7766 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.8715, allocations: 41.22 kB / 0.7767 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/0.8723, allocations: 333 kB / 0.777 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.321e-06/0.8724, allocations: 4.172 kB / 0.777 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-06/0.8724, allocations: 0 / 0.777 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.573e-06/0.8724, allocations: 7.062 kB / 0.777 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.8742, allocations: 0.9117 MB / 0.7779 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.796e-06/0.8743, allocations: 4.219 kB / 0.7779 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.8747, allocations: 56.06 kB / 0.7779 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.875e-06/0.8747, allocations: 2.062 kB / 0.7779 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.8747, allocations: 14.17 kB / 0.778 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-06/0.8748, allocations: 1.156 kB / 0.778 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.064e-06/0.8748, allocations: 4.625 kB / 0.778 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.8759, allocations: 0.5669 MB / 0.7785 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.8762, allocations: 152.3 kB / 0.7787 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.8763, allocations: 11.61 kB / 0.7787 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.8768, allocations: 54.77 kB / 0.7787 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.877, allocations: 48.69 kB / 0.7788 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.8771, allocations: 11.55 kB / 0.7788 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004831/0.8775, allocations: 264.6 kB / 0.779 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.76e-07/0.8776, allocations: 0 / 0.779 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009812/0.8786, allocations: 159.2 kB / 0.7792 GB, free: 137.2 MB / 0.6511 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.0002361/0.8788, allocations: 135.8 kB / 0.7793 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.8802, allocations: 0.611 MB / 0.7799 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.8803, allocations: 3.906 kB / 0.7799 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.8807, allocations: 154.9 kB / 0.7801 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.8813, allocations: 72.88 kB / 0.7801 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.8828, allocations: 0.5398 MB / 0.7807 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.8832, allocations: 0.8351 MB / 0.7815 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005645/0.8838, allocations: 83.19 kB / 0.7816 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.884, allocations: 35.06 kB / 0.7816 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.286e-06/0.884, allocations: 0 / 0.7816 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.01812/0.9021, allocations: 5.681 MB / 0.7871 GB, free: 135.8 MB / 0.6511 GB