Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.447/4.447, allocations: 464.6 MB / 476.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.025e-05, allocations: 9.094 kB / 0.5732 GB, free: 5.66 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2721, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.171, allocations: 135.3 MB / 0.8099 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.172, allocations: 96.86 kB / 0.81 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01835/1.19, allocations: 4.638 MB / 0.8145 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/1.19, allocations: 0 / 0.8145 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.376e-05/1.19, allocations: 7.844 kB / 0.8146 GB, free: 11.84 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001035/1.191, allocations: 0.5442 MB / 0.8151 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.191, allocations: 7.688 kB / 0.8151 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.364e-05/1.191, allocations: 67.28 kB / 0.8152 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/1.191, allocations: 34.89 kB / 0.8152 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/1.192, allocations: 268.4 kB / 0.8154 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/1.192, allocations: 29.38 kB / 0.8155 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/1.192, allocations: 29.78 kB / 0.8155 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/1.193, allocations: 311.8 kB / 0.8158 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/1.193, allocations: 3.938 kB / 0.8158 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/1.193, allocations: 10.94 kB / 0.8158 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.193, allocations: 7.656 kB / 0.8158 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/1.193, allocations: 213.5 kB / 0.816 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/1.195, allocations: 0.9511 MB / 0.817 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/1.196, allocations: 228 kB / 0.8172 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/1.196, allocations: 116.5 kB / 0.8173 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/1.196, allocations: 3.844 kB / 0.8173 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/1.197, allocations: 165.5 kB / 0.8174 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 3.416e-06/1.197, allocations: 0 / 0.8174 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.0006187/1.198, allocations: 227.2 kB / 0.8177 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/1.198, allocations: 65.72 kB / 0.8177 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/1.198, allocations: 183.5 kB / 0.8179 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/1.198, allocations: 36.73 kB / 0.8179 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/1.198, allocations: 160.2 kB / 0.8181 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/1.198, allocations: 77.84 kB / 0.8182 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/1.198, allocations: 10.75 kB / 0.8182 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/1.198, allocations: 340.3 kB / 0.8185 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/1.198, allocations: 89.12 kB / 0.8186 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/1.199, allocations: 142.5 kB / 0.8187 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/1.199, allocations: 119.4 kB / 0.8188 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.199, allocations: 0 / 0.8188 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007046/1.2, allocations: 328.7 kB / 0.8191 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/1.2, allocations: 33.42 kB / 0.8192 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.2, allocations: 0 / 0.8192 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.2, allocations: 3.844 kB / 0.8192 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/1.2, allocations: 51.42 kB / 0.8192 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.2, allocations: 7.875 kB / 0.8192 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/1.201, allocations: 48.11 kB / 0.8193 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/1.201, allocations: 18.7 kB / 0.8193 GB, free: 9.578 MB / 0.6355 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.0001413/1.201, allocations: 143.7 kB / 0.8194 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/1.201, allocations: 19.34 kB / 0.8195 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/1.202, allocations: 260.3 kB / 0.8197 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.202, allocations: 3.812 kB / 0.8197 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.202, allocations: 7.938 kB / 0.8197 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/1.202, allocations: 7.078 kB / 0.8197 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/1.203, allocations: 0.7127 MB / 0.8204 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.203, allocations: 3.234 kB / 0.8204 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/1.203, allocations: 33.91 kB / 0.8205 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.203, allocations: 0 / 0.8205 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/1.203, allocations: 14.73 kB / 0.8205 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.203, allocations: 0 / 0.8205 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.203, allocations: 0 / 0.8205 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/1.204, allocations: 342.1 kB / 0.8208 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/1.204, allocations: 100.2 kB / 0.8209 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/1.204, allocations: 6.938 kB / 0.8209 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/1.204, allocations: 39.17 kB / 0.8209 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.205, allocations: 41.33 kB / 0.821 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/1.205, allocations: 14.2 kB / 0.821 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001415/1.205, allocations: 132.6 kB / 0.8211 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.205, allocations: 0 / 0.8211 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005011/1.205, allocations: 60.72 kB / 0.8212 GB, free: 8.715 MB / 0.6355 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.001282/1.207, allocations: 0.9024 MB / 0.822 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007092/1.207, allocations: 290.8 kB / 0.8223 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.207, allocations: 0 / 0.8223 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/1.208, allocations: 124.7 kB / 0.8224 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/1.208, allocations: 29.02 kB / 0.8225 GB, free: 23.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/1.209, allocations: 393 kB / 0.8228 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/1.21, allocations: 0.7715 MB / 0.8236 GB, free: 23.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002021/1.21, allocations: 24.48 kB / 0.8236 GB, free: 23.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/1.21, allocations: 83.31 kB / 0.8237 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/1.21, allocations: 0 / 0.8237 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/1.244, allocations: 5.048 MB / 0.8286 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.245, allocations: 182 kB / 0.8288 GB, free: 21.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.886, allocations: 10.12 kB / 0.8288 GB, free: 21.36 MB / 0.6511 GB