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.741/3.741, allocations: 402 MB / 416.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.608e-05, allocations: 4 kB / 0.5009 GB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 92.69 MB / 0.5915 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004422/0.2095, allocations: 2.453 MB / 0.5939 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.2121, allocations: 0.9828 MB / 0.5948 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.2125, allocations: 23.94 kB / 0.5948 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2127, allocations: 43.58 kB / 0.5949 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.2131, allocations: 83.66 kB / 0.595 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.214, allocations: 239.6 kB / 0.5952 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007382/0.2148, allocations: 352.4 kB / 0.5955 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.2154, allocations: 302.4 kB / 0.5958 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.2156, allocations: 147.6 kB / 0.596 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.2159, allocations: 167.3 kB / 0.5961 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.2161, allocations: 24 kB / 0.5961 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.2162, allocations: 16 kB / 0.5962 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2163, allocations: 79.61 kB / 0.5962 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.2164, allocations: 28 kB / 0.5963 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.2172, allocations: 0.5338 MB / 0.5968 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2172, allocations: 3.938 kB / 0.5968 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2172, allocations: 0 / 0.5968 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.2173, allocations: 4 kB / 0.5968 GB, free: 5.914 MB / 0.4948 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.002135/0.2194, allocations: 0.7422 MB / 0.5975 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.2195, allocations: 15.98 kB / 0.5975 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.2196, allocations: 59.34 kB / 0.5976 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/0.2206, allocations: 423.5 kB / 0.598 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.2207, allocations: 37 kB / 0.598 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.2208, allocations: 51.98 kB / 0.5981 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2224, allocations: 0.5274 MB / 0.5986 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.2225, allocations: 3.938 kB / 0.5986 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.2226, allocations: 20 kB / 0.5986 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.2226, allocations: 15.95 kB / 0.5986 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.2243, allocations: 423.7 kB / 0.599 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.2278, allocations: 1.856 MB / 0.6008 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.2295, allocations: 362.9 kB / 0.6012 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.2296, allocations: 7.984 kB / 0.6012 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008346/0.2304, allocations: 229.4 kB / 0.6014 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.857e-06/0.2304, allocations: 0 / 0.6014 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.002185/0.2326, allocations: 0.5012 MB / 0.6019 GB, free: 448 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2327, allocations: 59.41 kB / 0.602 GB, free: 376 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.2333, allocations: 352.7 kB / 0.6023 GB, free: 20 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.518/0.7513, allocations: 41.92 kB / 0.6023 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.7518, allocations: 255.3 kB / 0.6026 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.7519, allocations: 97.97 kB / 0.6027 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.752, allocations: 8.781 kB / 0.6027 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7521, allocations: 354.3 kB / 0.603 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.753, allocations: 162.9 kB / 0.6032 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/0.7538, allocations: 273.7 kB / 0.6034 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.7546, allocations: 203.4 kB / 0.6036 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/0.7547, allocations: 1.188 kB / 0.6036 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002015/0.7567, allocations: 0.5348 MB / 0.6042 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003433/0.7571, allocations: 1.25 MB / 0.6054 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.7571, allocations: 2.75 kB / 0.6054 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/0.7572, allocations: 7.234 kB / 0.6054 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.7578, allocations: 81.94 kB / 0.6055 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.7578, allocations: 5.094 kB / 0.6055 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007093/0.7586, allocations: 87.11 kB / 0.6056 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.7587, allocations: 20.22 kB / 0.6056 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7587, allocations: 5.906 kB / 0.6056 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/0.7604, allocations: 484.8 kB / 0.606 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7604, allocations: 2.75 kB / 0.606 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7604, allocations: 5.5 kB / 0.606 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.761, allocations: 81.45 kB / 0.6061 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.761, allocations: 10.58 kB / 0.6061 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.7617, allocations: 75.98 kB / 0.6062 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.7618, allocations: 20.92 kB / 0.6062 GB, free: 10.59 MB / 0.4948 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.000411/0.7622, allocations: 206 kB / 0.6064 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.7623, allocations: 40.25 kB / 0.6065 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.7639, allocations: 408.5 kB / 0.6069 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.764, allocations: 1.641 kB / 0.6069 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.764, allocations: 0.7031 kB / 0.6069 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.7642, allocations: 149.6 kB / 0.607 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.958e-05/0.7643, allocations: 16.45 kB / 0.607 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/0.7649, allocations: 44.7 kB / 0.6071 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.7651, allocations: 45.48 kB / 0.6071 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001985/0.7671, allocations: 495 kB / 0.6076 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002363/0.7695, allocations: 0.7361 MB / 0.6083 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007404/0.7703, allocations: 176.4 kB / 0.6085 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004508/0.7707, allocations: 265.3 kB / 0.6087 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of Backend: time 7.11e-07/0.7707, allocations: 4.062 kB / 0.6087 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.7722, allocations: 401.2 kB / 0.6091 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of SimCode: time 0.002045/0.7742, allocations: 1.266 MB / 0.6103 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.01866/0.7929, allocations: 4.895 MB / 0.6151 GB, free: 7.715 MB / 0.4948 GB