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 4.007/4.007, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.431e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.6336, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.8676, allocations: 123.4 MB / 0.7102 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.868, allocations: 91.94 kB / 0.7103 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01991/0.8879, allocations: 4.54 MB / 0.7147 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.888, allocations: 0 / 0.7147 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.864e-05/0.888, allocations: 8 kB / 0.7147 GB, free: 14.21 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.00118/0.8892, allocations: 0.5353 MB / 0.7152 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.8893, allocations: 12.03 kB / 0.7152 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.8894, allocations: 66.48 kB / 0.7153 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.8895, allocations: 27.72 kB / 0.7153 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.89, allocations: 266.6 kB / 0.7156 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.89, allocations: 24.56 kB / 0.7156 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.8901, allocations: 39.98 kB / 0.7156 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.891, allocations: 299.7 kB / 0.7159 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.891, allocations: 0 / 0.7159 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.891, allocations: 12 kB / 0.7159 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.8911, allocations: 15.94 kB / 0.7159 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.8917, allocations: 222.1 kB / 0.7162 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.894, allocations: 0.9362 MB / 0.7171 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.8947, allocations: 236.6 kB / 0.7173 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.895, allocations: 109.1 kB / 0.7174 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.895, allocations: 7.984 kB / 0.7174 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.8955, allocations: 155.3 kB / 0.7176 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/0.8955, allocations: 0 / 0.7176 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0006737/0.8962, allocations: 237.3 kB / 0.7178 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.8962, allocations: 63.34 kB / 0.7178 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.8965, allocations: 186.4 kB / 0.718 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.8966, allocations: 41.64 kB / 0.7181 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.8967, allocations: 152.6 kB / 0.7182 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.8969, allocations: 78.98 kB / 0.7183 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.8969, allocations: 12 kB / 0.7183 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8971, allocations: 330.8 kB / 0.7186 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.8974, allocations: 92.88 kB / 0.7187 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.8977, allocations: 142.1 kB / 0.7188 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.898, allocations: 117.6 kB / 0.7189 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.898, allocations: 4 kB / 0.7189 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008192/0.8989, allocations: 330.6 kB / 0.7193 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.899, allocations: 43.03 kB / 0.7193 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.899, allocations: 4 kB / 0.7193 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.899, allocations: 4 kB / 0.7193 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.8994, allocations: 39.91 kB / 0.7194 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.8994, allocations: 4 kB / 0.7194 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.8999, allocations: 59.83 kB / 0.7194 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.8999, allocations: 19.98 kB / 0.7194 GB, free: 9.086 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.0001869/0.9001, allocations: 140.6 kB / 0.7196 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.9002, allocations: 15.81 kB / 0.7196 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.901, allocations: 264.5 kB / 0.7198 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.901, allocations: 4 kB / 0.7198 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.901, allocations: 0 / 0.7198 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.901, allocations: 3.984 kB / 0.7198 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.9026, allocations: 0.7246 MB / 0.7205 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.9026, allocations: 0 / 0.7205 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.9029, allocations: 35.91 kB / 0.7206 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.9029, allocations: 0 / 0.7206 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.9029, allocations: 11.95 kB / 0.7206 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.9029, allocations: 3.984 kB / 0.7206 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.903, allocations: 7.938 kB / 0.7206 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.9036, allocations: 335.2 kB / 0.7209 GB, free: 7.473 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.9037, allocations: 96.91 kB / 0.721 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.9037, allocations: 4 kB / 0.721 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.9042, allocations: 39.92 kB / 0.7211 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.9043, allocations: 39.94 kB / 0.7211 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.9044, allocations: 19.98 kB / 0.7211 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001464/0.9045, allocations: 127.8 kB / 0.7212 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9046, allocations: 4 kB / 0.7212 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004621/0.905, allocations: 52 kB / 0.7213 GB, free: 7.078 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.001117/0.9062, allocations: 0.9118 MB / 0.7222 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007527/0.9069, allocations: 304.3 kB / 0.7225 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.907, allocations: 0 / 0.7225 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.9073, allocations: 123.8 kB / 0.7226 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.9077, allocations: 34.36 kB / 0.7226 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.909, allocations: 391.1 kB / 0.723 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.9094, allocations: 0.7603 MB / 0.7237 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.9096, allocations: 30.06 kB / 0.7238 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.9099, allocations: 83.41 kB / 0.7238 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/0.9099, allocations: 0 / 0.7238 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.9388, allocations: 5.052 MB / 0.7288 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003957/0.9393, allocations: 190 kB / 0.729 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.404, allocations: 0 / 0.729 GB, free: 15.16 MB / 0.6198 GB