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.001267/0.001267, allocations: 115.2 kB / 17.14 MB, free: 5.922 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.001185/0.001185, allocations: 197.3 kB / 18.08 MB, free: 5 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.283/1.283, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05038/0.05038, allocations: 8.1 MB / 300 MB, free: 6.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.349e-05, allocations: 6.219 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002052/0.002084, allocations: 1.919 MB / 417 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.003655, allocations: 1.594 MB / 418.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.003771, allocations: 8 kB / 418.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.004108, allocations: 135.2 kB / 418.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.004414, allocations: 151 kB / 418.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.005649, allocations: 0.8635 MB / 419.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.006054, allocations: 450.3 kB / 420.2 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.006242, allocations: 122.6 kB / 420.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.006342, allocations: 147.4 kB / 420.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.006543, allocations: 191.1 kB / 420.6 MB, free: 16.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.006586, allocations: 36 kB / 420.7 MB, free: 16.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.006858, allocations: 215.8 kB / 420.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000288/0.007153, allocations: 0.5873 MB / 421.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000123/0.007283, allocations: 386.5 kB / 421.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.00734, allocations: 47.88 kB / 421.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.712e-05/0.007372, allocations: 4 kB / 421.9 MB, free: 14.9 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.00118/0.008557, allocations: 2.063 MB / 424 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.564e-05/0.008639, allocations: 103.8 kB / 424.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001272/0.009917, allocations: 1.959 MB / 426 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplify1: time 7.352e-05/0.01, allocations: 111.9 kB / 426.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Alias: time 0.0002552/0.01026, allocations: 360.2 kB / 426.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simplify2: time 6.671e-05/0.01033, allocations: 115.9 kB / 426.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Events: time 0.000141/0.01048, allocations: 123.8 kB / 426.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002468/0.01073, allocations: 372.5 kB / 427.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000367/0.01111, allocations: 473.3 kB / 427.6 MB, free: 9.051 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}