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.001121/0.001121, allocations: 112.3 kB / 17.14 MB, free: 5.949 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.001139/0.001139, allocations: 197.4 kB / 18.08 MB, free: 5.023 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.29/1.29, allocations: 222.9 MB / 241.8 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04882/0.04882, allocations: 8.112 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.296e-05, allocations: 2.281 kB / 415.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.003213/0.003244, allocations: 2.45 MB / 417.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.006092, allocations: 1.718 MB / 419.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.006624, allocations: 4 kB / 419.3 MB, free: 17.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.007238, allocations: 163 kB / 419.4 MB, free: 17.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007148/0.007982, allocations: 210.7 kB / 419.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.00974, allocations: 1.027 MB / 420.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009345/0.01068, allocations: 0.5954 MB / 421.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.01099, allocations: 159.9 kB / 421.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.01132, allocations: 199.1 kB / 421.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.01174, allocations: 258.8 kB / 421.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.01184, allocations: 47.94 kB / 421.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.01241, allocations: 251.8 kB / 422.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005124/0.01293, allocations: 0.8153 MB / 423 MB, free: 13.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003021/0.01324, allocations: 0.5121 MB / 423.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.01339, allocations: 75.75 kB / 423.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.07e-05/0.01346, allocations: 8 kB / 423.6 MB, free: 13.27 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.002019/0.01548, allocations: 2.759 MB / 426.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001812/0.01567, allocations: 131.7 kB / 426.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002242/0.01792, allocations: 2.753 MB / 429.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002001/0.01813, allocations: 163.8 kB / 429.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of Alias: time 0.0003981/0.01853, allocations: 464.7 kB / 429.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001219/0.01866, allocations: 163.8 kB / 430 MB, free: 6.664 MB / 302.1 MB Notification: Performance of Detect States: time 0.00037/0.01904, allocations: 475.3 kB / 430.4 MB, free: 6.184 MB / 302.1 MB Notification: Performance of Events: time 0.0002757/0.01933, allocations: 179.8 kB / 430.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006207/0.01996, allocations: 0.6541 MB / 431.3 MB, free: 5.344 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}