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.2184/0.2192, allocations: 82.22 MB / 0.5935 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.005296/0.2246, allocations: 3.776 MB / 0.5971 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.2286, allocations: 2.11 MB / 0.5992 GB, free: 88 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.2294, allocations: 19.88 kB / 0.5992 GB, free: 68 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.2301, allocations: 107.2 kB / 0.5993 GB, free: 15.96 MB / 462.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.001218/0.2314, allocations: 186.9 kB / 0.5995 GB, free: 15.77 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.001626/0.233, allocations: 428.2 kB / 0.5999 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2343, allocations: 0.9871 MB / 0.6009 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.2361, allocations: 1.21 MB / 0.6021 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.2365, allocations: 294.7 kB / 0.6023 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/0.237, allocations: 334.2 kB / 0.6027 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.2371, allocations: 32 kB / 0.6027 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.2374, allocations: 103.9 kB / 0.6028 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.2376, allocations: 175.4 kB / 0.603 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.2378, allocations: 153.3 kB / 0.6031 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.2386, allocations: 0.6935 MB / 0.6038 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.2386, allocations: 4 kB / 0.6038 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2386, allocations: 11.88 kB / 0.6038 GB, free: 11.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.2386, allocations: 0 / 0.6038 GB, free: 11.32 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.001517/0.2402, allocations: 0.9072 MB / 0.6047 GB, free: 10.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2402, allocations: 8.031 kB / 0.6047 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/0.2407, allocations: 134.8 kB / 0.6048 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.2414, allocations: 0.4922 MB / 0.6053 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.2415, allocations: 73.97 kB / 0.6054 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.2416, allocations: 87.94 kB / 0.6055 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2431, allocations: 0.9915 MB / 0.6064 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2431, allocations: 4 kB / 0.6064 GB, free: 8.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.2433, allocations: 36 kB / 0.6065 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/0.2434, allocations: 49.98 kB / 0.6065 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.2446, allocations: 0.6673 MB / 0.6072 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/0.2491, allocations: 4.027 MB / 0.6111 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.2499, allocations: 0.6588 MB / 0.6117 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.2503, allocations: 201.6 kB / 0.6119 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.2516, allocations: 1.03 MB / 0.6129 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.252, allocations: 186.5 kB / 0.6131 GB, free: 1.207 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.252, allocations: 0 / 0.6131 GB, free: 1.207 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007683/0.2527, allocations: 378 kB / 0.6135 GB, free: 0.832 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.2528, allocations: 55.41 kB / 0.6135 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.2536, allocations: 0.5052 MB / 0.614 GB, free: 252 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.2536, allocations: 41.7 kB / 0.6141 GB, free: 204 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.2541, allocations: 399.2 kB / 0.6144 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.2542, allocations: 106.7 kB / 0.6145 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2542, allocations: 8 kB / 0.6146 GB, free: 15.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.2545, allocations: 370.8 kB / 0.6149 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.2548, allocations: 133.9 kB / 0.615 GB, free: 15.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.2553, allocations: 417.6 kB / 0.6154 GB, free: 14.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.2558, allocations: 180.6 kB / 0.6156 GB, free: 14.47 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2558, allocations: 0 / 0.6156 GB, free: 14.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001107/0.2569, allocations: 0.5783 MB / 0.6162 GB, free: 13.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004568/0.2574, allocations: 354.8 kB / 0.6165 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.2574, allocations: 16 kB / 0.6165 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.76e-05/0.2574, allocations: 16 kB / 0.6165 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.2578, allocations: 75.78 kB / 0.6166 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.192e-05/0.2578, allocations: 23.92 kB / 0.6166 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.2583, allocations: 71.28 kB / 0.6167 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.967e-05/0.2584, allocations: 39.92 kB / 0.6167 GB, free: 13.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2584, allocations: 4 kB / 0.6167 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/0.2596, allocations: 0.4995 MB / 0.6172 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.2596, allocations: 11.94 kB / 0.6172 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.2596, allocations: 12 kB / 0.6173 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.2599, allocations: 79.78 kB / 0.6173 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.26, allocations: 23.92 kB / 0.6174 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.2604, allocations: 63.78 kB / 0.6174 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.2605, allocations: 40 kB / 0.6174 GB, free: 12.44 MB / 478.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,$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 (85): * Single equations (assignments): 85 * 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.0005796/0.261, allocations: 342.1 kB / 0.6178 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.2611, allocations: 55.33 kB / 0.6178 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.2618, allocations: 319.6 kB / 0.6181 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.2618, allocations: 4 kB / 0.6181 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.2618, allocations: 3.984 kB / 0.6181 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2619, allocations: 11.95 kB / 0.6182 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.2634, allocations: 0.9614 MB / 0.6191 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2634, allocations: 0 / 0.6191 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.2636, allocations: 27.92 kB / 0.6191 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.2636, allocations: 4 kB / 0.6191 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.2637, allocations: 19.94 kB / 0.6191 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.2637, allocations: 96 / 0.6191 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2637, allocations: 11.94 kB / 0.6192 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.2646, allocations: 0.5251 MB / 0.6197 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.2648, allocations: 156.4 kB / 0.6198 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.2649, allocations: 8 kB / 0.6198 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2651, allocations: 20 kB / 0.6198 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.2652, allocations: 35.95 kB / 0.6199 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.2653, allocations: 23.92 kB / 0.6199 GB, free: 9.812 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000426/0.2657, allocations: 298.9 kB / 0.6202 GB, free: 9.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2657, allocations: 0 / 0.6202 GB, free: 9.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001094/0.2668, allocations: 310.3 kB / 0.6205 GB, free: 9.215 MB / 478.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 (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.0002218/0.2671, allocations: 140.6 kB / 0.6206 GB, free: 9.074 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.2682, allocations: 0.629 MB / 0.6212 GB, free: 8.449 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.2683, allocations: 0 / 0.6212 GB, free: 8.449 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.2685, allocations: 139.8 kB / 0.6214 GB, free: 8.312 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.2692, allocations: 104.5 kB / 0.6215 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.2717, allocations: 1.333 MB / 0.6228 GB, free: 6.844 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.2723, allocations: 0.9581 MB / 0.6237 GB, free: 5.855 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.2727, allocations: 116.7 kB / 0.6238 GB, free: 5.738 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2729, allocations: 43.44 kB / 0.6238 GB, free: 5.695 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/0.2729, allocations: 4 kB / 0.6239 GB, free: 5.691 MB / 478.1 MB Notification: Performance of Templates: time 0.01134/0.2842, allocations: 4.637 MB / 0.6284 GB, free: 1.105 MB / 478.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: