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.631/3.631, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.836e-05, allocations: 4 kB / 0.5004 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 92.68 MB / 0.5909 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6412/0.8372, allocations: 123.4 MB / 0.7114 GB, free: 2.996 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.8375, allocations: 95.92 kB / 0.7115 GB, free: 2.902 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.8549, allocations: 4.563 MB / 0.716 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8549, allocations: 0 / 0.716 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.423e-05/0.8549, allocations: 12 kB / 0.716 GB, free: 14.3 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.0009895/0.8559, allocations: 0.5324 MB / 0.7165 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.856, allocations: 12.02 kB / 0.7165 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.8561, allocations: 31.67 kB / 0.7165 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.8565, allocations: 262.6 kB / 0.7168 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.8566, allocations: 28.56 kB / 0.7168 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.8567, allocations: 31.98 kB / 0.7168 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009035/0.8576, allocations: 327.6 kB / 0.7172 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.8577, allocations: 0 / 0.7172 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.8577, allocations: 15.94 kB / 0.7172 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.8577, allocations: 11.95 kB / 0.7172 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.8586, allocations: 266 kB / 0.7174 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.8607, allocations: 0.9323 MB / 0.7183 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008524/0.8616, allocations: 279.1 kB / 0.7186 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.8616, allocations: 4 kB / 0.7186 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.8621, allocations: 179.3 kB / 0.7188 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 3.88e-06/0.8621, allocations: 0 / 0.7188 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32): time 0.001155/0.8633, allocations: 377.2 kB / 0.7191 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.8634, allocations: 59.39 kB / 0.7192 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.8637, allocations: 186.4 kB / 0.7194 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/0.8637, allocations: 41.7 kB / 0.7194 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.8639, allocations: 164.5 kB / 0.7196 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.864, allocations: 71.06 kB / 0.7196 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.8641, allocations: 8 kB / 0.7197 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.8643, allocations: 334.8 kB / 0.72 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.8647, allocations: 112.8 kB / 0.7201 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.8651, allocations: 165.5 kB / 0.7202 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.8655, allocations: 142.3 kB / 0.7204 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-06/0.8655, allocations: 0 / 0.7204 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001007/0.8666, allocations: 374.6 kB / 0.7207 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.8666, allocations: 33.86 kB / 0.7208 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.8667, allocations: 4 kB / 0.7208 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8667, allocations: 7.938 kB / 0.7208 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.867, allocations: 47.91 kB / 0.7208 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.867, allocations: 4 kB / 0.7208 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.8673, allocations: 55.7 kB / 0.7209 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.8674, allocations: 19.95 kB / 0.7209 GB, free: 8.992 MB / 0.5886 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.0002758/0.8677, allocations: 174.1 kB / 0.7211 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.8678, allocations: 19.81 kB / 0.7211 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008926/0.8687, allocations: 307.2 kB / 0.7214 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-06/0.8687, allocations: 0 / 0.7214 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.287e-06/0.8687, allocations: 4 kB / 0.7214 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.231e-06/0.8687, allocations: 3.984 kB / 0.7214 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.8704, allocations: 0.7569 MB / 0.7221 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-06/0.8704, allocations: 0 / 0.7221 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.8706, allocations: 35.91 kB / 0.7222 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.8707, allocations: 4 kB / 0.7222 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.8707, allocations: 8 kB / 0.7222 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.503e-06/0.8707, allocations: 7.891 kB / 0.7222 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8707, allocations: 0 / 0.7222 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.8716, allocations: 379.1 kB / 0.7225 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.8717, allocations: 96.83 kB / 0.7226 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.8717, allocations: 11.98 kB / 0.7226 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.8721, allocations: 35.97 kB / 0.7227 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.8722, allocations: 43.89 kB / 0.7227 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.8723, allocations: 12 kB / 0.7227 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001531/0.8724, allocations: 131.7 kB / 0.7229 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.03e-05/0.8725, allocations: 4 kB / 0.7229 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004762/0.8729, allocations: 56 kB / 0.7229 GB, free: 6.82 MB / 0.5886 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.0002177/0.8732, allocations: 142.1 kB / 0.723 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008981/0.8741, allocations: 347 kB / 0.7234 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.8741, allocations: 0 / 0.7234 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.8745, allocations: 144.1 kB / 0.7235 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.8749, allocations: 30.23 kB / 0.7235 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.8761, allocations: 0.5003 MB / 0.724 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.8766, allocations: 0.7642 MB / 0.7248 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.8768, allocations: 34.28 kB / 0.7248 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.8769, allocations: 31.42 kB / 0.7248 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of SimCode: time 1.689e-06/0.8769, allocations: 3.938 kB / 0.7248 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of Templates: time 0.008967/0.8859, allocations: 2.684 MB / 0.7275 GB, free: 2.098 MB / 0.5886 GB