Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadModel(Buildings): time 3.997/3.997, allocations: 460.4 MB / 472.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.838e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 106.2 MB / 0.6718 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7236/0.9197, allocations: 144.9 MB / 0.8133 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.92, allocations: 90.33 kB / 0.8134 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09867/1.019, allocations: 28.97 MB / 0.8417 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.403e-06/1.019, allocations: 0 / 0.8417 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.797e-05/1.019, allocations: 42.75 kB / 0.8417 GB, free: 2.895 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002907/1.022, allocations: 1.399 MB / 0.8431 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.022, allocations: 7.844 kB / 0.8431 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005373/1.022, allocations: 171 kB / 0.8433 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/1.024, allocations: 0.7542 MB / 0.844 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.024, allocations: 132 kB / 0.8441 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/1.025, allocations: 168.1 kB / 0.8443 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/1.028, allocations: 1.608 MB / 0.8459 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/1.028, allocations: 11.78 kB / 0.8459 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/1.028, allocations: 61.44 kB / 0.8459 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.028, allocations: 34.88 kB / 0.846 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/1.031, allocations: 1.143 MB / 0.8471 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009721/1.041, allocations: 5.808 MB / 0.8527 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/1.044, allocations: 1.068 MB / 0.8538 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.045, allocations: 494.1 kB / 0.8543 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/1.045, allocations: 20.83 kB / 0.8543 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001419/1.046, allocations: 0.6126 MB / 0.8549 GB, free: 12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=123): time 5.31e-06/1.046, allocations: 0 / 0.8549 GB, free: 12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=123): time 0.002484/1.049, allocations: 0.9522 MB / 0.8558 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.049, allocations: 157.4 kB / 0.856 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.05, allocations: 0.593 MB / 0.8565 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002618/1.05, allocations: 84.31 kB / 0.8566 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006162/1.051, allocations: 0.5379 MB / 0.8571 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/1.052, allocations: 316.1 kB / 0.8574 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.052, allocations: 35.19 kB / 0.8575 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002762/1.052, allocations: 404.8 kB / 0.8579 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/1.053, allocations: 444.9 kB / 0.8583 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.055, allocations: 0.7634 MB / 0.859 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.056, allocations: 487.8 kB / 0.8595 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.056, allocations: 4 kB / 0.8595 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003498/1.059, allocations: 1.415 MB / 0.8609 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/1.059, allocations: 50.88 kB / 0.8609 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.059, allocations: 12 kB / 0.8609 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/1.06, allocations: 16 kB / 0.861 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/1.061, allocations: 190.4 kB / 0.8611 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-05/1.061, allocations: 31.91 kB / 0.8612 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.062, allocations: 183.5 kB / 0.8613 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/1.062, allocations: 72.81 kB / 0.8614 GB, free: 6.684 MB / 0.6511 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 (189): * Single equations (assignments): 188 * 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.0004613/1.063, allocations: 269.9 kB / 0.8617 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/1.063, allocations: 86.97 kB / 0.8618 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/1.066, allocations: 1.12 MB / 0.8628 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/1.066, allocations: 12 kB / 0.8629 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.066, allocations: 7.938 kB / 0.8629 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.066, allocations: 7.969 kB / 0.8629 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/1.071, allocations: 2.538 MB / 0.8654 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.031e-06/1.071, allocations: 0 / 0.8654 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/1.072, allocations: 122.6 kB / 0.8655 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.072, allocations: 8 kB / 0.8655 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.072, allocations: 29.36 kB / 0.8655 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/1.072, allocations: 7.984 kB / 0.8655 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.229e-06/1.072, allocations: 4 kB / 0.8655 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/1.076, allocations: 1.717 MB / 0.8672 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/1.077, allocations: 268.8 kB / 0.8674 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/1.077, allocations: 38.86 kB / 0.8675 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/1.078, allocations: 81.19 kB / 0.8676 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/1.078, allocations: 155.5 kB / 0.8677 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.079, allocations: 50.53 kB / 0.8678 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006428/1.079, allocations: 372.1 kB / 0.8681 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.17e-07/1.079, allocations: 0 / 0.8681 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001371/1.081, allocations: 312.8 kB / 0.8684 GB, free: 1.383 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (cap.T,PID.I.y,PID.D.x) * 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 (134): * Single equations (assignments): 118 * 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.0004223/1.081, allocations: 220.9 kB / 0.8686 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002823/1.084, allocations: 1.294 MB / 0.8699 GB, free: 292 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.864e-06/1.084, allocations: 4 kB / 0.8699 GB, free: 288 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/1.085, allocations: 0.5628 MB / 0.8704 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.086, allocations: 193.6 kB / 0.8706 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/1.091, allocations: 1.619 MB / 0.8722 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.092, allocations: 1.149 MB / 0.8733 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001013/1.093, allocations: 176.5 kB / 0.8735 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/1.093, allocations: 90.84 kB / 0.8736 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of SimCode: time 1.72e-06/1.093, allocations: 3.938 kB / 0.8736 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of Templates: time 0.03787/1.131, allocations: 12.05 MB / 0.8854 GB, free: 1.023 MB / 0.6667 GB