Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadModel(Buildings): time 4.003/4.003, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.637e-05, allocations: 4 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7537/0.9545, allocations: 135.3 MB / 0.8098 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.9548, allocations: 89.47 kB / 0.8099 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.9706, allocations: 4.643 MB / 0.8145 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.142e-06/0.9707, allocations: 0 / 0.8145 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.9707, allocations: 3.844 kB / 0.8145 GB, free: 11.95 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007846/0.9715, allocations: 0.5441 MB / 0.815 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9715, allocations: 10.88 kB / 0.815 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.9716, allocations: 30.98 kB / 0.815 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.972, allocations: 269.7 kB / 0.8153 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.972, allocations: 22.62 kB / 0.8153 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.9721, allocations: 37.06 kB / 0.8154 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.9727, allocations: 309 kB / 0.8157 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.9727, allocations: 0 / 0.8157 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.9728, allocations: 11.22 kB / 0.8157 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.9728, allocations: 11.69 kB / 0.8157 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.9733, allocations: 218.8 kB / 0.8159 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.975, allocations: 0.9512 MB / 0.8168 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.9756, allocations: 229.2 kB / 0.817 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.9758, allocations: 103.9 kB / 0.8171 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.9758, allocations: 10.8 kB / 0.8171 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.9762, allocations: 160.1 kB / 0.8173 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 3.975e-06/0.9762, allocations: 4 kB / 0.8173 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.0005274/0.9767, allocations: 226.3 kB / 0.8175 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.9768, allocations: 66.61 kB / 0.8176 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.977, allocations: 181.8 kB / 0.8177 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.977, allocations: 40.7 kB / 0.8178 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.9771, allocations: 150.2 kB / 0.8179 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.9772, allocations: 82.78 kB / 0.818 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.9773, allocations: 11.5 kB / 0.818 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.9773, allocations: 333.6 kB / 0.8183 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.9776, allocations: 98.25 kB / 0.8184 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.9778, allocations: 137.6 kB / 0.8186 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.9781, allocations: 118.6 kB / 0.8187 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-06/0.9781, allocations: 0 / 0.8187 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006265/0.9787, allocations: 331.9 kB / 0.819 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.9788, allocations: 33.55 kB / 0.819 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9788, allocations: 0 / 0.819 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.9788, allocations: 7.406 kB / 0.819 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.9791, allocations: 44.28 kB / 0.8191 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.9791, allocations: 7.969 kB / 0.8191 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.9795, allocations: 60.16 kB / 0.8191 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.9795, allocations: 7.688 kB / 0.8191 GB, free: 9.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001214/0.9797, allocations: 145.1 kB / 0.8193 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.9797, allocations: 30.36 kB / 0.8193 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.9803, allocations: 259.3 kB / 0.8196 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.341e-06/0.9803, allocations: 3.844 kB / 0.8196 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-06/0.9803, allocations: 0 / 0.8196 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.065e-06/0.9803, allocations: 0 / 0.8196 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.9815, allocations: 0.7126 MB / 0.8203 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.034e-06/0.9815, allocations: 3.875 kB / 0.8203 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.9817, allocations: 40.59 kB / 0.8203 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.314e-06/0.9817, allocations: 0 / 0.8203 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.9818, allocations: 2.75 kB / 0.8203 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.796e-06/0.9818, allocations: 7.328 kB / 0.8203 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.139e-06/0.9818, allocations: 3 kB / 0.8203 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.9823, allocations: 347.8 kB / 0.8206 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.9823, allocations: 96.67 kB / 0.8207 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.9824, allocations: 3 kB / 0.8207 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.9827, allocations: 40.94 kB / 0.8208 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.9828, allocations: 42.8 kB / 0.8208 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.9829, allocations: 11.75 kB / 0.8208 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000107/0.983, allocations: 132.8 kB / 0.821 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.67e-07/0.983, allocations: 0 / 0.821 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004528/0.9834, allocations: 60.41 kB / 0.821 GB, free: 8.867 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.000166/0.9836, allocations: 126.1 kB / 0.8211 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.9842, allocations: 295.8 kB / 0.8214 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.694e-06/0.9842, allocations: 0 / 0.8214 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.9845, allocations: 120.4 kB / 0.8215 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.9851, allocations: 27.77 kB / 0.8216 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.9863, allocations: 324.5 kB / 0.8219 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.9873, allocations: 0.7654 MB / 0.8226 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003328/0.9876, allocations: 30.86 kB / 0.8226 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.9878, allocations: 26.97 kB / 0.8227 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.384e-06/0.9878, allocations: 0 / 0.8227 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.01236/1, allocations: 2.683 MB / 0.8253 GB, free: 23.56 MB / 0.6511 GB