Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.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.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery") translateModel(Buildings.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery") [/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.1596/0.1603, allocations: 82.21 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004957/0.1654, allocations: 3.72 MB / 0.597 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.1694, allocations: 2.086 MB / 0.599 GB, free: 164 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.1701, allocations: 19.88 kB / 0.5991 GB, free: 144 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.1706, allocations: 95.27 kB / 0.5991 GB, free: 48 kB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.1714, allocations: 183.4 kB / 0.5993 GB, free: 15.87 MB / 462.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 '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 '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 '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 '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 '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 '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 '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 '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 '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:12155:5-12155:45:writable] Warning: The second argument 'hold.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 'hold.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 'hold.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.001342/0.1728, allocations: 422.8 kB / 0.5997 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.1736, allocations: 0.6017 MB / 0.6003 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.1752, allocations: 1.222 MB / 0.6015 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.1755, allocations: 278.8 kB / 0.6018 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.1759, allocations: 294.4 kB / 0.6021 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.176, allocations: 32 kB / 0.6021 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.1763, allocations: 95.83 kB / 0.6022 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1764, allocations: 167.4 kB / 0.6023 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1766, allocations: 153.3 kB / 0.6025 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.1772, allocations: 0.6898 MB / 0.6032 GB, free: 11.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1772, allocations: 0 / 0.6032 GB, free: 11.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1772, allocations: 3.938 kB / 0.6032 GB, free: 11.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1772, allocations: 4 kB / 0.6032 GB, free: 11.88 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001402/0.1786, allocations: 0.9072 MB / 0.604 GB, free: 10.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1787, allocations: 8.031 kB / 0.6041 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.1792, allocations: 138.8 kB / 0.6042 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.1799, allocations: 0.4922 MB / 0.6047 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.1799, allocations: 66 kB / 0.6047 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1801, allocations: 87.94 kB / 0.6048 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.1814, allocations: 0.9875 MB / 0.6058 GB, free: 9.039 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1814, allocations: 3.938 kB / 0.6058 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.1815, allocations: 39.98 kB / 0.6058 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.1816, allocations: 49.97 kB / 0.6059 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1826, allocations: 0.6674 MB / 0.6065 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.1866, allocations: 4.035 MB / 0.6105 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.1873, allocations: 0.6588 MB / 0.6111 GB, free: 3.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.1884, allocations: 1.046 MB / 0.6121 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.1888, allocations: 191.4 kB / 0.6123 GB, free: 1.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.1888, allocations: 0 / 0.6123 GB, free: 1.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=41): time 0.000732/0.1895, allocations: 400.9 kB / 0.6127 GB, free: 1.535 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.1896, allocations: 63.41 kB / 0.6127 GB, free: 1.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1901, allocations: 0.5051 MB / 0.6132 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.1901, allocations: 41.7 kB / 0.6133 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.1904, allocations: 383.3 kB / 0.6136 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1905, allocations: 118.5 kB / 0.6138 GB, free: 404 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.1905, allocations: 12 kB / 0.6138 GB, free: 392 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1907, allocations: 358.8 kB / 0.6141 GB, free: 24 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.1909, allocations: 141.9 kB / 0.6142 GB, free: 15.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1914, allocations: 413.1 kB / 0.6146 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.1917, allocations: 188.9 kB / 0.6148 GB, free: 15.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.1917, allocations: 7.938 kB / 0.6148 GB, free: 15.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008305/0.1925, allocations: 0.5902 MB / 0.6154 GB, free: 14.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001314/0.1938, allocations: 3.398 MB / 0.6187 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1939, allocations: 8 kB / 0.6187 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.1939, allocations: 16 kB / 0.6187 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.1941, allocations: 75.78 kB / 0.6188 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.1942, allocations: 23.92 kB / 0.6188 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.1945, allocations: 83.22 kB / 0.6189 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.1946, allocations: 32 kB / 0.619 GB, free: 10.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.1946, allocations: 4 kB / 0.619 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007177/0.1953, allocations: 0.4999 MB / 0.6194 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1953, allocations: 8 kB / 0.6195 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1954, allocations: 20.16 kB / 0.6195 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.1956, allocations: 83.77 kB / 0.6196 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.1956, allocations: 19.92 kB / 0.6196 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1959, allocations: 59.47 kB / 0.6196 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.196, allocations: 43.98 kB / 0.6197 GB, free: 9.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.THold.enableFire,$PRE.TOn.enableFire,$PRE.TDischarge.enableFire,$PRE.TOff.enableFire,$PRE.hold.oldActive,hold.oldActive,$PRE.discharge.oldActive,discharge.oldActive,$PRE.charge.oldActive,charge.oldActive,$PRE.off.oldActive,off.oldActive,$whenCondition1,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,startCharge.y,off.active,$PRE.off.newActive,off.newActive,THold.enableFire,charge.active,$PRE.charge.newActive,charge.newActive,charge.inport_fire,greaterEqualThreshold.y,TOn.enableFire,discharge.active,$PRE.discharge.newActive,discharge.newActive,discharge.outport_fire,hold.active,$PRE.hold.newActive,hold.newActive,hold.inport_fire,hold.outport_fire,startDischarge.y,TDischarge.enableFire,TOff.conditionPort,TOff.enableFire,off.outPort[1].checkOneDelayedTransitionPerLoop,off.inPort[1].checkOneDelayedTransitionPerLoop,off.node.suspend,off.node.resume,TOff.condition,TDischarge.condition,TOn.condition,THold.condition,TOn.outPort.checkOneDelayedTransitionPerLoop,hold.inPort[1].checkOneDelayedTransitionPerLoop,discharge.inPort[1].checkOneDelayedTransitionPerLoop,hold.inPort[1].checkUnaryConnection,discharge.inPort[1].checkUnaryConnection,charge.inPort[1].checkUnaryConnection,off.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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.0003421/0.1963, allocations: 350.1 kB / 0.62 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.1964, allocations: 55.3 kB / 0.6201 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.1969, allocations: 344.1 kB / 0.6204 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1969, allocations: 4 kB / 0.6204 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.197, allocations: 0 / 0.6204 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.197, allocations: 7.984 kB / 0.6204 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.1982, allocations: 0.9879 MB / 0.6214 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1982, allocations: 4.031 kB / 0.6214 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1984, allocations: 35.92 kB / 0.6214 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1984, allocations: 4 kB / 0.6214 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1984, allocations: 11.98 kB / 0.6214 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1985, allocations: 0 / 0.6214 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1985, allocations: 4 kB / 0.6214 GB, free: 8.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.1992, allocations: 0.5854 MB / 0.622 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.1994, allocations: 152.3 kB / 0.6221 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.1994, allocations: 8 kB / 0.6221 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1996, allocations: 19.92 kB / 0.6222 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1997, allocations: 35.91 kB / 0.6222 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.1998, allocations: 19.98 kB / 0.6222 GB, free: 7.199 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003062/0.2001, allocations: 302.9 kB / 0.6225 GB, free: 6.902 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2001, allocations: 3.938 kB / 0.6225 GB, free: 6.898 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008187/0.2009, allocations: 302.5 kB / 0.6228 GB, free: 6.602 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 27 ($whenCondition1,bat.cha.underCharged,bat.cha.overCharged,startCharge.y,off.active,off.newActive,off.oldActive,THold.enableFire,charge.active,charge.newActive,charge.oldActive,charge.inport_fire,greaterEqualThreshold.y,TOn.enableFire,discharge.active,discharge.newActive,discharge.oldActive,discharge.outport_fire,hold.active,hold.newActive,hold.oldActive,hold.inport_fire,hold.outport_fire,startDischarge.y,TDischarge.enableFire,TOff.conditionPort,TOff.enableFire) * Number of discrete states: 6 (bat.cha.underCharged,bat.cha.overCharged,off.newActive,charge.newActive,discharge.newActive,hold.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001904/0.2011, allocations: 129.4 kB / 0.6229 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009965/0.2021, allocations: 0.6488 MB / 0.6236 GB, free: 5.824 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2021, allocations: 0 / 0.6236 GB, free: 5.824 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.2023, allocations: 147.8 kB / 0.6237 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.2028, allocations: 92.56 kB / 0.6238 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.2047, allocations: 1.335 MB / 0.6251 GB, free: 4.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.2052, allocations: 0.9701 MB / 0.626 GB, free: 3.223 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.2056, allocations: 124.7 kB / 0.6262 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.2057, allocations: 47.42 kB / 0.6262 GB, free: 3.051 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2057, allocations: 0 / 0.6262 GB, free: 3.051 MB / 478.1 MB Notification: Performance of Templates: time 0.009577/0.2153, allocations: 4.675 MB / 0.6308 GB, free: 14.43 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) Environment - environmentSimulation: