Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadModel(Buildings): time 3.62/3.62, allocations: 403.9 MB / 411 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.102e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4783, allocations: 92.7 MB / 0.5847 GB, free: 2.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.6603, allocations: 122.8 MB / 0.7046 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6607, allocations: 91.94 kB / 0.7047 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.6775, allocations: 4.466 MB / 0.709 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6775, allocations: 4 kB / 0.709 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.709e-05/0.6776, allocations: 12 kB / 0.709 GB, free: 2.844 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008978/0.6785, allocations: 0.5278 MB / 0.7096 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.6785, allocations: 8.031 kB / 0.7096 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.6787, allocations: 39.66 kB / 0.7096 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.6791, allocations: 262.6 kB / 0.7098 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.6791, allocations: 12 kB / 0.7099 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.6792, allocations: 20 kB / 0.7099 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000559/0.6798, allocations: 205.1 kB / 0.7101 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.6804, allocations: 266.5 kB / 0.7103 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6804, allocations: 0 / 0.7103 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.6805, allocations: 7.938 kB / 0.7103 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.6805, allocations: 8 kB / 0.7103 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.6823, allocations: 0.8733 MB / 0.7112 GB, free: 496 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.6829, allocations: 219.1 kB / 0.7114 GB, free: 268 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.6831, allocations: 100.9 kB / 0.7115 GB, free: 164 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.6832, allocations: 4 kB / 0.7115 GB, free: 160 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/0.6835, allocations: 147.4 kB / 0.7116 GB, free: 16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.532e-06/0.6836, allocations: 0 / 0.7116 GB, free: 16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0005514/0.6841, allocations: 213.2 kB / 0.7118 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6842, allocations: 59.41 kB / 0.7119 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.6844, allocations: 161.1 kB / 0.7121 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.6845, allocations: 33.7 kB / 0.7121 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.6846, allocations: 152.8 kB / 0.7122 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.6847, allocations: 78.98 kB / 0.7123 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.6847, allocations: 4 kB / 0.7123 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6849, allocations: 342.8 kB / 0.7126 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.6851, allocations: 76.88 kB / 0.7127 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.6854, allocations: 140.6 kB / 0.7129 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.6856, allocations: 71.97 kB / 0.7129 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-06/0.6856, allocations: 0 / 0.7129 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000655/0.6863, allocations: 276.9 kB / 0.7132 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.6864, allocations: 37.69 kB / 0.7132 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6864, allocations: 4 kB / 0.7132 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6864, allocations: 0 / 0.7132 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.6867, allocations: 48.06 kB / 0.7133 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.6868, allocations: 4 kB / 0.7133 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.6871, allocations: 43.75 kB / 0.7133 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.6871, allocations: 12 kB / 0.7133 GB, free: 14.2 MB / 0.6042 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.0001586/0.6873, allocations: 140.8 kB / 0.7135 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.6874, allocations: 19.81 kB / 0.7135 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.688, allocations: 236.5 kB / 0.7137 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.688, allocations: 4 kB / 0.7137 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.223e-06/0.688, allocations: 0 / 0.7137 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.478e-06/0.688, allocations: 0 / 0.7137 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.6893, allocations: 0.651 MB / 0.7143 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-06/0.6894, allocations: 0 / 0.7143 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.6896, allocations: 35.91 kB / 0.7144 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-06/0.6896, allocations: 0 / 0.7144 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.6896, allocations: 4 kB / 0.7144 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.424e-06/0.6896, allocations: 0 / 0.7144 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.567e-06/0.6896, allocations: 4 kB / 0.7144 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.6902, allocations: 335 kB / 0.7147 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.6903, allocations: 92.86 kB / 0.7148 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.6904, allocations: 4 kB / 0.7148 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.6907, allocations: 35.95 kB / 0.7148 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6908, allocations: 39.94 kB / 0.7149 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.6909, allocations: 12 kB / 0.7149 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001127/0.691, allocations: 115.9 kB / 0.715 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.75e-07/0.691, allocations: 0 / 0.715 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004645/0.6915, allocations: 47.94 kB / 0.715 GB, free: 12.36 MB / 0.6042 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.0002013/0.6917, allocations: 128.5 kB / 0.7152 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000581/0.6923, allocations: 283.2 kB / 0.7154 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.835e-06/0.6923, allocations: 0 / 0.7154 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.6926, allocations: 116.4 kB / 0.7155 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.6929, allocations: 20.67 kB / 0.7156 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.6937, allocations: 300.9 kB / 0.7158 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.6942, allocations: 0.7648 MB / 0.7166 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000169/0.6944, allocations: 34.05 kB / 0.7166 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.6945, allocations: 27.42 kB / 0.7167 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.223e-06/0.6945, allocations: 0 / 0.7167 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.008348/0.7028, allocations: 2.515 MB / 0.7191 GB, free: 8.141 MB / 0.6042 GB