Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.056/4.056, allocations: 432.8 MB / 444.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.909e-05, allocations: 2.438 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2268, allocations: 98.73 MB / 0.6302 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2622/0.4891, allocations: 127.8 MB / 0.755 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.4895, allocations: 95.92 kB / 0.7551 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01901/0.5085, allocations: 4.538 MB / 0.7595 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5086, allocations: 4 kB / 0.7595 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.5086, allocations: 4 kB / 0.7595 GB, free: 1.461 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001151/0.5098, allocations: 0.5348 MB / 0.76 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5099, allocations: 12.03 kB / 0.7601 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.51, allocations: 66.53 kB / 0.7601 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.5101, allocations: 35.58 kB / 0.7602 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.5105, allocations: 262.6 kB / 0.7604 GB, free: 468 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.5106, allocations: 28.56 kB / 0.7604 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.5107, allocations: 32 kB / 0.7605 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.5115, allocations: 298.6 kB / 0.7607 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5115, allocations: 0 / 0.7607 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.5116, allocations: 19.94 kB / 0.7608 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5116, allocations: 4 kB / 0.7608 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.5123, allocations: 229 kB / 0.761 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.5146, allocations: 0.9322 MB / 0.7619 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.5154, allocations: 231 kB / 0.7621 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.5157, allocations: 104.9 kB / 0.7622 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.5157, allocations: 8 kB / 0.7622 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.5162, allocations: 159.3 kB / 0.7624 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.326e-06/0.5162, allocations: 3.938 kB / 0.7624 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0006877/0.5169, allocations: 225.4 kB / 0.7626 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.517, allocations: 63.39 kB / 0.7627 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.5172, allocations: 182.4 kB / 0.7628 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.5173, allocations: 37.7 kB / 0.7629 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.5175, allocations: 156.5 kB / 0.763 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.5176, allocations: 75 kB / 0.7631 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.5177, allocations: 15.94 kB / 0.7631 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5178, allocations: 334.8 kB / 0.7634 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.5181, allocations: 92.86 kB / 0.7635 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.5185, allocations: 141.5 kB / 0.7636 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.5188, allocations: 117.6 kB / 0.7638 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.5188, allocations: 4 kB / 0.7638 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008517/0.5197, allocations: 326.8 kB / 0.7641 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.5198, allocations: 37.86 kB / 0.7641 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5198, allocations: 0 / 0.7641 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.5198, allocations: 4 kB / 0.7641 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.5202, allocations: 47.91 kB / 0.7642 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.5202, allocations: 11.92 kB / 0.7642 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.5207, allocations: 43.88 kB / 0.7642 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.5208, allocations: 16 kB / 0.7642 GB, free: 12.36 MB / 0.6511 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.0001819/0.521, allocations: 144.6 kB / 0.7644 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.521, allocations: 27.7 kB / 0.7644 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.5218, allocations: 255.4 kB / 0.7646 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5218, allocations: 4 kB / 0.7646 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5218, allocations: 4 kB / 0.7646 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5219, allocations: 4 kB / 0.7646 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.5234, allocations: 0.7218 MB / 0.7654 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5235, allocations: 0 / 0.7654 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.5237, allocations: 35.91 kB / 0.7654 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.5238, allocations: 4 kB / 0.7654 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.5238, allocations: 4 kB / 0.7654 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5238, allocations: 4 kB / 0.7654 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5238, allocations: 3.953 kB / 0.7654 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.5245, allocations: 335.2 kB / 0.7657 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.5246, allocations: 100.8 kB / 0.7658 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.5246, allocations: 8 kB / 0.7658 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.525, allocations: 39.95 kB / 0.7659 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.5252, allocations: 47.89 kB / 0.7659 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.5253, allocations: 4 kB / 0.7659 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001563/0.5254, allocations: 131.8 kB / 0.766 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.454e-06/0.5254, allocations: 0 / 0.766 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005039/0.526, allocations: 71.86 kB / 0.7661 GB, free: 10.33 MB / 0.6511 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.001084/0.5271, allocations: 0.8939 MB / 0.767 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007668/0.5278, allocations: 295.5 kB / 0.7673 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5279, allocations: 4.25 kB / 0.7673 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.5282, allocations: 121 kB / 0.7674 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.5286, allocations: 24.17 kB / 0.7674 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5299, allocations: 382.8 kB / 0.7678 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.5303, allocations: 0.7681 MB / 0.7685 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000217/0.5306, allocations: 30.06 kB / 0.7685 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.5308, allocations: 87.33 kB / 0.7686 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.5308, allocations: 0 / 0.7686 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.5663, allocations: 5.037 MB / 0.7736 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/0.5668, allocations: 182.9 kB / 0.7737 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.059, allocations: 0 / 0.7737 GB, free: 2.461 MB / 0.6511 GB