Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5313/0.5334, allocations: 80.82 MB / 0.5904 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.003753/0.5372, allocations: 2.378 MB / 0.5927 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.539, allocations: 1.12 MB / 0.5938 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.5393, allocations: 20.97 kB / 0.5939 GB, free: 19.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.5402, allocations: 0.5942 MB / 0.5944 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.5405, allocations: 61.3 kB / 0.5945 GB, free: 18.62 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'con.off.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'con.off.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'con.off.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'con.charge.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'con.charge.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'con.charge.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'con.discharge.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'con.discharge.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'con.discharge.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.5413, allocations: 358.8 kB / 0.5948 GB, free: 18.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.5419, allocations: 0.6947 MB / 0.5955 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009732/0.5429, allocations: 0.8917 MB / 0.5964 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.5431, allocations: 271.1 kB / 0.5966 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.5433, allocations: 254.7 kB / 0.5969 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.5434, allocations: 72 kB / 0.597 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.5436, allocations: 87.98 kB / 0.597 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.5437, allocations: 163.5 kB / 0.5972 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.5439, allocations: 294.5 kB / 0.5975 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006123/0.5445, allocations: 0.8179 MB / 0.5983 GB, free: 14.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5446, allocations: 0 / 0.5983 GB, free: 14.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5446, allocations: 0 / 0.5983 GB, free: 14.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5446, allocations: 4 kB / 0.5983 GB, free: 14.75 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001157/0.5457, allocations: 0.8544 MB / 0.5991 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5458, allocations: 12.03 kB / 0.5991 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.5459, allocations: 68.17 kB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.5463, allocations: 434.1 kB / 0.5996 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.5464, allocations: 53.69 kB / 0.5997 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.5465, allocations: 64.36 kB / 0.5997 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.5474, allocations: 0.7388 MB / 0.6004 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.5474, allocations: 4 kB / 0.6004 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.5475, allocations: 24 kB / 0.6005 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.5475, allocations: 32.97 kB / 0.6005 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.5482, allocations: 0.5113 MB / 0.601 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.5505, allocations: 2.9 MB / 0.6038 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.5509, allocations: 273 kB / 0.6041 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.551, allocations: 125.4 kB / 0.6042 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.5511, allocations: 12.2 kB / 0.6042 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.5513, allocations: 199.4 kB / 0.6044 GB, free: 8.152 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/0.5513, allocations: 0 / 0.6044 GB, free: 8.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.0006308/0.552, allocations: 414.8 kB / 0.6048 GB, free: 7.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.552, allocations: 106.8 kB / 0.6049 GB, free: 7.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.5523, allocations: 358.3 kB / 0.6053 GB, free: 7.254 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.5523, allocations: 41.7 kB / 0.6053 GB, free: 7.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5525, allocations: 268.2 kB / 0.6055 GB, free: 6.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.5525, allocations: 94.97 kB / 0.6056 GB, free: 6.848 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.5527, allocations: 162.2 kB / 0.6058 GB, free: 6.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.5528, allocations: 346.8 kB / 0.6061 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.553, allocations: 153.2 kB / 0.6063 GB, free: 6.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.5533, allocations: 360.2 kB / 0.6066 GB, free: 5.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.5537, allocations: 472.6 kB / 0.6071 GB, free: 5.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5537, allocations: 4 kB / 0.6071 GB, free: 5.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006324/0.5544, allocations: 0.5278 MB / 0.6076 GB, free: 4.652 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5544, allocations: 12.16 kB / 0.6076 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5544, allocations: 4 kB / 0.6076 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.5544, allocations: 16 kB / 0.6076 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.5546, allocations: 47.84 kB / 0.6077 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.5546, allocations: 15.92 kB / 0.6077 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.5549, allocations: 59.52 kB / 0.6077 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.5549, allocations: 27.98 kB / 0.6078 GB, free: 4.473 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.con.T1.enableFire,$PRE.con.T3.enableFire,$PRE.con.T2.enableFire,$PRE.con.T4.enableFire,$PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.multiSwitch1.u[3],con.off.oldActive,$PRE.con.off.oldActive,con.charge.oldActive,$PRE.con.charge.oldActive,con.discharge.oldActive,$PRE.con.discharge.oldActive,con.multiSwitch1.firstActiveIndex,con.multiSwitch1.u[3],con.multiSwitch1.u[2],con.multiSwitch1.u[1],con.T4.enableFire,con.lessEqualThreshold.y,con.greaterThreshold.y,con.and2.y,con.T2.t_start,$PRE.con.T2.t_start,con.T2.enableFire,con.T2.fire,con.and1.y,con.not1.y,con.discharge.outport_fire,con.discharge.inport_fire,con.discharge.newActive,$PRE.con.discharge.newActive,con.T3.enableFire,con.greaterEqualThreshold.y,con.lessThreshold.y,con.charge.outport_fire,con.charge.inport_fire,con.charge.newActive,$PRE.con.charge.newActive,con.T1.t_start,$PRE.con.T1.t_start,con.T1.enableFire,con.T1.fire,con.off.outport_fire,con.off.inport_fire,con.off.newActive,$PRE.con.off.newActive,con.off.outPort[2].available,$whenCondition1,$whenCondition2,con.off.node.suspend,con.off.node.resume,con.T4.condition,con.T2.condition,con.T3.condition,con.T1.condition,con.T2.outPort.checkOneDelayedTransitionPerLoop,con.T1.outPort.checkOneDelayedTransitionPerLoop,con.off.inPort[1].checkOneDelayedTransitionPerLoop,con.off.inPort[2].checkOneDelayedTransitionPerLoop,con.off.outPort[2].checkOneDelayedTransitionPerLoop,con.discharge.inPort[1].checkUnaryConnection,con.charge.inPort[1].checkUnaryConnection,con.off.inPort[2].checkUnaryConnection,con.off.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.5552, allocations: 273.6 kB / 0.608 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.5552, allocations: 43.55 kB / 0.6081 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.5557, allocations: 336.3 kB / 0.6084 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.5558, allocations: 4 kB / 0.6084 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5558, allocations: 0 / 0.6084 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5558, allocations: 4 kB / 0.6084 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/0.5567, allocations: 0.939 MB / 0.6093 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5568, allocations: 3.938 kB / 0.6093 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.5568, allocations: 23.92 kB / 0.6093 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5568, allocations: 0 / 0.6093 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.5569, allocations: 8 kB / 0.6093 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.5569, allocations: 0 / 0.6093 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5569, allocations: 0 / 0.6093 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.5573, allocations: 419.5 kB / 0.6097 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.5574, allocations: 140.6 kB / 0.6099 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.5574, allocations: 12 kB / 0.6099 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.5576, allocations: 19.97 kB / 0.6099 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5578, allocations: 47.95 kB / 0.61 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.5578, allocations: 23.92 kB / 0.61 GB, free: 2.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.5579, allocations: 190 kB / 0.6102 GB, free: 1.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5579, allocations: 0 / 0.6102 GB, free: 1.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.5584, allocations: 135.2 kB / 0.6103 GB, free: 1.777 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (con.T2.enableFire,con.T1.enableFire,$whenCondition2,$whenCondition1,con.off.outPort[2].available,con.off.newActive,con.off.oldActive,con.off.inport_fire,con.off.outport_fire,con.T1.fire,con.T1.t_start,con.charge.newActive,con.charge.oldActive,con.charge.inport_fire,con.charge.outport_fire,con.lessThreshold.y,con.greaterEqualThreshold.y,con.T3.enableFire,con.discharge.newActive,con.discharge.oldActive,con.discharge.inport_fire,con.discharge.outport_fire,con.not1.y,con.and1.y,con.T2.fire,con.T2.t_start,con.and2.y,con.greaterThreshold.y,con.lessEqualThreshold.y,con.T4.enableFire,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.u[3],con.multiSwitch1.firstActiveIndex) * Number of discrete states: 3 (con.discharge.newActive,con.charge.newActive,con.off.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002253/0.5586, allocations: 139.2 kB / 0.6104 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.5592, allocations: 415.3 kB / 0.6108 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5593, allocations: 1.688 kB / 0.6108 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.5595, allocations: 155.8 kB / 0.611 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.5598, allocations: 36.64 kB / 0.611 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.5611, allocations: 0.8197 MB / 0.6118 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.5615, allocations: 0.8635 MB / 0.6126 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.5617, allocations: 67.22 kB / 0.6127 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.5618, allocations: 31.44 kB / 0.6127 GB, free: 15.2 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5618, allocations: 0 / 0.6127 GB, free: 15.2 MB / 462.1 MB Notification: Performance of Templates: time 0.008656/0.5705, allocations: 3.817 MB / 0.6165 GB, free: 11.43 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1)