Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid.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.001651/0.001651, allocations: 104.3 kB / 19.72 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 253.4 MB, free: 14.3 MB / 206.1 MB " [Timeout remaining time 178] 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.001599/0.001599, allocations: 218.1 kB / 310 MB, free: 3.07 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6116/0.6116, allocations: 101.3 MB / 467.7 MB, free: 31.99 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid") translateModel(OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.649e-05, allocations: 2.281 kB / 0.6255 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Microgrids.IEEEMicrogrid.IEEEMicrogrid): time 0.02599/0.02601, allocations: 28.37 MB / 0.6532 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02329/0.0493, allocations: 12.13 MB / 0.665 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008102/0.05741, allocations: 186.2 kB / 0.6652 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005142/0.06255, allocations: 1.451 MB / 0.6666 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.07304, allocations: 2.62 MB / 0.6692 GB, free: 0.5352 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor1.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor1.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor1.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor1.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:106:3-106:158:writable] Warning: In relation Motor1.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:106:3-106:158:writable] Warning: In relation Motor1.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor1.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor1.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor1.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor1.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor2.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor2.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor2.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:105:3-105:243:writable] Warning: In relation Motor2.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:106:3-106:158:writable] Warning: In relation Motor2.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:106:3-106:158:writable] Warning: In relation Motor2.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor2.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor2.X2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor2.R2 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Machines/PSSE/CIM5.mo:107:3-107:227:writable] Warning: In relation Motor2.X2 == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.01194/0.08498, allocations: 4.673 MB / 0.6738 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02016/0.1051, allocations: 13.05 MB / 0.6865 GB, free: 488 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00609/0.1112, allocations: 1.769 MB / 0.6882 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008227/0.1195, allocations: 4.633 MB / 0.6927 GB, free: 9.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006735/0.1262, allocations: 4.227 MB / 0.6969 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003156/0.1293, allocations: 0.9492 MB / 0.6978 GB, free: 4.785 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.1339, allocations: 1.351 MB / 0.6991 GB, free: 3.434 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.01903/0.1529, allocations: 17.02 MB / 0.7157 GB, free: 2.25 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.009694/0.1626, allocations: 10.21 MB / 0.7257 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.1648, allocations: 468 kB / 0.7262 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.001945/0.1667, allocations: 357.6 kB / 0.7265 GB, free: 7.094 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1322 (1279) * Number of variables: 1322 (1320) Notification: Performance of [SIM] Bindings: time 0.04051/0.2072, allocations: 37.27 MB / 0.7629 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.006801/0.214, allocations: 4.848 MB / 0.7676 GB, free: 12.23 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.03372/0.2477, allocations: 27.18 MB / 0.7942 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of [SIM] Simplify 1: time 0.008955/0.2567, allocations: 4.104 MB / 0.7982 GB, free: 12.7 MB / 0.5762 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.2988/0.5555, allocations: 30.51 MB / 0.828 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 2: time 0.006401/0.5619, allocations: 3.126 MB / 0.831 GB, free: 95.44 MB / 0.5762 GB Notification: Performance of [SIM] Remove Stream: time 0.002851/0.5647, allocations: 1.612 MB / 0.8326 GB, free: 95.2 MB / 0.5762 GB Notification: Performance of [SIM] Detect States: time 0.004105/0.5688, allocations: 4.376 MB / 0.8369 GB, free: 94.77 MB / 0.5762 GB Notification: Performance of [SIM] Events: time 0.003342/0.5722, allocations: 2.378 MB / 0.8392 GB, free: 94.42 MB / 0.5762 GB Notification: Performance of [SIM] Partitioning: time 0.008878/0.581, allocations: 7.445 MB / 0.8465 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of [SIM] Causalize: time 0.01854/0.5996, allocations: 14.71 MB / 0.8608 GB, free: 90.48 MB / 0.5762 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01118/0.6108, allocations: 15.26 MB / 0.8757 GB, free: 78.33 MB / 0.5762 GB Notification: Performance of [INI] Simplify: time 0.02136/0.6321, allocations: 13.28 MB / 0.8887 GB, free: 65.6 MB / 0.5762 GB Notification: Performance of [INI] Inline: time 0.0222/0.6543, allocations: 30.01 MB / 0.918 GB, free: 35.88 MB / 0.5762 GB Notification: Performance of [INI] Partitioning: time 0.001502/0.6558, allocations: 463.9 kB / 0.9184 GB, free: 35.37 MB / 0.5762 GB Notification: Performance of [INI] Cleanup: time 0.006043/0.6619, allocations: 6.178 MB / 0.9245 GB, free: 29.24 MB / 0.5762 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (1) parameter Real PF_results.voltages.A6 = 5.7642378340378525e-5 (fixed = true, start = 5.7642378340378525e-5), [PRMT] (1) parameter Real PF_results.voltages.V3 = 1.0 (fixed = true, start = 1.0), [PRMT] (1) parameter Real PF_results.voltages.A2 = 2.3083166181516365e-5 (fixed = true, start = 2.3083166181516365e-5), [PRMT] (1) parameter Real PF_results.machines.QInf = 12100.0 (fixed = true, start = 12100.0), [PRMT] (1) parameter Real PF_results.machines.PInf = -40500.0 (fixed = true, start = -40500.0), [PRMT] (1) parameter Real Bus3.angle_0 = PF_results.voltages.A3 (fixed = true), [PRMT] (1) parameter Real Bus2.v_0 = PF_results.voltages.V2 (fixed = true), [PRMT] (1) parameter Real Bus5.angle_0 = PF_results.voltages.A5 (fixed = true), [PRMT] (1) parameter Real Bus6.v_0 = PF_results.voltages.V6 (fixed = true), [PRMT] (1) parameter Real BusGrid.v_0 = PF_results.voltages.V1 (fixed = true), [PRMT] (1) parameter Real BusGrid.angle_0 = PF_results.voltages.A1 (fixed = true), [PRMT] (1) parameter Real aC2DCandDC2AC1.v_0 = PF_results.voltages.V7 (fixed = true), [PRMT] (1) parameter Real aC2DCandDC2AC1.angle_0 = PF_results.voltages.A7 (fixed = true) Following equations were created by fixing variables: [SCAL] (1) load.S_P.im = $START.load.S_P.im ($RES_SRT_2536) [SCAL] (1) load.S_P.re = $START.load.S_P.re ($RES_SRT_2535) [SCAL] (1) load.S_I.im = $START.load.S_I.im ($RES_SRT_2534) [SCAL] (1) Diesel.sEXS.V_REF = $START.Diesel.sEXS.V_REF ($RES_SRT_2533) [SCAL] (1) Motor2.Eki = $START.Motor2.Eki ($RES_SRT_2532) [SCAL] (1) Motor2.Ekr = $START.Motor2.Ekr ($RES_SRT_2531) [SCAL] (1) Motor2.Epi = $START.Motor2.Epi ($RES_SRT_2530) [SCAL] (1) Motor2.Epr = $START.Motor2.Epr ($RES_SRT_2529) [SCAL] (1) aC2DCandDC2AC1.switch.i = $START.aC2DCandDC2AC1.switch.i ($RES_SRT_2528) [SCAL] (1) BESS.RenewableController.simpleLag1.state = BESS.RenewableController.simpleLag1.y_start ($RES_SRT_2527) [SCAL] (1) BESS.RenewableController.integrator4.y = $START.BESS.RenewableController.integrator4.y ($RES_SRT_2526) [SCAL] (1) BESS.RenewableController.limiter8.simplifiedExpr = $START.BESS.RenewableController.limiter8.simplifiedExpr ($RES_SRT_2525) [SCAL] (1) PV.RenewableController.limiter8.simplifiedExpr = $START.PV.RenewableController.limiter8.simplifiedExpr ($RES_SRT_2524) [SCAL] (1) PV.RenewableController.simpleLag1.state = PV.RenewableController.simpleLag1.y_start ($RES_SRT_2523) [SCAL] (1) PV.RenewableController.integrator2.y = $START.PV.RenewableController.integrator2.y ($RES_SRT_2522) [SCAL] (1) Motor1.Eki = $START.Motor1.Eki ($RES_SRT_2521) [SCAL] (1) Motor1.Ekr = $START.Motor1.Ekr ($RES_SRT_2520) [SCAL] (1) Motor1.Epi = $START.Motor1.Epi ($RES_SRT_2519) [SCAL] (1) Motor1.Epr = $START.Motor1.Epr ($RES_SRT_2518) [SCAL] (1) Diesel.dEGOV.simpleLagLim.state = $START.Diesel.dEGOV.simpleLagLim.state ($RES_SRT_2517) [SCAL] (1) Diesel.gENROE.PSIkd = Diesel.gENROE.PSIkd0 ($RES_SRT_2516) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.9288197429850698] Failed to read output from testmodel.py, exit status != 0: 0.6987157841213048 0.712671547 0.542638296 Calling exit ...