Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 213.1 kB / 23.06 MB, free: 4.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.7 MB / 233.9 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.05694/0.05694, allocations: 7.142 MB / 293.3 MB, free: 14.44 MB / 238.1 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricalEnergyStorage.Examples.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance") translateModel(ElectricalEnergyStorage.Examples.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.636e-05, allocations: 5.938 kB / 410.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.Impedance): time 0.005384/0.00542, allocations: 4.223 MB / 414.6 MB, free: 43.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.008207, allocations: 1.834 MB / 416.4 MB, free: 42.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.008526, allocations: 15.94 kB / 416.4 MB, free: 42.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.009277, allocations: 353.9 kB / 416.8 MB, free: 41.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.009707, allocations: 306.1 kB / 417.1 MB, free: 41.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.01018, allocations: 355.6 kB / 417.4 MB, free: 41.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.01248, allocations: 4.026 MB / 421.4 MB, free: 37.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008791/0.01336, allocations: 0.7202 MB / 422.2 MB, free: 36.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006814/0.01404, allocations: 0.8691 MB / 423 MB, free: 35.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.01472, allocations: 1.021 MB / 424.1 MB, free: 34.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.01489, allocations: 212 kB / 424.3 MB, free: 34.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.01527, allocations: 328 kB / 424.6 MB, free: 34.12 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001417/0.01668, allocations: 2.86 MB / 427.4 MB, free: 31.24 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006108/0.0173, allocations: 1.511 MB / 429 MB, free: 29.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.01744, allocations: 84 kB / 429 MB, free: 29.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001483/0.01759, allocations: 47.66 kB / 429.1 MB, free: 29.59 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 (266) * Number of variables: 312 (162) Notification: Performance of [SIM] Bindings: time 0.006922/0.02451, allocations: 10.99 MB / 440.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006807/0.0252, allocations: 0.847 MB / 440.9 MB, free: 17.43 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.002548/0.02774, allocations: 3.729 MB / 444.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008375/0.02858, allocations: 0.7142 MB / 445.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.003704/0.03229, allocations: 3.979 MB / 449.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000619/0.0329, allocations: 0.6164 MB / 450 MB, free: 7.934 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003098/0.03321, allocations: 396.2 kB / 450.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0006657/0.03388, allocations: 0.9498 MB / 451.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002037/0.03408, allocations: 172.2 kB / 451.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001065/0.03515, allocations: 1.507 MB / 453 MB, free: 4.773 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.003945/0.03909, allocations: 4.102 MB / 457.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00294/0.04203, allocations: 3.138 MB / 460.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.00328/0.04531, allocations: 1.968 MB / 462.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.006273/0.05159, allocations: 5.731 MB / 467.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0002561/0.05184, allocations: 92.48 kB / 468 MB, free: 5.426 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.001101/0.05294, allocations: 0.8784 MB / 468.9 MB, free: 4.547 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ARRY] (36) rCseriesLinear.rcseriesLinear.RC = rCseriesLinear.RC ($RES_BND_379) slice: {13, 14, 15, 16, 17, 18, 19, 20, 21, 22, ...}; [FOR-] (3) ($RES_SIM_391) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].resistor.R.SOC.kSOC = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.SOC.kSOC ($RES_SIM_392) [----] end for;; [FOR-] (3) ($RES_SIM_399) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].resistor.R.aging.kt = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.aging.kt ($RES_SIM_400) [----] end for;; [FOR-] (3) ($RES_SIM_397) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].resistor.R.aging.kQabs = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.aging.kQabs ($RES_SIM_398) [----] end for;; [FOR-] (3) ($RES_SIM_395) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].resistor.R.aging.Qini = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.aging.Qini ($RES_SIM_396) [----] end for;; [FOR-] (3) ($RES_SIM_405) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].resistor.R.temperature.alpha = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.temperature.alpha ($RES_SIM_406) [----] end for;; [FOR-] (3) ($RES_SIM_403) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].resistor.R.temperature.Tref = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.temperature.Tref ($RES_SIM_404) [----] end for;; [FOR-] (3) ($RES_SIM_411) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].capacitor.C.SOC.kSOC = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.SOC.kSOC ($RES_SIM_412) [----] end for;; [FOR-] (3) ($RES_SIM_419) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].capacitor.C.aging.kt = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.aging.kt ($RES_SIM_420) [----] end for;; [FOR-] (3) ($RES_SIM_417) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].capacitor.C.aging.kQabs = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.aging.kQabs ($RES_SIM_418) [----] end for;; [FOR-] (3) ($RES_SIM_415) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].capacitor.C.aging.Qini = rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.aging.Qini ($RES_SIM_416) [----] end for;; [FOR-] (3) ($RES_SIM_423) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.R0 = rCseriesLinear.rcseriesLinear.RC[$i1].Rd.R0 ($RES_SIM_424) [----] end for;; [FOR-] (3) ($RES_SIM_427) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.SOC.kSOC = rCseriesLinear.rcseriesLinear.RC[$i1].Rd.SOC.kSOC ($RES_SIM_428) [----] end for;; [FOR-] (3) ($RES_SIM_435) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.aging.kt = rCseriesLinear.rcseriesLinear.RC[$i1].Rd.aging.kt ($RES_SIM_436) [----] end for;; [FOR-] (3) ($RES_SIM_433) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.aging.kQabs = rCseriesLinear.rcseriesLinear.RC[$i1].Rd.aging.kQabs ($RES_SIM_434) [----] end for;; [FOR-] (3) ($RES_SIM_431) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.aging.Qini = rCseriesLinear.rcseriesLinear.RC[$i1].Rd.aging.Qini ($RES_SIM_432) [----] end for;; [FOR-] (3) ($RES_SIM_441) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.temperature.alpha = rCseriesLinear.rcseriesLinear.RC[$i1].Rd.temperature.alpha ($RES_SIM_442) [----] end for;; [FOR-] (3) ($RES_SIM_439) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Rd.temperature.Tref = rCseriesLinear.rcseriesLinear.RC[$i1].Rd.temperature.Tref ($RES_SIM_440) [----] end for;; [FOR-] (3) ($RES_SIM_445) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.C0 = rCseriesLinear.rcseriesLinear.RC[$i1].Cd.C0 ($RES_SIM_446) [----] end for;; [FOR-] (3) ($RES_SIM_449) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.SOC.kSOC = rCseriesLinear.rcseriesLinear.RC[$i1].Cd.SOC.kSOC ($RES_SIM_450) [----] end for;; [FOR-] (3) ($RES_SIM_457) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.aging.kt = rCseriesLinear.rcseriesLinear.RC[$i1].Cd.aging.kt ($RES_SIM_458) [----] end for;; [FOR-] (3) ($RES_SIM_455) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.aging.kQabs = rCseriesLinear.rcseriesLinear.RC[$i1].Cd.aging.kQabs ($RES_SIM_456) [----] end for;; [FOR-] (3) ($RES_SIM_453) [----] for $i1 in 1:3 loop [----] [SCAL] (1) rCseriesLinear.rcseriesLinear.rclinear[$i1].RC.Cd.aging.Qini = rCseriesLinear.rcseriesLinear.RC[$i1].Cd.aging.Qini ($RES_SIM_454) [----] end for;; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [RECD] (15) final parameter ElectricalEnergyStorage.CellRecords.Components.Capacitance[3] rCseriesLinear.rcseriesLinear.RC.Cd = {rCseriesLinear.RC[1].Cd, rCseriesLinear.RC[2].Cd, rCseriesLinear.RC[3].Cd} (C0(min = {0.0 for $f17 in 1:3}), SOC(kSOC), aging(Qini, kQabs, kt)) [RECD] (21) final parameter ElectricalEnergyStorage.CellRecords.Components.Resistance[3] rCseriesLinear.rcseriesLinear.RC.Rd = {rCseriesLinear.RC[1].Rd, rCseriesLinear.RC[2].Rd, rCseriesLinear.RC[3].Rd} (R0, SOC(kSOC), aging(Qini, kQabs, kt), temperature(Tref(start = {288.15 for $f10 in 1:3}, min = {0.0 for $f11 in 1:3}, nominal = {300.0 for $f9 in 1:3}), alpha)) [RECD] (15) final parameter ElectricalEnergyStorage.CellRecords.Components.Capacitance[3] rCseriesLinear.rcseriesLinear.rclinear.RC.Cd = {rCseriesLinear.rcseriesLinear.RC[1].Cd, rCseriesLinear.rcseriesLinear.RC[2].Cd, rCseriesLinear.rcseriesLinear.RC[3].Cd} (C0(min = {0.0 for $f17 in 1:3}), SOC(kSOC), aging(Qini, kQabs, kt)) [RECD] (21) final parameter ElectricalEnergyStorage.CellRecords.Components.Resistance[3] rCseriesLinear.rcseriesLinear.rclinear.RC.Rd = {rCseriesLinear.rcseriesLinear.RC[1].Rd, rCseriesLinear.rcseriesLinear.RC[2].Rd, rCseriesLinear.rcseriesLinear.RC[3].Rd} (R0, SOC(kSOC), aging(Qini, kQabs, kt), temperature(Tref(start = {288.15 for $f10 in 1:3}, min = {0.0 for $f11 in 1:3}, nominal = {300.0 for $f9 in 1:3}), alpha)) [RECD] (9) final parameter ElectricalEnergyStorage.CellRecords.Components.Aging[3] rCseriesLinear.rcseriesLinear.rclinear.capacitor.C.aging = {rCseriesLinear.rcseriesLinear.rclinear[1].RC.Cd.aging, rCseriesLinear.rcseriesLinear.rclinear[2].RC.Cd.aging, rCseriesLinear.rcseriesLinear.rclinear[3].RC.Cd.aging} (Qini, kQabs, kt) [RECD] (3) final parameter ElectricalEnergyStorage.CellRecords.Components.SOCDependency[3] rCseriesLinear.rcseriesLinear.rclinear.capacitor.C.SOC = {rCseriesLinear.rcseriesLinear.rclinear[1].RC.Cd.SOC, rCseriesLinear.rcseriesLinear.rclinear[2].RC.Cd.SOC, rCseriesLinear.rcseriesLinear.rclinear[3].RC.Cd.SOC} (kSOC) [RECD] (6) final parameter ElectricalEnergyStorage.CellRecords.Components.TemperatureDependency[3] rCseriesLinear.rcseriesLinear.rclinear.resistor.R.temperature = {rCseriesLinear.rcseriesLinear.rclinear[1].RC.Rd.temperature, rCseriesLinear.rcseriesLinear.rclinear[2].RC.Rd.temperature, rCseriesLinear.rcseriesLinear.rclinear[3].RC.Rd.temperature} (Tref(start = {288.15 for $f10 in 1:3}, min = {0.0 for $f11 in 1:3}, nominal = {300.0 for $f9 in 1:3}), alpha) [RECD] (9) final parameter ElectricalEnergyStorage.CellRecords.Components.Aging[3] rCseriesLinear.rcseriesLinear.rclinear.resistor.R.aging = {rCseriesLinear.rcseriesLinear.rclinear[1].RC.Rd.aging, rCseriesLinear.rcseriesLinear.rclinear[2].RC.Rd.aging, rCseriesLinear.rcseriesLinear.rclinear[3].RC.Rd.aging} (Qini, kQabs, kt) [RECD] (3) final parameter ElectricalEnergyStorage.CellRecords.Components.SOCDependency[3] rCseriesLinear.rcseriesLinear.rclinear.resistor.R.SOC = {rCseriesLinear.rcseriesLinear.rclinear[1].RC.Rd.SOC, rCseriesLinear.rcseriesLinear.rclinear[2].RC.Rd.SOC, rCseriesLinear.rcseriesLinear.rclinear[3].RC.Rd.SOC} (kSOC) Following equations were created by fixing variables: [ARRY] (3) rCseriesLinear.rcseriesLinear.rclinear.capacitor.variableCapacitor.Q = $START.rCseriesLinear.rcseriesLinear.rclinear.capacitor.variableCapacitor.Q ($RES_SRT_459) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4588640769943595] Failed to read output from testmodel.py, exit status != 0: 0.07164920499781147 0.08681979799999995 0.06611884899999994 Calling exit ...