Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.conf.json 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 4.0.0+maint.om/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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") translateModel(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239.7 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009239/0.000924, allocations: 91.66 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07343/0.07343, allocations: 8.11 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 11.28 kB / 413.1 MB, free: 89.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 52.54 MB / 465.6 MB, free: 42.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.4022, allocations: 83.92 MB / 0.5367 GB, free: 16.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4025, allocations: 70 kB / 0.5367 GB, free: 16.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03353/0.436, allocations: 14.85 MB / 0.5512 GB, free: 31.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.436, allocations: 0 / 0.5512 GB, free: 31.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.845e-05/0.4361, allocations: 13.16 kB / 0.5512 GB, free: 31.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002988/0.4391, allocations: 1.33 MB / 0.5525 GB, free: 30.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.4392, allocations: 9.219 kB / 0.5525 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.4394, allocations: 107.3 kB / 0.5527 GB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.441, allocations: 0.8618 MB / 0.5535 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.4412, allocations: 81.47 kB / 0.5536 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.4412, allocations: 29.05 kB / 0.5536 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/0.4421, allocations: 455.3 kB / 0.554 GB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4421, allocations: 1.062 kB / 0.554 GB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.4422, allocations: 18 kB / 0.554 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4422, allocations: 6.438 kB / 0.5541 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.4428, allocations: 324.5 kB / 0.5544 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/0.4462, allocations: 2.24 MB / 0.5566 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009482/0.4471, allocations: 500 kB / 0.557 GB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.4472, allocations: 11.92 kB / 0.557 GB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4472, allocations: 37.73 kB / 0.5571 GB, free: 28.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.375e-06/0.4472, allocations: 0 / 0.5571 GB, free: 28.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002379/0.4496, allocations: 0.8555 MB / 0.5579 GB, free: 28.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.4497, allocations: 238.5 kB / 0.5581 GB, free: 28.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.4522, allocations: 1.588 MB / 0.5597 GB, free: 28.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.4523, allocations: 35.48 kB / 0.5597 GB, free: 28.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.4526, allocations: 440.6 kB / 0.5601 GB, free: 28.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.4527, allocations: 96.77 kB / 0.5602 GB, free: 28.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.4528, allocations: 4.625 kB / 0.5602 GB, free: 28.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.4528, allocations: 316 kB / 0.5605 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.4532, allocations: 157.7 kB / 0.5607 GB, free: 27.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.4536, allocations: 240.1 kB / 0.5609 GB, free: 27.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.454, allocations: 168.7 kB / 0.5611 GB, free: 27.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.454, allocations: 0 / 0.5611 GB, free: 27.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001465/0.4555, allocations: 0.5875 MB / 0.5617 GB, free: 27.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.4555, allocations: 8.984 kB / 0.5617 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4556, allocations: 1.219 kB / 0.5617 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/0.4562, allocations: 139 kB / 0.5618 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.4566, allocations: 75.98 kB / 0.5619 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4591, allocations: 1.915 MB / 0.5637 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.4597, allocations: 48.25 kB / 0.5638 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.4597, allocations: 22.12 kB / 0.5638 GB, free: 26.18 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: bat.battery.integrator.q:VARIABLE(start = bat.battery.SOC_start fixed = true ) "Charge as current integration" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (charging.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007913/0.4605, allocations: 399.5 kB / 0.5642 GB, free: 26.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4607, allocations: 101.2 kB / 0.5643 GB, free: 26.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.4622, allocations: 0.6079 MB / 0.5649 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4622, allocations: 2.844 kB / 0.5649 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4622, allocations: 0 / 0.5649 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4622, allocations: 0 / 0.5649 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.4648, allocations: 1.612 MB / 0.5665 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4648, allocations: 0 / 0.5665 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.4651, allocations: 65.84 kB / 0.5665 GB, free: 25.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006021/0.4657, allocations: 143.3 kB / 0.5667 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.4658, allocations: 5.25 kB / 0.5667 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.4679, allocations: 1.906 MB / 0.5685 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4679, allocations: 80 / 0.5685 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.4696, allocations: 0.8454 MB / 0.5693 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.4701, allocations: 276.8 kB / 0.5696 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4703, allocations: 7.688 kB / 0.5696 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.4707, allocations: 44.41 kB / 0.5697 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4708, allocations: 35.42 kB / 0.5697 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.4708, allocations: 7.062 kB / 0.5697 GB, free: 23.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001884/0.4727, allocations: 1.245 MB / 0.5709 GB, free: 23.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4727, allocations: 5.25 kB / 0.5709 GB, free: 23.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008403/0.4736, allocations: 177.3 kB / 0.5711 GB, free: 23.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bat.battery.integrator.q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006784/0.4743, allocations: 287.3 kB / 0.5714 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.4754, allocations: 0.5188 MB / 0.5719 GB, free: 23.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4754, allocations: 5 kB / 0.5719 GB, free: 23.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006645/0.4761, allocations: 348.5 kB / 0.5722 GB, free: 23.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4766, allocations: 74.83 kB / 0.5723 GB, free: 23.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.4802, allocations: 2.116 MB / 0.5743 GB, free: 22.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.4809, allocations: 1.094 MB / 0.5754 GB, free: 21.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.4813, allocations: 146.2 kB / 0.5756 GB, free: 21.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.4815, allocations: 67.22 kB / 0.5756 GB, free: 21.86 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4815, allocations: 0 / 0.5756 GB, free: 21.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01533/0.4968, allocations: 10.83 MB / 0.5862 GB, free: 16.74 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe 2>&1)