Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri") translateModel(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.534/1.534, allocations: 222.9 MB / 240.1 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002572/0.002573, allocations: 192.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6229/0.6229, allocations: 91.9 MB / 432.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.071e-05, allocations: 6.312 kB / 0.5733 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri): time 0.005097/0.005137, allocations: 4.903 MB / 0.5781 GB, free: 30.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.02132, allocations: 13.13 MB / 0.5909 GB, free: 21.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009074/0.02226, allocations: 6.938 kB / 0.5909 GB, free: 21.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.02286, allocations: 167.4 kB / 0.5911 GB, free: 21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02888/0.05176, allocations: 17.98 MB / 0.6086 GB, free: 18.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.05311, allocations: 492.6 kB / 0.6091 GB, free: 18.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.05475, allocations: 1.37 MB / 0.6104 GB, free: 17.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003892/0.05515, allocations: 299.6 kB / 0.6107 GB, free: 16.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005997/0.05575, allocations: 0.5625 MB / 0.6113 GB, free: 16.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.05639, allocations: 0.7102 MB / 0.612 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.05651, allocations: 103.9 kB / 0.6121 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02379/0.08031, allocations: 19.8 MB / 0.6314 GB, free: 15.38 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001797/0.08215, allocations: 1.763 MB / 0.6331 GB, free: 13.6 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007454/0.08292, allocations: 1.044 MB / 0.6341 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.08323, allocations: 147.4 kB / 0.6343 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0003122/0.08355, allocations: 24 kB / 0.6343 GB, free: 12.37 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 (138) * Number of variables: 185 (151) Notification: Performance of Bindings: time 0.004596/0.08815, allocations: 4.607 MB / 0.6388 GB, free: 7.59 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0005726/0.08873, allocations: 489.1 kB / 0.6393 GB, free: 7.113 MB / 446.1 MB Notification: Performance of Early Inline: time 0.002819/0.09156, allocations: 2.935 MB / 0.6421 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simplify1: time 0.00024/0.09182, allocations: 219.8 kB / 0.6423 GB, free: 3.922 MB / 446.1 MB Notification: Performance of Alias: time 0.004434/0.09626, allocations: 3.539 MB / 0.6458 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simplify2: time 0.0002525/0.09653, allocations: 179.7 kB / 0.646 GB, free: 15.77 MB / 462.1 MB Notification: Performance of Events: time 0.0002272/0.09677, allocations: 204.4 kB / 0.6462 GB, free: 15.57 MB / 462.1 MB Notification: Performance of Detect States: time 0.0004396/0.09722, allocations: 487.2 kB / 0.6466 GB, free: 15.08 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0008269/0.09805, allocations: 0.7101 MB / 0.6473 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Causalize: time 0.005209/0.1033, allocations: 4.28 MB / 0.6515 GB, free: 10.05 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.001866/0.1052, allocations: 1.877 MB / 0.6533 GB, free: 8.145 MB / 462.1 MB Notification: Performance of Inline: time 0.005049/0.1102, allocations: 4.554 MB / 0.6578 GB, free: 3.527 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002177/0.1105, allocations: 151.7 kB / 0.6579 GB, free: 3.363 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001836/0.1107, allocations: 163.8 kB / 0.6581 GB, free: 3.203 MB / 462.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) Line1.Z.re = 0.0 ($RES_SIM_238) slice: {}; [SCAL] (1) Line1.Z.im = 0.0 ($RES_SIM_239) slice: {}; [SCAL] (1) Line1.Y.re = 0.0 ($RES_SIM_240) slice: {}; [SCAL] (1) Line1.Y.im = 0.0 ($RES_SIM_241) slice: {}; Notification: Performance of Causalize: time 0.02422/0.1349, allocations: 19.06 MB / 0.6767 GB, free: 16.01 MB / 494.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if $TEV_2 then [RECD] (2) Line1.ir = Complex(0.0, 0.0) ($RES_SIM_45) [RECD] (2) Line1.is = Complex(0.0, 0.0) ($RES_SIM_46) else [RECD] (2) Complex.'constructor'.fromReal(Line1.vr.re - Line1.vs.re, Line1.vr.im - Line1.vs.im) = Complex.'constructor'.fromReal(Line1.Z.re * ((Line1.ir.re + Line1.vr.im * Line1.Y.im) - Line1.vr.re * Line1.Y.re) - Line1.Z.im * (Line1.ir.im - (Line1.vr.re * Line1.Y.im + Line1.vr.im * Line1.Y.re)), Line1.Z.re * (Line1.ir.im - (Line1.vr.re * Line1.Y.im + Line1.vr.im * Line1.Y.re)) + Line1.Z.im * ((Line1.ir.re + Line1.vr.im * Line1.Y.im) - Line1.vr.re * Line1.Y.re)) ($RES_SIM_47) [RECD] (2) Complex.'constructor'.fromReal(Line1.vs.re - Line1.vr.re, Line1.vs.im - Line1.vr.im) = Complex.'constructor'.fromReal(Line1.Z.re * ((Line1.is.re + Line1.vs.im * Line1.Y.im) - Line1.vs.re * Line1.Y.re) - Line1.Z.im * (Line1.is.im - (Line1.vs.re * Line1.Y.im + Line1.vs.im * Line1.Y.re)), Line1.Z.re * (Line1.is.im - (Line1.vs.re * Line1.Y.im + Line1.vs.im * Line1.Y.re)) + Line1.Z.im * ((Line1.is.re + Line1.vs.im * Line1.Y.im) - Line1.vs.re * Line1.Y.re)) ($RES_SIM_48) end if; Error: Internal error NBInitialization.main failed to apply modules!