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.218/0.22, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.006786/0.2269, allocations: 4.362 MB / 0.5939 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004779/0.2317, allocations: 2.222 MB / 0.5961 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.2326, allocations: 23.88 kB / 0.5961 GB, free: 492 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.2353, allocations: 0.9103 MB / 0.597 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.2366, allocations: 226.9 kB / 0.5972 GB, free: 15.34 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.002056/0.2387, allocations: 488.9 kB / 0.5977 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.2401, allocations: 1.128 MB / 0.5988 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.2416, allocations: 1.038 MB / 0.5998 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.242, allocations: 354.6 kB / 0.6002 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.2426, allocations: 429.9 kB / 0.6006 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.2427, allocations: 56 kB / 0.6006 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.2432, allocations: 243.6 kB / 0.6009 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.2434, allocations: 223.3 kB / 0.6011 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.2439, allocations: 381.8 kB / 0.6014 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009974/0.2449, allocations: 0.9305 MB / 0.6023 GB, free: 10.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2449, allocations: 0 / 0.6023 GB, free: 10.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2449, allocations: 0 / 0.6023 GB, free: 10.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2449, allocations: 4 kB / 0.6023 GB, free: 10.09 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.001884/0.2468, allocations: 1.087 MB / 0.6034 GB, free: 8.949 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2469, allocations: 8.031 kB / 0.6034 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005409/0.2474, allocations: 131.8 kB / 0.6035 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.2481, allocations: 0.5011 MB / 0.604 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.2482, allocations: 70.36 kB / 0.6041 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.2483, allocations: 84.38 kB / 0.6042 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.2499, allocations: 1.007 MB / 0.6052 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.25, allocations: 3.938 kB / 0.6052 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/0.2501, allocations: 36 kB / 0.6052 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/0.2501, allocations: 49.98 kB / 0.6052 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.2513, allocations: 0.6673 MB / 0.6059 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/0.2559, allocations: 4.023 MB / 0.6098 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.2568, allocations: 0.6673 MB / 0.6105 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.2572, allocations: 197.6 kB / 0.6107 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.2585, allocations: 1.034 MB / 0.6117 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.2589, allocations: 182.5 kB / 0.6118 GB, free: 15.78 MB / 478.1 MB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.2589, allocations: 3.938 kB / 0.6118 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007575/0.2597, allocations: 385.7 kB / 0.6122 GB, free: 15.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.2598, allocations: 63.39 kB / 0.6123 GB, free: 15.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.2604, allocations: 0.5014 MB / 0.6128 GB, free: 14.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.2604, allocations: 41.69 kB / 0.6128 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.2607, allocations: 399 kB / 0.6132 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.978e-05/0.2608, allocations: 106.6 kB / 0.6133 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.261, allocations: 182.4 kB / 0.6135 GB, free: 14.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.2613, allocations: 366.7 kB / 0.6138 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.2615, allocations: 148.8 kB / 0.614 GB, free: 13.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.262, allocations: 421.7 kB / 0.6144 GB, free: 13.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.2627, allocations: 0.5372 MB / 0.6149 GB, free: 12.35 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.2627, allocations: 3.984 kB / 0.6149 GB, free: 12.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008807/0.2636, allocations: 0.5672 MB / 0.6154 GB, free: 11.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2636, allocations: 12 kB / 0.6155 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2636, allocations: 12 kB / 0.6155 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.2637, allocations: 15.98 kB / 0.6155 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.2639, allocations: 79.78 kB / 0.6156 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.264, allocations: 19.92 kB / 0.6156 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.2643, allocations: 63.38 kB / 0.6156 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.2644, allocations: 36 kB / 0.6157 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004547/0.2648, allocations: 326 kB / 0.616 GB, free: 11.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004371/0.2653, allocations: 422.8 kB / 0.6164 GB, free: 10.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006217/0.2659, allocations: 0.5359 MB / 0.6169 GB, free: 10.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.2659, allocations: 4 kB / 0.6169 GB, free: 10.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.0008629/0.2668, allocations: 0.575 MB / 0.6175 GB, free: 9.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2668, allocations: 12 kB / 0.6175 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2668, allocations: 8 kB / 0.6175 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2668, allocations: 16.03 kB / 0.6175 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.2671, allocations: 79.77 kB / 0.6176 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.2671, allocations: 24 kB / 0.6176 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.2674, allocations: 55.58 kB / 0.6177 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.2675, allocations: 32 kB / 0.6177 GB, free: 9.207 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.0002137/0.2677, allocations: 262.2 kB / 0.6179 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.2678, allocations: 55.33 kB / 0.618 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.2683, allocations: 323.6 kB / 0.6183 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2683, allocations: 4 kB / 0.6183 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2683, allocations: 0 / 0.6183 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.2684, allocations: 3.984 kB / 0.6183 GB, free: 8.559 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.2696, allocations: 0.9767 MB / 0.6193 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2696, allocations: 0 / 0.6193 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.2698, allocations: 35.86 kB / 0.6193 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2698, allocations: 7.938 kB / 0.6193 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.2698, allocations: 15.98 kB / 0.6193 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2698, allocations: 3.938 kB / 0.6193 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2698, allocations: 4 kB / 0.6193 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.2706, allocations: 0.5329 MB / 0.6198 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.2707, allocations: 152.4 kB / 0.62 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.2708, allocations: 12 kB / 0.62 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.271, allocations: 15.92 kB / 0.62 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2711, allocations: 35.95 kB / 0.6201 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.2711, allocations: 12 kB / 0.6201 GB, free: 6.648 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.2715, allocations: 310.9 kB / 0.6204 GB, free: 6.344 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2715, allocations: 0 / 0.6204 GB, free: 6.344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009065/0.2724, allocations: 310.3 kB / 0.6207 GB, free: 6.039 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.0002113/0.2726, allocations: 124.2 kB / 0.6208 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009935/0.2736, allocations: 0.6432 MB / 0.6214 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2736, allocations: 0 / 0.6214 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.2739, allocations: 135.8 kB / 0.6215 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.2745, allocations: 98.64 kB / 0.6216 GB, free: 5.047 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2765, allocations: 1.396 MB / 0.623 GB, free: 3.613 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.2771, allocations: 0.9542 MB / 0.6239 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003472/0.2774, allocations: 128.8 kB / 0.624 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2775, allocations: 39.44 kB / 0.6241 GB, free: 2.465 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2775, allocations: 0 / 0.6241 GB, free: 2.465 MB / 478.1 MB Notification: Performance of Templates: time 0.01022/0.2878, allocations: 4.812 MB / 0.6288 GB, free: 13.7 MB / 494.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)