Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.847/3.847, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.799e-05, allocations: 7.922 kB / 0.4992 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6946, allocations: 92.68 MB / 0.5897 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.9221, allocations: 123.4 MB / 0.7102 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.9225, allocations: 91.94 kB / 0.7103 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01934/0.9419, allocations: 4.532 MB / 0.7147 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9419, allocations: 0 / 0.7147 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.807e-05/0.942, allocations: 8 kB / 0.7147 GB, free: 14.22 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.001135/0.9431, allocations: 0.5349 MB / 0.7152 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9432, allocations: 12.47 kB / 0.7153 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.9433, allocations: 70.48 kB / 0.7153 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.9434, allocations: 27.72 kB / 0.7153 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.9438, allocations: 266.6 kB / 0.7156 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.9439, allocations: 24.56 kB / 0.7156 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.944, allocations: 32 kB / 0.7157 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/0.9448, allocations: 306.6 kB / 0.7159 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.9448, allocations: 0 / 0.7159 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.9449, allocations: 8 kB / 0.716 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.9449, allocations: 11.95 kB / 0.716 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.9456, allocations: 221 kB / 0.7162 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.9478, allocations: 0.9401 MB / 0.7171 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.9485, allocations: 227.1 kB / 0.7173 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.9488, allocations: 108.9 kB / 0.7174 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.9489, allocations: 4 kB / 0.7174 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.9493, allocations: 151.3 kB / 0.7176 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.697e-06/0.9493, allocations: 3.938 kB / 0.7176 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0006933/0.9501, allocations: 229.3 kB / 0.7178 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.9501, allocations: 63.36 kB / 0.7178 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.9504, allocations: 190.4 kB / 0.718 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.9505, allocations: 37.7 kB / 0.7181 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.9506, allocations: 152.6 kB / 0.7182 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.9508, allocations: 82.97 kB / 0.7183 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.9508, allocations: 12 kB / 0.7183 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.951, allocations: 334.8 kB / 0.7186 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.9513, allocations: 88.88 kB / 0.7187 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.9516, allocations: 145.2 kB / 0.7188 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.952, allocations: 113.6 kB / 0.719 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.9521, allocations: 0 / 0.719 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001404/0.9535, allocations: 334.6 kB / 0.7193 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.9536, allocations: 38.94 kB / 0.7193 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.9536, allocations: 0 / 0.7193 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.587e-05/0.9537, allocations: 4 kB / 0.7193 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.9542, allocations: 47.91 kB / 0.7194 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.9543, allocations: 4 kB / 0.7194 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.955, allocations: 55.83 kB / 0.7194 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/0.9551, allocations: 16 kB / 0.7194 GB, free: 9.121 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.0002871/0.9554, allocations: 144.7 kB / 0.7196 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.9556, allocations: 15.81 kB / 0.7196 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.9567, allocations: 264.5 kB / 0.7198 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.9568, allocations: 4 kB / 0.7198 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.9568, allocations: 0 / 0.7198 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.9569, allocations: 11.97 kB / 0.7199 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.9597, allocations: 0.7207 MB / 0.7206 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.9597, allocations: 0 / 0.7206 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.9601, allocations: 35.91 kB / 0.7206 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/0.9602, allocations: 4 kB / 0.7206 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.9602, allocations: 7.953 kB / 0.7206 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.9603, allocations: 4 kB / 0.7206 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.9603, allocations: 0 / 0.7206 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008302/0.9611, allocations: 339.1 kB / 0.7209 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.9613, allocations: 88.92 kB / 0.721 GB, free: 7.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.9614, allocations: 19.98 kB / 0.721 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.9621, allocations: 35.92 kB / 0.7211 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.9623, allocations: 39.94 kB / 0.7211 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.9624, allocations: 8 kB / 0.7211 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002518/0.9627, allocations: 135.8 kB / 0.7212 GB, free: 7.168 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.323e-06/0.9627, allocations: 4 kB / 0.7212 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007924/0.9635, allocations: 63.94 kB / 0.7213 GB, free: 7.102 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.00125/0.9648, allocations: 0.8981 MB / 0.7222 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007722/0.9656, allocations: 304.3 kB / 0.7225 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9656, allocations: 0 / 0.7225 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.966, allocations: 111.9 kB / 0.7226 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.9664, allocations: 38.31 kB / 0.7226 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.9678, allocations: 379.5 kB / 0.723 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.9682, allocations: 0.7723 MB / 0.7237 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.9684, allocations: 30.06 kB / 0.7238 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.9687, allocations: 79.41 kB / 0.7238 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.9687, allocations: 3.938 kB / 0.7238 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/1.002, allocations: 5.042 MB / 0.7288 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003635/1.003, allocations: 188.8 kB / 0.7289 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.385, allocations: 3.938 kB / 0.7289 GB, free: 15.2 MB / 0.6198 GB