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.688/3.688, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.471e-05/4.497e-05, allocations: 7.938 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4752, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.6583, allocations: 123.4 MB / 0.7101 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.6586, allocations: 91.94 kB / 0.7102 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.6759, allocations: 4.536 MB / 0.7146 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.789e-06/0.6759, allocations: 3.938 kB / 0.7146 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.676, allocations: 16 kB / 0.7146 GB, free: 14.24 MB / 0.6042 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.0009518/0.6769, allocations: 0.5193 MB / 0.7151 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.677, allocations: 8.031 kB / 0.7151 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.6771, allocations: 35.67 kB / 0.7152 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.6775, allocations: 254.9 kB / 0.7154 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.6776, allocations: 40.48 kB / 0.7154 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.6777, allocations: 32 kB / 0.7155 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.6784, allocations: 299.7 kB / 0.7158 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6784, allocations: 0 / 0.7158 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.6785, allocations: 11.98 kB / 0.7158 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.6785, allocations: 11.95 kB / 0.7158 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.6791, allocations: 222.2 kB / 0.716 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.6811, allocations: 0.94 MB / 0.7169 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.6818, allocations: 239.2 kB / 0.7171 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.682, allocations: 108.8 kB / 0.7172 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.6821, allocations: 0 / 0.7172 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.6825, allocations: 163.3 kB / 0.7174 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.129e-06/0.6825, allocations: 0 / 0.7174 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0006044/0.6831, allocations: 229.3 kB / 0.7176 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.6832, allocations: 63.3 kB / 0.7177 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.6834, allocations: 182.4 kB / 0.7179 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.6835, allocations: 45.7 kB / 0.7179 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.6836, allocations: 148.6 kB / 0.718 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.6838, allocations: 86.97 kB / 0.7181 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.6838, allocations: 7.938 kB / 0.7181 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.684, allocations: 342.8 kB / 0.7185 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.6843, allocations: 84.88 kB / 0.7185 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.6846, allocations: 149.5 kB / 0.7187 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.6849, allocations: 114.3 kB / 0.7188 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.145e-06/0.6849, allocations: 0 / 0.7188 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007888/0.6857, allocations: 334.6 kB / 0.7191 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.6857, allocations: 35.42 kB / 0.7191 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.369e-06/0.6858, allocations: 0 / 0.7191 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.6858, allocations: 4 kB / 0.7191 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.6861, allocations: 52 kB / 0.7192 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.6861, allocations: 8 kB / 0.7192 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.6865, allocations: 51.67 kB / 0.7193 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.6865, allocations: 23.98 kB / 0.7193 GB, free: 9.195 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.0001618/0.6867, allocations: 136.6 kB / 0.7194 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.6868, allocations: 19.81 kB / 0.7194 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/0.6874, allocations: 260.5 kB / 0.7197 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.216e-06/0.6875, allocations: 4 kB / 0.7197 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.28e-06/0.6875, allocations: 7.984 kB / 0.7197 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-06/0.6875, allocations: 0 / 0.7197 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.6889, allocations: 0.7285 MB / 0.7204 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-06/0.689, allocations: 0 / 0.7204 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.6892, allocations: 27.98 kB / 0.7204 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.6892, allocations: 3.938 kB / 0.7204 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.6893, allocations: 11.98 kB / 0.7204 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.6893, allocations: 3.953 kB / 0.7204 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.041e-06/0.6893, allocations: 0 / 0.7204 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.6899, allocations: 331.2 kB / 0.7208 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.69, allocations: 100.8 kB / 0.7209 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.69, allocations: 8 kB / 0.7209 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.6904, allocations: 39.97 kB / 0.7209 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.6905, allocations: 51.88 kB / 0.721 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.6906, allocations: 4 kB / 0.721 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001487/0.6907, allocations: 131.8 kB / 0.7211 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.29e-07/0.6907, allocations: 0 / 0.7211 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004736/0.6912, allocations: 60 kB / 0.7211 GB, free: 7.188 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.0002128/0.6915, allocations: 133.1 kB / 0.7213 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006426/0.6921, allocations: 307.2 kB / 0.7216 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.883e-06/0.6921, allocations: 0 / 0.7216 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.6924, allocations: 119.9 kB / 0.7217 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.6928, allocations: 32.11 kB / 0.7217 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009181/0.6937, allocations: 318.6 kB / 0.722 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.6942, allocations: 0.7606 MB / 0.7227 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.6944, allocations: 34.06 kB / 0.7228 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.6945, allocations: 27.42 kB / 0.7228 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of SimCode: time 1.729e-06/0.6945, allocations: 4 kB / 0.7228 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of Templates: time 0.008978/0.7035, allocations: 2.689 MB / 0.7254 GB, free: 2.727 MB / 0.6042 GB