Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadModel(Buildings): time 4.188/4.188, allocations: 464.6 MB / 476.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.468e-05, allocations: 4 kB / 0.5731 GB, free: 5.742 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7227/0.921, allocations: 145.3 MB / 0.8196 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.9213, allocations: 92.16 kB / 0.8197 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09602/1.017, allocations: 27.93 MB / 0.847 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.935e-06/1.017, allocations: 0 / 0.847 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001082/1.018, allocations: 35.94 kB / 0.847 GB, free: 15.29 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: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.003925/1.021, allocations: 1.373 MB / 0.8483 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.022, allocations: 8.031 kB / 0.8483 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/1.022, allocations: 170.1 kB / 0.8485 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/1.024, allocations: 0.7309 MB / 0.8492 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/1.024, allocations: 129.4 kB / 0.8493 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/1.025, allocations: 165.9 kB / 0.8495 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/1.029, allocations: 1.588 MB / 0.851 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-05/1.029, allocations: 11.88 kB / 0.8511 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/1.029, allocations: 56.12 kB / 0.8511 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/1.029, allocations: 43.95 kB / 0.8512 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/1.032, allocations: 1.117 MB / 0.8522 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/1.043, allocations: 5.741 MB / 0.8579 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/1.046, allocations: 1.051 MB / 0.8589 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.047, allocations: 483.4 kB / 0.8593 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.048, allocations: 20.98 kB / 0.8594 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/1.049, allocations: 0.5973 MB / 0.8599 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=120): time 5.832e-06/1.049, allocations: 0 / 0.8599 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of matching and sorting (n=120): time 0.002577/1.052, allocations: 0.927 MB / 0.8608 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/1.052, allocations: 152.2 kB / 0.861 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/1.053, allocations: 0.5634 MB / 0.8615 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003402/1.053, allocations: 79.56 kB / 0.8616 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006728/1.054, allocations: 0.5297 MB / 0.8621 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/1.055, allocations: 306.1 kB / 0.8624 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/1.055, allocations: 39 kB / 0.8625 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003083/1.055, allocations: 402.3 kB / 0.8629 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.056, allocations: 435.9 kB / 0.8633 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/1.058, allocations: 0.75 MB / 0.864 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/1.059, allocations: 476.9 kB / 0.8645 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.059, allocations: 4 kB / 0.8645 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003552/1.063, allocations: 1.392 MB / 0.8658 GB, free: 112 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-05/1.063, allocations: 49.12 kB / 0.8659 GB, free: 60 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/1.063, allocations: 12 kB / 0.8659 GB, free: 48 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/1.063, allocations: 20 kB / 0.8659 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.064, allocations: 183.3 kB / 0.8661 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.703e-05/1.064, allocations: 23.94 kB / 0.8661 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.065, allocations: 181.5 kB / 0.8663 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/1.066, allocations: 69.55 kB / 0.8663 GB, free: 15.62 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.operationModes.start.enableFire,$PRE.operationModes.t2.enableFire,$PRE.operationModes.t1.enableFire,$PRE.operationModes.t6.enableFire,$PRE.operationModes.t5.enableFire,$PRE.operationModes.t3.enableFire,$PRE.operationModes.t4.enableFire,$PRE.operationModes.t7.enableFire,$PRE.operationModes.t9.enableFire,$PRE.operationModes.t8.enableFire,operationModes.stateGraphRoot.resume,operationModes.stateGraphRoot.suspend,operationModes.start.condition,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.operationModes.initialStep.localActive,operationModes.initialStep.localActive,$PRE.operationModes.initialStep.newActive,operationModes.initialStep.newActive,$PRE.operationModes.initialStep.oldActive,operationModes.initialStep.oldActive,operationModes.initialStep.active,operationModes.start.enableFire,$PRE.operationModes.unOccOff.localActive,operationModes.unOccOff.localActive,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.outPort[2].available,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.enableFire,operationModes.t2.fire,$PRE.operationModes.t2.t_start,operationModes.t2.t_start,operationModes.t2.condition,operationModes.t1.enableFire,operationModes.t1.fire,$PRE.operationModes.t1.t_start,operationModes.t1.t_start,operationModes.t1.condition,operationModes.stateGraphRoot.activeSteps,$PRE.operationModes.morWarUp.localActive,operationModes.morWarUp.localActive,operationModes.morWarUp.inPort[2].occupied,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.enableFire,operationModes.t6.fire,$PRE.operationModes.t6.t_start,operationModes.t6.t_start,operationModes.t5.enableFire,$PRE.operationModes.occ.localActive,operationModes.occ.localActive,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,$PRE.operationModes.occ.newActive,operationModes.occ.newActive,$PRE.operationModes.occ.oldActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.enableFire,operationModes.t3.condition,operationModes.t4.enableFire,$PRE.operationModes.morPreCoo.localActive,operationModes.morPreCoo.localActive,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.enableFire,operationModes.t7.condition,operationModes.and1.u2,operationModes.and1.y,operationModes.preCooSta.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.enableFire,operationModes.and2.u2,operationModes.and2.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.yFan,mode.u,modSel.y,modSel1.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,operationModes.preCooSta.and3.u[2],PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 184 * 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.0004896/1.066, allocations: 273.1 kB / 0.8666 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/1.066, allocations: 98.81 kB / 0.8667 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/1.069, allocations: 1.081 MB / 0.8677 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/1.069, allocations: 12 kB / 0.8678 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.069, allocations: 0 / 0.8678 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/1.069, allocations: 7.969 kB / 0.8678 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006005/1.075, allocations: 2.478 MB / 0.8702 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.076, allocations: 0 / 0.8702 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/1.076, allocations: 114 kB / 0.8703 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/1.076, allocations: 4 kB / 0.8703 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.076, allocations: 30.34 kB / 0.8703 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/1.076, allocations: 8 kB / 0.8703 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.121e-06/1.076, allocations: 0 / 0.8703 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/1.08, allocations: 1.683 MB / 0.872 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/1.081, allocations: 263 kB / 0.8722 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.081, allocations: 27.94 kB / 0.8722 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/1.082, allocations: 88.8 kB / 0.8723 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004425/1.083, allocations: 167.2 kB / 0.8725 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.083, allocations: 38.42 kB / 0.8725 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006364/1.083, allocations: 362.9 kB / 0.8729 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.98e-07/1.083, allocations: 0 / 0.8729 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001389/1.085, allocations: 291.7 kB / 0.8732 GB, free: 10.43 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (cap.T,PID.I.y) * Number of discrete variables: 93 (operationModes.t6.enableFire,operationModes.t2.enableFire,operationModes.t1.enableFire,operationModes.morPreCoo.localActive,operationModes.occ.localActive,operationModes.morWarUp.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccOff.localActive,operationModes.initialStep.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,operationModes.initialStep.newActive,operationModes.initialStep.oldActive,operationModes.initialStep.active,operationModes.start.enableFire,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,operationModes.unOccOff.newActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,operationModes.unOccNigSetBac.outPort[2].available,operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.fire,operationModes.t2.t_start,operationModes.t2.condition,operationModes.t1.fire,operationModes.t1.t_start,operationModes.t1.condition,operationModes.stateGraphRoot.activeSteps,operationModes.morWarUp.inPort[2].occupied,operationModes.morWarUp.newActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.fire,operationModes.t6.t_start,operationModes.t5.enableFire,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,operationModes.occ.newActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.enableFire,operationModes.t3.condition,operationModes.t4.enableFire,operationModes.morPreCoo.newActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.enableFire,operationModes.t7.condition,operationModes.and1.u2,operationModes.and1.y,operationModes.preCooSta.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.enableFire,operationModes.and2.u2,operationModes.and2.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.yFan,mode.u,modSel.y,modSel1.y,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc) * Number of discrete states: 13 (occSch.tNonOcc,occSch.tOcc,operationModes.initialStep.newActive,operationModes.unOccOff.newActive,operationModes.unOccNigSetBac.newActive,operationModes.morWarUp.newActive,operationModes.occ.newActive,operationModes.morPreCoo.newActive,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0004499/1.085, allocations: 227.9 kB / 0.8734 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002897/1.088, allocations: 1.267 MB / 0.8746 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.85e-06/1.088, allocations: 0 / 0.8746 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.09, allocations: 0.5464 MB / 0.8751 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.091, allocations: 172.3 kB / 0.8753 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/1.095, allocations: 1.578 MB / 0.8768 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.096, allocations: 1.144 MB / 0.878 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001021/1.097, allocations: 160.3 kB / 0.8781 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/1.098, allocations: 94.97 kB / 0.8782 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of SimCode: time 1.84e-06/1.098, allocations: 3.938 kB / 0.8782 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of Templates: time 0.03683/1.135, allocations: 11.69 MB / 0.8896 GB, free: 10.53 MB / 0.6823 GB