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.2221/0.2243, allocations: 80.83 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.00705/0.2314, allocations: 4.371 MB / 0.6749 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005016/0.2365, allocations: 2.233 MB / 0.6771 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.2373, allocations: 23.88 kB / 0.6771 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.2399, allocations: 0.9911 MB / 0.678 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2411, allocations: 262.3 kB / 0.6783 GB, free: 10.14 MB / 0.5137 GB [/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.001844/0.243, allocations: 0.5258 MB / 0.6788 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.2446, allocations: 1.011 MB / 0.6798 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.2464, allocations: 1.21 MB / 0.681 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.247, allocations: 398.6 kB / 0.6814 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006738/0.2477, allocations: 422.1 kB / 0.6818 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.2478, allocations: 83.98 kB / 0.6818 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.2484, allocations: 219.7 kB / 0.682 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.2487, allocations: 255.2 kB / 0.6823 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.2491, allocations: 397.8 kB / 0.6827 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.2505, allocations: 1.059 MB / 0.6837 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.2505, allocations: 0 / 0.6837 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2505, allocations: 0 / 0.6837 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.2505, allocations: 4 kB / 0.6837 GB, free: 4.551 MB / 0.5137 GB 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.001967/0.2525, allocations: 1.09 MB / 0.6848 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.2526, allocations: 11.97 kB / 0.6848 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006816/0.2532, allocations: 131.8 kB / 0.6849 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.2543, allocations: 0.5205 MB / 0.6854 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-05/0.2544, allocations: 70.38 kB / 0.6855 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.2546, allocations: 92.36 kB / 0.6856 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.2563, allocations: 1.003 MB / 0.6866 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.2563, allocations: 3.938 kB / 0.6866 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.2564, allocations: 43.97 kB / 0.6866 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.872e-05/0.2565, allocations: 49.98 kB / 0.6866 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.2577, allocations: 0.6674 MB / 0.6873 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/0.2623, allocations: 3.995 MB / 0.6912 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.2632, allocations: 0.6612 MB / 0.6918 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.2636, allocations: 193.6 kB / 0.692 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.265, allocations: 1.03 MB / 0.693 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.2654, allocations: 189.9 kB / 0.6932 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/0.2654, allocations: 0 / 0.6932 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.000738/0.2661, allocations: 382.1 kB / 0.6936 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.2662, allocations: 55.41 kB / 0.6936 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.2668, allocations: 0.5168 MB / 0.6941 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.2669, allocations: 41.7 kB / 0.6942 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.2672, allocations: 391.2 kB / 0.6946 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.2673, allocations: 106.6 kB / 0.6947 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.2675, allocations: 178.5 kB / 0.6948 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2677, allocations: 374.7 kB / 0.6952 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.268, allocations: 140.8 kB / 0.6953 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.2684, allocations: 417.9 kB / 0.6957 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.2691, allocations: 0.5289 MB / 0.6962 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2691, allocations: 4 kB / 0.6962 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008648/0.27, allocations: 0.5785 MB / 0.6968 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.27, allocations: 8 kB / 0.6968 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.27, allocations: 8 kB / 0.6968 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.2701, allocations: 12 kB / 0.6968 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.2703, allocations: 79.77 kB / 0.6969 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.2704, allocations: 19.94 kB / 0.6969 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.2707, allocations: 75.27 kB / 0.697 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.2708, allocations: 28 kB / 0.697 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004853/0.2713, allocations: 330.1 kB / 0.6973 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004555/0.2717, allocations: 430.6 kB / 0.6977 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006448/0.2724, allocations: 0.5396 MB / 0.6983 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/0.2724, allocations: 4 kB / 0.6983 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.0008305/0.2732, allocations: 0.5712 MB / 0.6988 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2732, allocations: 10.06 kB / 0.6988 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2733, allocations: 12 kB / 0.6989 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2733, allocations: 16 kB / 0.6989 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2735, allocations: 75.78 kB / 0.6989 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.2735, allocations: 23.98 kB / 0.699 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.2739, allocations: 59.52 kB / 0.699 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.274, allocations: 32 kB / 0.6991 GB, free: 3.668 MB / 0.5294 GB 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.000267/0.2742, allocations: 258.5 kB / 0.6993 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.2743, allocations: 51.44 kB / 0.6994 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006122/0.2749, allocations: 326.2 kB / 0.6997 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2749, allocations: 4 kB / 0.6997 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.275, allocations: 0 / 0.6997 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.275, allocations: 0 / 0.6997 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.2764, allocations: 0.9763 MB / 0.7006 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2764, allocations: 0 / 0.7006 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.2766, allocations: 35.92 kB / 0.7007 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.2766, allocations: 0 / 0.7007 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.2766, allocations: 11.94 kB / 0.7007 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.2767, allocations: 7.938 kB / 0.7007 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2767, allocations: 0 / 0.7007 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.2774, allocations: 0.5364 MB / 0.7012 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.2776, allocations: 152.4 kB / 0.7013 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.2777, allocations: 8 kB / 0.7013 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2779, allocations: 15.94 kB / 0.7014 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.278, allocations: 35.95 kB / 0.7014 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.278, allocations: 15.98 kB / 0.7014 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003361/0.2784, allocations: 310.9 kB / 0.7017 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2784, allocations: 0 / 0.7017 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001064/0.2795, allocations: 302.4 kB / 0.702 GB, free: 0.5312 MB / 0.5294 GB 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.0002721/0.2797, allocations: 137.4 kB / 0.7021 GB, free: 392 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.2809, allocations: 0.651 MB / 0.7028 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2809, allocations: 3.938 kB / 0.7028 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.2812, allocations: 140.8 kB / 0.7029 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.2818, allocations: 105.7 kB / 0.703 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.2841, allocations: 1.109 MB / 0.7041 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.2848, allocations: 0.9578 MB / 0.705 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004019/0.2852, allocations: 120.7 kB / 0.7051 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2854, allocations: 51.36 kB / 0.7052 GB, free: 13.19 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/0.2854, allocations: 0 / 0.7052 GB, free: 13.19 MB / 0.545 GB Notification: Performance of Templates: time 0.01244/0.2978, allocations: 5.153 MB / 0.7102 GB, free: 8.078 MB / 0.545 GB 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)