Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.conf.json 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 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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 109.9 kB / 17.14 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 194.6 kB / 18.07 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04605/0.04605, allocations: 8.102 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.604e-05, allocations: 2.281 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.003172/0.00321, allocations: 2.45 MB / 417.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.005685, allocations: 1.715 MB / 419.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.006092, allocations: 4 kB / 419.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.006644, allocations: 163 kB / 419.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006822/0.007366, allocations: 218.7 kB / 419.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.008992, allocations: 1.018 MB / 420.7 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007344/0.009735, allocations: 0.5953 MB / 421.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.01001, allocations: 163.8 kB / 421.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.01031, allocations: 203.2 kB / 421.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.01068, allocations: 262.8 kB / 421.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.57e-05/0.01077, allocations: 43.94 kB / 421.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.01122, allocations: 255.8 kB / 422.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000464/0.0117, allocations: 0.8153 MB / 423 MB, free: 13.85 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002851/0.01199, allocations: 0.5199 MB / 423.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.01215, allocations: 59.81 kB / 423.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.852e-05/0.0122, allocations: 8 kB / 423.6 MB, free: 13.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 (62) * Number of variables: 73 (73) Notification: Performance of Bindings: time 0.001989/0.0142, allocations: 2.763 MB / 426.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001516/0.01436, allocations: 143.7 kB / 426.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002079/0.01644, allocations: 2.741 MB / 429.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001408/0.01659, allocations: 167.8 kB / 429.4 MB, free: 7.297 MB / 302.1 MB Notification: Performance of Alias: time 0.0003633/0.01696, allocations: 460.7 kB / 429.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simplify2: time 8.359e-05/0.01705, allocations: 167.8 kB / 430 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Events: time 0.0001688/0.01723, allocations: 171.7 kB / 430.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002951/0.01753, allocations: 487.4 kB / 430.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004781/0.01802, allocations: 0.654 MB / 431.3 MB, free: 5.316 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real load.S = load.I * 1.7320508075688772 * load.U slice: {} [DISC] (1) discrete Real line2.myFault.Y.im (start = 0.0) slice: {} (1|1) Unmatched Equations *************************** [ALGO] (2) ($RES_SIM_0) [----] when time > line2.myFault.startTime then [----] line2.myFault.fault := true; [----] end when; [----] when time > line2.myFault.stopTime then [----] line2.myFault.fault := false; [----] end when; [----] when $PRE.line2.myFault.fault then [----] line2.myFault.Y := Complex.'constructor'.fromReal(line2.myFault.R / (line2.myFault.R * line2.myFault.R + line2.myFault.X * line2.myFault.X), -line2.myFault.X / (line2.myFault.R * line2.myFault.R + line2.myFault.X * line2.myFault.X)); [----] end when; [----] when not $PRE.line2.myFault.fault then [----] line2.myFault.Y := Complex(0.0, 0.0); [----] end when; slice: {1}