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.2152/0.2176, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.007224/0.2249, allocations: 4.353 MB / 0.6749 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004725/0.2296, allocations: 2.229 MB / 0.677 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.2306, allocations: 27.88 kB / 0.6771 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.2335, allocations: 0.9985 MB / 0.678 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.235, allocations: 266.4 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.002222/0.2373, allocations: 0.5291 MB / 0.6788 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.2392, allocations: 1.014 MB / 0.6798 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/0.2419, allocations: 1.202 MB / 0.681 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.243, allocations: 406.5 kB / 0.6814 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009223/0.2439, allocations: 426 kB / 0.6818 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.2441, allocations: 80 kB / 0.6819 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000629/0.2448, allocations: 219.7 kB / 0.6821 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.2451, allocations: 251.2 kB / 0.6823 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006278/0.2458, allocations: 401.8 kB / 0.6827 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.2476, allocations: 1.063 MB / 0.6837 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2476, allocations: 0 / 0.6837 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2476, allocations: 0 / 0.6837 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.401e-05/0.2477, 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.002789/0.2505, allocations: 1.087 MB / 0.6848 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.2505, allocations: 16.03 kB / 0.6848 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.2513, allocations: 127.8 kB / 0.6849 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.2524, allocations: 0.5282 MB / 0.6854 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2525, allocations: 66.38 kB / 0.6855 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.2527, allocations: 92.36 kB / 0.6856 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.2548, allocations: 0.9996 MB / 0.6866 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.2549, allocations: 8 kB / 0.6866 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-05/0.255, allocations: 39.98 kB / 0.6866 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/0.2551, allocations: 57.91 kB / 0.6867 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.2564, allocations: 0.6635 MB / 0.6873 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.2617, allocations: 3.999 MB / 0.6912 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.2626, allocations: 0.6666 MB / 0.6919 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.263, allocations: 197.7 kB / 0.6921 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.2644, allocations: 1.029 MB / 0.6931 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.2648, allocations: 189.8 kB / 0.6932 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.375e-06/0.2648, allocations: 0 / 0.6932 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.0007904/0.2656, allocations: 374.2 kB / 0.6936 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2657, allocations: 55.41 kB / 0.6937 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.2663, allocations: 0.5207 MB / 0.6942 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.2664, allocations: 37.7 kB / 0.6942 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.2667, allocations: 395.1 kB / 0.6946 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.2668, allocations: 106.6 kB / 0.6947 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.2671, allocations: 178.5 kB / 0.6949 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.2673, allocations: 366.7 kB / 0.6952 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.2676, allocations: 144.8 kB / 0.6953 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.2681, allocations: 421.9 kB / 0.6957 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.2689, allocations: 0.5289 MB / 0.6963 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.2689, allocations: 4 kB / 0.6963 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001074/0.2699, allocations: 0.5739 MB / 0.6968 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.27, allocations: 8.938 kB / 0.6968 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.27, allocations: 15.94 kB / 0.6968 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/0.2701, allocations: 12 kB / 0.6969 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.2704, allocations: 83.77 kB / 0.6969 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.2704, allocations: 15.94 kB / 0.697 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.2708, allocations: 75.27 kB / 0.697 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.2709, allocations: 32 kB / 0.6971 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000523/0.2714, allocations: 330 kB / 0.6974 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004472/0.2719, allocations: 422.6 kB / 0.6978 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007136/0.2726, allocations: 0.5397 MB / 0.6983 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.081e-05/0.2726, allocations: 4 kB / 0.6983 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001026/0.2736, allocations: 0.563 MB / 0.6989 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2737, allocations: 15.98 kB / 0.6989 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2737, allocations: 8 kB / 0.6989 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2737, allocations: 12 kB / 0.6989 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.2739, allocations: 75.78 kB / 0.699 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.274, allocations: 24.52 kB / 0.699 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.2743, allocations: 59.53 kB / 0.699 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.2744, allocations: 35.98 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.0002061/0.2746, allocations: 246.5 kB / 0.6993 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.2747, allocations: 51.38 kB / 0.6994 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.2753, allocations: 334.2 kB / 0.6997 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2753, allocations: 8 kB / 0.6997 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2753, allocations: 3.984 kB / 0.6997 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2753, allocations: 3.984 kB / 0.6997 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2768, allocations: 0.9763 MB / 0.7006 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2768, allocations: 3.938 kB / 0.7006 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2769, allocations: 27.98 kB / 0.7007 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2769, allocations: 7.938 kB / 0.7007 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.277, allocations: 12.09 kB / 0.7007 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.277, allocations: 7.938 kB / 0.7007 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.277, allocations: 0 / 0.7007 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.2778, allocations: 0.5286 MB / 0.7012 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.2779, allocations: 152.4 kB / 0.7014 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.278, allocations: 12.06 kB / 0.7014 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.2782, allocations: 15.94 kB / 0.7014 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.2783, allocations: 39.89 kB / 0.7014 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2784, allocations: 15.98 kB / 0.7014 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003428/0.2787, allocations: 306.9 kB / 0.7017 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2787, allocations: 0 / 0.7017 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009712/0.2797, allocations: 302.4 kB / 0.702 GB, free: 0.4961 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.0002964/0.28, allocations: 133.4 kB / 0.7022 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.2813, allocations: 0.6469 MB / 0.7028 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2813, allocations: 0 / 0.7028 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.2816, allocations: 141.5 kB / 0.7029 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.2823, allocations: 98.03 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.0025/0.2848, allocations: 1.121 MB / 0.7041 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/0.2856, allocations: 0.9539 MB / 0.705 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000401/0.286, allocations: 120.8 kB / 0.7052 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2861, allocations: 51.42 kB / 0.7052 GB, free: 13.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.2861, allocations: 0 / 0.7052 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Templates: time 0.01312/0.2993, allocations: 5.153 MB / 0.7102 GB, free: 8.051 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)