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.2044/0.2067, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.007427/0.2142, allocations: 4.357 MB / 0.6749 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00476/0.219, allocations: 2.237 MB / 0.677 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008287/0.2198, allocations: 23.88 kB / 0.6771 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.2227, allocations: 0.9911 MB / 0.678 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.2241, allocations: 258.3 kB / 0.6783 GB, free: 10.12 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.002285/0.2264, allocations: 0.5326 MB / 0.6788 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001987/0.2284, allocations: 1.018 MB / 0.6798 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.2308, allocations: 1.206 MB / 0.681 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008794/0.2317, allocations: 402.6 kB / 0.6814 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008867/0.2326, allocations: 426 kB / 0.6818 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2327, allocations: 80 kB / 0.6818 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.2332, allocations: 223.6 kB / 0.6821 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.2335, allocations: 251.2 kB / 0.6823 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.2339, allocations: 401.8 kB / 0.6827 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.2352, allocations: 1.055 MB / 0.6837 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2352, allocations: 4 kB / 0.6837 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.746e-06/0.2352, allocations: 0 / 0.6837 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.2352, allocations: 0 / 0.6837 GB, free: 4.527 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.001731/0.2369, allocations: 1.087 MB / 0.6848 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.237, allocations: 15.97 kB / 0.6848 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.2375, allocations: 127.7 kB / 0.6849 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/0.2384, allocations: 0.5361 MB / 0.6854 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.2384, allocations: 66.38 kB / 0.6855 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.2386, allocations: 88.38 kB / 0.6856 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.24, allocations: 0.9996 MB / 0.6866 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.2401, allocations: 7.938 kB / 0.6866 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.2401, allocations: 35.98 kB / 0.6866 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.93e-05/0.2402, allocations: 49.98 kB / 0.6866 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2413, allocations: 0.6752 MB / 0.6873 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.2455, allocations: 3.988 MB / 0.6912 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.2463, allocations: 0.6658 MB / 0.6919 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.2467, allocations: 193.6 kB / 0.692 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.2479, allocations: 1.03 MB / 0.693 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.2483, allocations: 189.9 kB / 0.6932 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.274e-06/0.2483, allocations: 0 / 0.6932 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.0006861/0.249, allocations: 374.2 kB / 0.6936 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.249, allocations: 59.34 kB / 0.6936 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.2496, allocations: 0.513 MB / 0.6941 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.2497, allocations: 41.64 kB / 0.6942 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.25, allocations: 391.2 kB / 0.6946 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.2501, allocations: 114.6 kB / 0.6947 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2503, allocations: 174.5 kB / 0.6948 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2504, allocations: 366.7 kB / 0.6952 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.2507, allocations: 140.8 kB / 0.6953 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.2511, allocations: 429.9 kB / 0.6957 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.2517, allocations: 0.525 MB / 0.6962 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.2517, allocations: 0 / 0.6962 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008459/0.2526, allocations: 0.5782 MB / 0.6968 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2526, allocations: 10.34 kB / 0.6968 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2526, allocations: 12 kB / 0.6968 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.2527, allocations: 12 kB / 0.6968 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.2529, allocations: 79.77 kB / 0.6969 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.2529, allocations: 20.45 kB / 0.6969 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.2533, allocations: 79.27 kB / 0.697 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.2534, allocations: 32 kB / 0.697 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004414/0.2538, allocations: 326 kB / 0.6973 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004002/0.2542, allocations: 426.6 kB / 0.6977 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005806/0.2548, allocations: 0.5435 MB / 0.6983 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.2548, allocations: 4 kB / 0.6983 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.0008141/0.2556, allocations: 0.5712 MB / 0.6988 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2557, allocations: 15.94 kB / 0.6989 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2557, allocations: 8 kB / 0.6989 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2557, allocations: 12 kB / 0.6989 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.2559, allocations: 79.78 kB / 0.699 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.256, allocations: 23.92 kB / 0.699 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.2563, allocations: 55.52 kB / 0.699 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.2563, allocations: 36 kB / 0.6991 GB, free: 3.641 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.0002159/0.2566, allocations: 254.7 kB / 0.6993 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.2566, allocations: 51.42 kB / 0.6994 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/0.2572, allocations: 326.3 kB / 0.6997 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2573, allocations: 4 kB / 0.6997 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2573, allocations: 0 / 0.6997 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2573, allocations: 0 / 0.6997 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.2586, allocations: 0.9725 MB / 0.7006 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2586, allocations: 3.938 kB / 0.7006 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2588, allocations: 27.92 kB / 0.7006 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2588, allocations: 4 kB / 0.7007 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.2588, allocations: 15.98 kB / 0.7007 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2588, allocations: 7.922 kB / 0.7007 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2588, allocations: 4 kB / 0.7007 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.2596, allocations: 0.5325 MB / 0.7012 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.2597, allocations: 152.4 kB / 0.7013 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.2598, allocations: 8 kB / 0.7014 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.26, allocations: 15.92 kB / 0.7014 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2601, allocations: 36.03 kB / 0.7014 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.2601, allocations: 19.98 kB / 0.7014 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003353/0.2605, allocations: 302.9 kB / 0.7017 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2605, allocations: 0 / 0.7017 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009368/0.2614, allocations: 306.4 kB / 0.702 GB, free: 0.5078 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.0002245/0.2617, allocations: 143.9 kB / 0.7021 GB, free: 364 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.2627, allocations: 0.65 MB / 0.7028 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2628, allocations: 0 / 0.7028 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.263, allocations: 146.3 kB / 0.7029 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.2636, allocations: 97.97 kB / 0.703 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.2657, allocations: 1.113 MB / 0.7041 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.2664, allocations: 0.9578 MB / 0.705 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003528/0.2667, allocations: 116.8 kB / 0.7051 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2668, allocations: 51.42 kB / 0.7052 GB, free: 13.16 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2668, allocations: 0 / 0.7052 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Templates: time 0.01468/0.2815, allocations: 5.275 MB / 0.7103 GB, free: 7.93 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)