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.2045/0.2053, allocations: 82.22 MB / 0.5941 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.006619/0.212, allocations: 3.942 MB / 0.598 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.2163, allocations: 2.187 MB / 0.6001 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.2171, allocations: 23.88 kB / 0.6001 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.2178, allocations: 119.1 kB / 0.6002 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.2189, allocations: 230.9 kB / 0.6005 GB, free: 15.02 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.001687/0.2206, allocations: 481.6 kB / 0.6009 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2222, allocations: 1.131 MB / 0.602 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.2245, allocations: 1.371 MB / 0.6034 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.225, allocations: 298.5 kB / 0.6036 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.2257, allocations: 362 kB / 0.604 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.2258, allocations: 32 kB / 0.604 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004738/0.2263, allocations: 215.6 kB / 0.6042 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.2265, allocations: 175.3 kB / 0.6044 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004466/0.227, allocations: 367.5 kB / 0.6047 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2281, allocations: 0.899 MB / 0.6056 GB, free: 9.652 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2281, allocations: 4 kB / 0.6056 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2281, allocations: 4 kB / 0.6056 GB, free: 9.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.73e-05/0.2281, allocations: 0 / 0.6056 GB, free: 9.645 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.001841/0.23, allocations: 0.9034 MB / 0.6065 GB, free: 8.691 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.23, allocations: 12.03 kB / 0.6065 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006619/0.2307, allocations: 135.8 kB / 0.6067 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.2314, allocations: 0.4932 MB / 0.6071 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.2315, allocations: 70.38 kB / 0.6072 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2316, allocations: 88.36 kB / 0.6073 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2331, allocations: 0.9996 MB / 0.6083 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.2331, allocations: 3.938 kB / 0.6083 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/0.2332, allocations: 43.98 kB / 0.6083 GB, free: 6.746 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/0.2333, allocations: 49.98 kB / 0.6084 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.2343, allocations: 0.6751 MB / 0.609 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.2386, allocations: 4.027 MB / 0.6129 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.2394, allocations: 0.6635 MB / 0.6136 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.2397, allocations: 201.6 kB / 0.6138 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.2409, allocations: 1.041 MB / 0.6148 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.2413, allocations: 182.5 kB / 0.615 GB, free: 15.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.2413, allocations: 0 / 0.615 GB, free: 15.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007075/0.242, allocations: 382 kB / 0.6153 GB, free: 15.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.2421, allocations: 59.41 kB / 0.6154 GB, free: 15.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2426, allocations: 0.5131 MB / 0.6159 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.2427, allocations: 37.7 kB / 0.6159 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.243, allocations: 395.1 kB / 0.6163 GB, free: 14.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.2431, allocations: 110.7 kB / 0.6164 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.2432, allocations: 109.6 kB / 0.6165 GB, free: 13.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2433, allocations: 366.7 kB / 0.6169 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.2436, allocations: 137.9 kB / 0.617 GB, free: 13.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.244, allocations: 421.7 kB / 0.6174 GB, free: 12.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.2446, allocations: 0.5372 MB / 0.6179 GB, free: 12.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.2446, allocations: 0 / 0.6179 GB, free: 12.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000839/0.2455, allocations: 0.5705 MB / 0.6185 GB, free: 11.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002478/0.2457, allocations: 359.5 kB / 0.6188 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2458, allocations: 8 kB / 0.6188 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.2458, allocations: 12 kB / 0.6188 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.2461, allocations: 75.78 kB / 0.6189 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.2461, allocations: 27.86 kB / 0.6189 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.2465, allocations: 75.22 kB / 0.619 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.2465, allocations: 35.98 kB / 0.6191 GB, free: 10.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.2465, allocations: 4 kB / 0.6191 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006898/0.2472, allocations: 0.5066 MB / 0.6196 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2473, allocations: 8 kB / 0.6196 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2473, allocations: 12 kB / 0.6196 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.2475, allocations: 79.78 kB / 0.6196 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.2475, allocations: 20.61 kB / 0.6197 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.2478, allocations: 59.53 kB / 0.6197 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.2478, allocations: 35.98 kB / 0.6198 GB, free: 10.15 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,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.000391/0.2482, allocations: 354 kB / 0.6201 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.2483, allocations: 59.28 kB / 0.6202 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/0.2489, allocations: 331.6 kB / 0.6205 GB, free: 9.402 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2489, allocations: 4 kB / 0.6205 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2489, allocations: 0 / 0.6205 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2489, allocations: 0 / 0.6205 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.2501, allocations: 0.9766 MB / 0.6214 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2501, allocations: 0 / 0.6214 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.2503, allocations: 27.92 kB / 0.6215 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2503, allocations: 4.094 kB / 0.6215 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.2503, allocations: 16 kB / 0.6215 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.2503, allocations: 11.92 kB / 0.6215 GB, free: 8.297 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2503, allocations: 0 / 0.6215 GB, free: 8.297 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.251, allocations: 0.5247 MB / 0.622 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2512, allocations: 160.4 kB / 0.6221 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.2512, allocations: 8 kB / 0.6222 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2514, allocations: 19.92 kB / 0.6222 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2515, allocations: 39.89 kB / 0.6222 GB, free: 7.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.2516, allocations: 12 kB / 0.6222 GB, free: 7.492 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.2519, allocations: 306.9 kB / 0.6225 GB, free: 7.191 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2519, allocations: 0 / 0.6225 GB, free: 7.191 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000895/0.2528, allocations: 306.4 kB / 0.6228 GB, free: 6.891 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 (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.0002145/0.253, allocations: 128.9 kB / 0.6229 GB, free: 6.762 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.254, allocations: 0.6332 MB / 0.6236 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.254, allocations: 0 / 0.6236 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.2542, allocations: 144 kB / 0.6237 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.2549, allocations: 101.3 kB / 0.6238 GB, free: 5.898 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.2568, allocations: 1.419 MB / 0.6252 GB, free: 4.441 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.2573, allocations: 0.9542 MB / 0.6261 GB, free: 3.457 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000367/0.2577, allocations: 124.6 kB / 0.6262 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.2578, allocations: 43.42 kB / 0.6263 GB, free: 3.293 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2578, allocations: 0 / 0.6263 GB, free: 3.293 MB / 478.1 MB Notification: Performance of Templates: time 0.01002/0.2678, allocations: 4.797 MB / 0.6309 GB, free: 14.55 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: