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.5974/0.5996, allocations: 80.82 MB / 0.5904 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.008456/0.6081, allocations: 4.359 MB / 0.5947 GB, free: 18.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.613, allocations: 2.227 MB / 0.5968 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/0.6141, allocations: 23.88 kB / 0.5969 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.6166, allocations: 0.994 MB / 0.5978 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.6179, allocations: 266.9 kB / 0.5981 GB, free: 14.93 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 '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.002052/0.62, allocations: 0.5183 MB / 0.5986 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.6216, allocations: 1.015 MB / 0.5996 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.6234, allocations: 1.201 MB / 0.6008 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.624, allocations: 402.5 kB / 0.6011 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000722/0.6248, allocations: 430 kB / 0.6016 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6249, allocations: 80 kB / 0.6016 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.6255, allocations: 223.7 kB / 0.6018 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.6258, allocations: 243.2 kB / 0.6021 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.6263, allocations: 409.8 kB / 0.6025 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.6276, allocations: 1.001 MB / 0.6034 GB, free: 9.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.6277, allocations: 0 / 0.6034 GB, free: 9.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6277, allocations: 0 / 0.6034 GB, free: 9.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.6277, allocations: 0 / 0.6034 GB, free: 9.43 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002178/0.6299, allocations: 1.087 MB / 0.6045 GB, free: 8.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.63, allocations: 12.03 kB / 0.6045 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/0.6306, allocations: 127.8 kB / 0.6046 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.6315, allocations: 0.5011 MB / 0.6051 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/0.6316, allocations: 70.36 kB / 0.6052 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.6317, allocations: 84.38 kB / 0.6053 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.6333, allocations: 1.015 MB / 0.6063 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.6333, allocations: 3.938 kB / 0.6063 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.6334, allocations: 36 kB / 0.6063 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.275e-05/0.6335, allocations: 53.97 kB / 0.6064 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6345, allocations: 0.6673 MB / 0.607 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.6392, allocations: 4.03 MB / 0.6109 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.6401, allocations: 0.6626 MB / 0.6116 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.6405, allocations: 197.6 kB / 0.6118 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/0.6422, allocations: 1.03 MB / 0.6128 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.6427, allocations: 181.8 kB / 0.613 GB, free: 15.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 3.557e-06/0.6427, allocations: 0 / 0.613 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009408/0.6437, allocations: 385.7 kB / 0.6133 GB, free: 14.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/0.6438, allocations: 59.41 kB / 0.6134 GB, free: 14.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.6445, allocations: 0.5052 MB / 0.6139 GB, free: 14.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.6446, allocations: 41.7 kB / 0.6139 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.645, allocations: 403.1 kB / 0.6143 GB, free: 13.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.6451, allocations: 98.7 kB / 0.6144 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.6454, allocations: 178.5 kB / 0.6146 GB, free: 13.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002932/0.6457, allocations: 366.7 kB / 0.6149 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.646, allocations: 144.8 kB / 0.6151 GB, free: 12.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.6467, allocations: 421.7 kB / 0.6155 GB, free: 12.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/0.6475, allocations: 0.5365 MB / 0.616 GB, free: 11.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.6476, allocations: 0 / 0.616 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009831/0.6486, allocations: 0.5779 MB / 0.6165 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.6486, allocations: 8 kB / 0.6166 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.6486, allocations: 12 kB / 0.6166 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/0.6487, allocations: 12.81 kB / 0.6166 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.6489, allocations: 83.72 kB / 0.6167 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.649, allocations: 23.92 kB / 0.6167 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.6493, allocations: 71.22 kB / 0.6167 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.6494, allocations: 39.98 kB / 0.6168 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005567/0.65, allocations: 326.8 kB / 0.6171 GB, free: 10.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005349/0.6505, allocations: 418.8 kB / 0.6175 GB, free: 10 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007998/0.6513, allocations: 0.5358 MB / 0.618 GB, free: 9.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.721e-06/0.6514, allocations: 4 kB / 0.618 GB, free: 9.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.000999/0.6524, allocations: 0.5747 MB / 0.6186 GB, free: 8.754 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6524, allocations: 8 kB / 0.6186 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6524, allocations: 12 kB / 0.6186 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6524, allocations: 12 kB / 0.6186 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.6527, allocations: 79.77 kB / 0.6187 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.6527, allocations: 19.94 kB / 0.6187 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.6531, allocations: 63.98 kB / 0.6188 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.6531, allocations: 28 kB / 0.6188 GB, free: 8.535 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.THold.enableFire,$PRE.TOn.enableFire,$PRE.TDischarge.enableFire,$PRE.TOff.enableFire,hold.oldActive,$PRE.hold.oldActive,discharge.oldActive,$PRE.discharge.oldActive,charge.oldActive,$PRE.charge.oldActive,off.oldActive,$PRE.off.oldActive,TOff.enableFire,TOff.conditionPort,TDischarge.enableFire,startDischarge.y,hold.outport_fire,hold.inport_fire,hold.newActive,$PRE.hold.newActive,hold.active,discharge.outport_fire,discharge.newActive,$PRE.discharge.newActive,discharge.active,TOn.enableFire,greaterEqualThreshold.y,charge.inport_fire,charge.newActive,$PRE.charge.newActive,charge.active,THold.enableFire,off.newActive,$PRE.off.newActive,off.active,startCharge.y,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,$whenCondition1,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 (85): * Single equations (assignments): 85 * 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.0003585/0.6535, allocations: 265.2 kB / 0.619 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.6536, allocations: 51.34 kB / 0.6191 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007278/0.6543, allocations: 327.6 kB / 0.6194 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.6544, allocations: 11.94 kB / 0.6194 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6544, allocations: 0 / 0.6194 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6544, allocations: 3.984 kB / 0.6194 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.656, allocations: 0.9684 MB / 0.6204 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.656, allocations: 0 / 0.6204 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.6562, allocations: 35.91 kB / 0.6204 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6562, allocations: 4 kB / 0.6204 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.6562, allocations: 12.09 kB / 0.6204 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6563, allocations: 3.938 kB / 0.6204 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6563, allocations: 4 kB / 0.6204 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.6571, allocations: 0.5324 MB / 0.6209 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.6574, allocations: 152.3 kB / 0.6211 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.6575, allocations: 16.06 kB / 0.6211 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.6577, allocations: 15.92 kB / 0.6211 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.6578, allocations: 35.95 kB / 0.6212 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.6579, allocations: 8 kB / 0.6212 GB, free: 5.992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000406/0.6583, allocations: 314.9 kB / 0.6215 GB, free: 5.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6583, allocations: 3.938 kB / 0.6215 GB, free: 5.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001191/0.6595, allocations: 302.4 kB / 0.6218 GB, free: 5.383 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003758/0.6599, allocations: 128.6 kB / 0.6219 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.6612, allocations: 0.655 MB / 0.6225 GB, free: 4.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.6612, allocations: 0 / 0.6225 GB, free: 4.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.6615, allocations: 144.5 kB / 0.6227 GB, free: 4.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.6622, allocations: 111.9 kB / 0.6228 GB, free: 4.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.6648, allocations: 1.127 MB / 0.6239 GB, free: 3.188 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.6654, allocations: 0.9578 MB / 0.6248 GB, free: 2.199 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004321/0.6659, allocations: 120.6 kB / 0.6249 GB, free: 2.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.666, allocations: 55.42 kB / 0.625 GB, free: 2.023 MB / 462.1 MB Notification: Performance of SimCode: time 2.104e-06/0.666, allocations: 0 / 0.625 GB, free: 2.023 MB / 462.1 MB Notification: Performance of Templates: time 0.01279/0.6788, allocations: 5.088 MB / 0.6299 GB, free: 13 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Storage.Examples.Battery.makefile (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)