Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA.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.001364/0.001364, allocations: 100.8 kB / 19.76 MB, free: 1.91 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 8.059 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.001592/0.001592, allocations: 208.9 kB / 310.1 MB, free: 2.902 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.5645/0.5645, allocations: 107.2 MB / 473.7 MB, free: 4.477 MB / 334.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.UniversityCampus.CampusA.CampusGridA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA") translateModel(OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.119e-05, allocations: 2.281 kB / 0.6343 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA): time 0.04484/0.04486, allocations: 36.84 MB / 0.6703 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04603/0.0909, allocations: 25.14 MB / 0.6949 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008949/0.09985, allocations: 135.5 kB / 0.695 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01678/0.1166, allocations: 4.944 MB / 0.6998 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.284/0.4006, allocations: 5.168 MB / 0.7049 GB, free: 14.53 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:114:3-118:9:writable] Warning: In relation STGA.exciter.K_P == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:114:3-118:9:writable] Warning: In relation STGA.exciter.K_I == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:92:3-108:9:writable] Warning: In relation STGA.exciter.K_P == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:92:3-108:9:writable] Warning: In relation STGA.exciter.K_I == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.4127, allocations: 4.911 MB / 0.7097 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02584/0.4386, allocations: 19.28 MB / 0.7285 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006822/0.4454, allocations: 2.092 MB / 0.7305 GB, free: 9.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01301/0.4584, allocations: 6.577 MB / 0.737 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.4689, allocations: 6.428 MB / 0.7432 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005352/0.4742, allocations: 1.42 MB / 0.7446 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/0.4854, allocations: 3.555 MB / 0.7481 GB, free: 3.785 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.03122/0.5166, allocations: 28.9 MB / 0.7763 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0176/0.5342, allocations: 16.9 MB / 0.7928 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004859/0.5391, allocations: 0.72 MB / 0.7935 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.002196/0.5413, allocations: 373.8 kB / 0.7939 GB, free: 12.52 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1601 (1506) * Number of variables: 1601 (1595) Notification: Performance of [SIM] Bindings: time 0.08628/0.6276, allocations: 71.27 MB / 0.8635 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.01494/0.6425, allocations: 7.139 MB / 0.8705 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.06424/0.7067, allocations: 47.33 MB / 0.9167 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of [SIM] Simplify 1: time 0.01296/0.7197, allocations: 5.933 MB / 0.9225 GB, free: 11.05 MB / 0.6544 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.06392/0.7836, allocations: 39.63 MB / 0.9612 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of [SIM] Simplify 2: time 0.2987/1.082, allocations: 4.811 MB / 0.9659 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of [SIM] Remove Stream: time 0.005713/1.088, allocations: 2.535 MB / 0.9683 GB, free: 151.4 MB / 0.6856 GB Notification: Performance of [SIM] Detect States: time 0.01986/1.108, allocations: 7.014 MB / 0.9752 GB, free: 150.8 MB / 0.6856 GB Notification: Performance of [SIM] Events: time 0.00771/1.116, allocations: 3.244 MB / 0.9784 GB, free: 150.2 MB / 0.6856 GB Notification: Performance of [SIM] Partitioning: time 0.02714/1.143, allocations: 11.4 MB / 0.9895 GB, free: 149.6 MB / 0.6856 GB Notification: Performance of [SIM] Causalize: time 0.04404/1.187, allocations: 21.26 MB / 1.01 GB, free: 146.8 MB / 0.6856 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.03162/1.218, allocations: 24.03 MB / 1.034 GB, free: 133.1 MB / 0.6856 GB Notification: Performance of [INI] Simplify: time 0.055/1.273, allocations: 26.68 MB / 1.06 GB, free: 117.7 MB / 0.6856 GB Notification: Performance of [INI] Inline: time 0.0704/1.344, allocations: 57.02 MB / 1.115 GB, free: 64.94 MB / 0.6856 GB Notification: Performance of [INI] Partitioning: time 0.003918/1.348, allocations: 0.7827 MB / 1.116 GB, free: 64.09 MB / 0.6856 GB Notification: Performance of [INI] Cleanup: time 0.01752/1.365, allocations: 11.22 MB / 1.127 GB, free: 52.9 MB / 0.6856 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) STGB.guData.guDynamics.machine.Xpp = STGB.guData.guDynamics.machine.Xppd ($RES_BND_3784); [SCAL] (1) STGB.guData.guDynamics.machine.Xpp = STGB.guData.guDynamics.machine.Xppd ($RES_BND_3783); [SCAL] (1) STGA.guData.guDynamics.machine.Xpp = STGA.guData.guDynamics.machine.Xppd ($RES_BND_3773); [SCAL] (1) STGA.guData.guDynamics.machine.Xpp = STGA.guData.guDynamics.machine.Xppd ($RES_BND_3772); [SCAL] (1) CTA.guData.guDynamics.machine.Xpp = CTA.guData.guDynamics.machine.Xppd ($RES_BND_3762); [SCAL] (1) CTA.guData.guDynamics.machine.Xpp = CTA.guData.guDynamics.machine.Xppd ($RES_BND_3761); [SCAL] (1) CTB.guData.guDynamics.machine.Xpp = CTB.guData.guDynamics.machine.Xppd ($RES_BND_3750); [SCAL] (1) CTB.guData.guDynamics.machine.Xpp = CTB.guData.guDynamics.machine.Xppd ($RES_BND_3749); Notification: Performance of [INI] Causalize: time 0.6804/2.046, allocations: 170.9 MB / 1.294 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 0.09282/2.139, allocations: 51.37 MB / 1.344 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 2.705e-06/2.139, allocations: 4 kB / 1.344 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 9.687e-05/2.139, allocations: 15.03 kB / 1.344 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 0.02784/2.166, allocations: 20.01 MB / 1.364 GB, free: 89.18 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 8.695e-05/2.167, allocations: 38.16 kB / 1.364 GB, free: 89.15 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.04499/2.212, allocations: 27.2 MB / 1.39 GB, free: 71.76 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 0.1173/2.329, allocations: 89.34 MB / 1.478 GB, free: 4.613 MB / 0.7481 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 3 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 2 * Number of algebraic event partitions: ......... 8 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 57 (57) {CTB.machine.w, CTB.machine.ANGLE, CTB.exciter.imDerivativeLag.x, CTB.exciter.TransducerDelay.state, CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.w, CTB.exciter.pID_No_Windup.derivative.y, CTB.exciter.pID_No_Windup.integral.y, CTB.exciter.pI_No_Windup.integral.y, CTB.governor.transferFunction1.x_scaled, CTB.governor.transferFunction2.x_scaled, CTB.governor.simpleLagLim.state, CTA.machine.w, CTA.machine.ANGLE, CTA.exciter.VA.state, CTA.exciter.VR1.y, CTA.exciter.VM1.y, CTA.exciter.TransducerDelay.state, CTA.governor.transferFunction1.x_scaled, CTA.governor.transferFunction2.x_scaled, CTA.governor.simpleLagLim.state, STGA.machine.w, STGA.machine.ANGLE, STGA.exciter.TransducerDelay.state, STGA.exciter.imDerivativeLag.x, STGA.exciter.simpleLagLim.state, STGA.exciter.integratorLimVar.w, STGA.governor.imLeadLag.TF.x_scaled, STGA.governor.simpleLagLim.state, STGB.machine.w, STGB.machine.ANGLE, STGB.exciter.imDerivativeLag.x, STGB.exciter.TransducerDelay.state, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.w, STGB.exciter.pID_No_Windup.derivative.y, STGB.exciter.pID_No_Windup.integral.y, STGB.exciter.pI_No_Windup.integral.y, STGB.governor.imLeadLag.TF.x_scaled, STGB.governor.simpleLagLim.state, UTILITY.delta, UTILITY.omega, UTILITY.eq, CTB.machine.Epd, CTB.machine.Epq, CTB.machine.PSIkd, CTB.machine.PSIkq, CTA.machine.Epd, CTA.machine.Epq, CTA.machine.PSIkd, CTA.machine.PSIkq, STGA.machine.Epd, STGA.machine.Epq, STGA.machine.PSIkd, STGA.machine.PSIkq, STGB.machine.Epd, STGB.machine.Epq, STGB.machine.PSIkd, STGB.machine.PSIkq} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 191 (191) {CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper, CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower, CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising, CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling, CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit, CTB.exciter.pID_No_Windup.reset_switch.u2, CTB.exciter.pI_No_Windup.reset_switch.u2, STGA.exciter.integratorLimVar.ReachUpper, STGA.exciter.integratorLimVar.ReachLower, STGA.exciter.integratorLimVar.Rising, STGA.exciter.integratorLimVar.Falling, STGA.exciter.integratorLimVar.Reinit, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit, STGB.exciter.pID_No_Windup.reset_switch.u2, STGB.exciter.pI_No_Windup.reset_switch.u2, BreakerMicrogrid.Open, $SEV_113, $SEV_112, $SEV_111, $SEV_110, $SEV_109, $SEV_108, $SEV_107, $SEV_106, $SEV_105, $SEV_104, $SEV_103, $SEV_102, $SEV_101, $SEV_100, $SEV_99, $SEV_98, $SEV_97, $SEV_96, $SEV_95, $SEV_94, $SEV_93, $SEV_92, $SEV_91, $SEV_90, $SEV_89, $SEV_88, $SEV_87, $SEV_86, $SEV_85, $SEV_84, $SEV_83, $SEV_82, $SEV_81, $SEV_80, $SEV_79, $SEV_78, $SEV_77, $SEV_76, $SEV_75, $SEV_74, $SEV_73, $SEV_72, $SEV_71, $SEV_70, $SEV_69, $SEV_68, $SEV_67, $SEV_66, $SEV_65, $SEV_64, $SEV_63, $SEV_62, $SEV_61, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_56, $TEV_55, $TEV_54, $TEV_53, $TEV_52, $TEV_51, $TEV_50, $TEV_49, $TEV_48, $TEV_47, $TEV_46, $TEV_45, $TEV_44, $TEV_43, $TEV_42, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $TEV_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 2) ---------------------------------------------------------------------- ### Variables: [ALGB] (1) Real UTILITY.iq (start = UTILITY.iq0) [ALGB] (1) Real UTILITY.id (start = UTILITY.id0) ### Equation: [ARRY] (2) {{UTILITY.p.ir}, {UTILITY.p.ii}} = -UTILITY.CoB * {{$FUN_104, $FUN_105}, {-$FUN_105, $FUN_104}} * {{UTILITY.id}, {UTILITY.iq}} ($RES_SIM_130) Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 520 (scalar:512, array:8, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:0, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 11 (linear: 7, nonlinear:4) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 2) ---------------------------------------------------------------------- ### Variables: [ALGB] (1) Real UTILITY.iq (start = UTILITY.iq0) [ALGB] (1) Real UTILITY.id (start = UTILITY.id0) ### Equation: [ARRY] (2) {{UTILITY.p.ir}, {UTILITY.p.ii}} = -UTILITY.CoB * {{$FUN_104, $FUN_105}, {-$FUN_105, $FUN_104}} * {{UTILITY.id}, {UTILITY.iq}} ($RES_SIM_130) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1744 (scalar:1736, array:8, record:0) * Number of multi strong components: ............ 5 (algorithm:2, when:0, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 1, nonlinear:4) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 2) ---------------------------------------------------------------------- ### Variables: [ALGB] (1) Real UTILITY.iq (start = UTILITY.iq0) [ALGB] (1) Real UTILITY.id (start = UTILITY.id0) ### Equation: [ARRY] (2) {{UTILITY.p.ir}, {UTILITY.p.ii}} = -UTILITY.CoB * {{$FUN_104, $FUN_105}, {-$FUN_105, $FUN_104}} * {{UTILITY.id}, {UTILITY.iq}} ($RES_SIM_130) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1762 (scalar:1754, array:8, record:0) * Number of multi strong components: ............ 5 (algorithm:2, when:0, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 1, nonlinear:4) Notification: Performance of backend: time 0.001619/2.33, allocations: 0.658 MB / 1.478 GB, free: 3.938 MB / 0.7481 GB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.UNPROCESSED for [ARRY] (2) {{UTILITY.p.ir}, {UTILITY.p.ii}} = -UTILITY.CoB * {{$FUN_104, $FUN_105}, {-$FUN_105, $FUN_104}} * {{UTILITY.id}, {UTILITY.iq}} ($RES_SIM_130) " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 5.467575941234827] Failed to read output from testmodel.py, exit status != 0: 2.36259391810745 2.376585927 1.831933754 Calling exit ...