Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.362/4.362, allocations: 460.4 MB / 472.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.736e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2455, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9538/1.199, allocations: 134.9 MB / 0.8036 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004348/1.2, allocations: 94.95 kB / 0.8037 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02779/1.228, allocations: 4.65 MB / 0.8083 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/1.228, allocations: 3.938 kB / 0.8083 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.819e-05/1.228, allocations: 3.969 kB / 0.8083 GB, free: 12.29 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.001495/1.229, allocations: 0.5451 MB / 0.8088 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.229, allocations: 7.875 kB / 0.8088 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/1.23, allocations: 66.61 kB / 0.8089 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/1.23, allocations: 34.84 kB / 0.8089 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/1.23, allocations: 263.3 kB / 0.8092 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/1.23, allocations: 33.06 kB / 0.8092 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.23, allocations: 32.94 kB / 0.8092 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.232, allocations: 309.4 kB / 0.8095 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.232, allocations: 0 / 0.8095 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/1.232, allocations: 15.41 kB / 0.8095 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.232, allocations: 7.562 kB / 0.8095 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/1.233, allocations: 209.5 kB / 0.8097 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/1.236, allocations: 0.9521 MB / 0.8107 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/1.237, allocations: 223.2 kB / 0.8109 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/1.237, allocations: 107.8 kB / 0.811 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/1.237, allocations: 11.39 kB / 0.811 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/1.238, allocations: 163.2 kB / 0.8111 GB, free: 11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 5.1e-06/1.238, allocations: 0 / 0.8111 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.0008898/1.239, allocations: 228 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.239, allocations: 66.47 kB / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/1.239, allocations: 181 kB / 0.8116 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/1.239, allocations: 43.14 kB / 0.8116 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/1.239, allocations: 150.4 kB / 0.8118 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/1.239, allocations: 79.52 kB / 0.8119 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/1.24, allocations: 10.06 kB / 0.8119 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.24, allocations: 334.2 kB / 0.8122 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/1.24, allocations: 88.44 kB / 0.8123 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/1.241, allocations: 152 kB / 0.8124 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/1.241, allocations: 113.7 kB / 0.8125 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/1.241, allocations: 0 / 0.8125 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001091/1.242, allocations: 332.7 kB / 0.8128 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/1.242, allocations: 39.66 kB / 0.8129 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.242, allocations: 7.953 kB / 0.8129 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/1.242, allocations: 3.875 kB / 0.8129 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/1.243, allocations: 41.47 kB / 0.8129 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.243, allocations: 6.359 kB / 0.8129 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/1.244, allocations: 52.77 kB / 0.813 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/1.244, allocations: 14.34 kB / 0.813 GB, free: 10.03 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.0002287/1.244, allocations: 140.5 kB / 0.8131 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/1.244, allocations: 27.34 kB / 0.8132 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/1.245, allocations: 268.4 kB / 0.8134 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.245, allocations: 7.766 kB / 0.8134 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.245, allocations: 0 / 0.8134 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/1.245, allocations: 0 / 0.8134 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/1.247, allocations: 0.7117 MB / 0.8141 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.247, allocations: 7.812 kB / 0.8141 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/1.248, allocations: 35.08 kB / 0.8142 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/1.248, allocations: 3.844 kB / 0.8142 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/1.248, allocations: 3.438 kB / 0.8142 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/1.248, allocations: 7.797 kB / 0.8142 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.248, allocations: 0 / 0.8142 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/1.249, allocations: 338 kB / 0.8145 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/1.249, allocations: 104.6 kB / 0.8146 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/1.249, allocations: 6.297 kB / 0.8146 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/1.25, allocations: 37.27 kB / 0.8146 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/1.25, allocations: 38.84 kB / 0.8147 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/1.25, allocations: 10.94 kB / 0.8147 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002032/1.25, allocations: 136 kB / 0.8148 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.32e-07/1.25, allocations: 0 / 0.8148 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00082/1.251, allocations: 66.42 kB / 0.8149 GB, free: 9.164 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.001973/1.253, allocations: 0.9024 MB / 0.8158 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.254, allocations: 294 kB / 0.816 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.254, allocations: 0 / 0.816 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/1.255, allocations: 122 kB / 0.8162 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/1.255, allocations: 27.11 kB / 0.8162 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/1.257, allocations: 380.8 kB / 0.8165 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/1.258, allocations: 0.7743 MB / 0.8173 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003126/1.258, allocations: 38.59 kB / 0.8173 GB, free: 23.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/1.258, allocations: 80.75 kB / 0.8174 GB, free: 23.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.853e-06/1.258, allocations: 0 / 0.8174 GB, free: 23.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/1.292, allocations: 5.048 MB / 0.8223 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.292, allocations: 184.8 kB / 0.8225 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.876, allocations: 3.938 kB / 0.8225 GB, free: 22.75 MB / 0.6511 GB