Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 116 kB / 17.15 MB, free: 5.91 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.001326/0.001326, allocations: 193.2 kB / 18.08 MB, free: 4.988 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.358/1.358, 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.05174/0.05174, allocations: 8.101 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/1.93e-05, allocations: 6.219 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.00204/0.002067, allocations: 1.905 MB / 417 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.003594, allocations: 1.594 MB / 418.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.003703, allocations: 4 kB / 418.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.004029, allocations: 143.2 kB / 418.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.004333, allocations: 159 kB / 418.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.00549, allocations: 0.8596 MB / 419.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.005876, allocations: 450.2 kB / 420.2 MB, free: 16.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.006055, allocations: 130.6 kB / 420.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.006149, allocations: 139.4 kB / 420.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.006334, allocations: 191.1 kB / 420.6 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.006379, allocations: 32 kB / 420.7 MB, free: 16.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.006647, allocations: 223.8 kB / 420.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002385/0.006893, allocations: 0.5873 MB / 421.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001221/0.007023, allocations: 382.5 kB / 421.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.007078, allocations: 47.88 kB / 421.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.45e-05/0.007108, allocations: 8 kB / 421.9 MB, free: 14.91 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: 52 (45) * Number of variables: 53 (53) Notification: Performance of Bindings: time 0.001074/0.008187, allocations: 2.063 MB / 424 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.588e-05/0.008259, allocations: 103.8 kB / 424.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001116/0.009382, allocations: 1.967 MB / 426 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simplify1: time 6.261e-05/0.009453, allocations: 107.9 kB / 426.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Alias: time 0.0002512/0.009711, allocations: 360.2 kB / 426.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplify2: time 5.902e-05/0.009778, allocations: 115.9 kB / 426.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002176/0.01, allocations: 360.3 kB / 427 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Events: time 0.0001362/0.01015, allocations: 119.8 kB / 427.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003233/0.01048, allocations: 481.3 kB / 427.6 MB, free: 9.074 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) flow Real lnFault.myFault.terminal.i.im slice: {} [ALGB] (1) Real lnFault.lineA.SA = lnFault.lineA.IA * 1.7320508075688772 * lnFault.lineA.UA slice: {} (1|1) Unmatched Equations *************************** [ALGO] (2) ($RES_SIM_0) [----] when time > lnFault.myFault.startTime then [----] lnFault.myFault.fault := true; [----] end when; [----] when time > lnFault.myFault.stopTime then [----] lnFault.myFault.fault := false; [----] end when; [----] when $PRE.lnFault.myFault.fault then [----] lnFault.myFault.Y := Complex.'constructor'.fromReal(lnFault.myFault.R / (lnFault.myFault.R * lnFault.myFault.R + lnFault.myFault.X * lnFault.myFault.X), -lnFault.myFault.X / (lnFault.myFault.R * lnFault.myFault.R + lnFault.myFault.X * lnFault.myFault.X)); [----] end when; [----] when not $PRE.lnFault.myFault.fault then [----] lnFault.myFault.Y := Complex(0.0, 0.0); [----] end when; slice: {1}