Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri") translateModel(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_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.00131/0.001311, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.374/1.374, allocations: 222.9 MB / 240.1 MB, free: 4.539 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.001293/0.001293, allocations: 192.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.474/0.474, allocations: 78.53 MB / 419.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.698e-05, allocations: 8.609 kB / 0.5542 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4_MonoTri): time 0.3025/0.3025, allocations: 4.881 MB / 0.559 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.3175, allocations: 13.13 MB / 0.5718 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.3184, allocations: 4.938 kB / 0.5718 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.3189, allocations: 161.3 kB / 0.5719 GB, free: 30 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02555/0.3445, allocations: 17.98 MB / 0.5895 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.346, allocations: 484.2 kB / 0.5899 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.3478, allocations: 1.372 MB / 0.5913 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.3483, allocations: 306.7 kB / 0.5916 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.3489, allocations: 0.5525 MB / 0.5921 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007728/0.3497, allocations: 0.7117 MB / 0.5928 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.3499, allocations: 100.1 kB / 0.5929 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02959/0.3795, allocations: 19.79 MB / 0.6122 GB, free: 19.1 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001196/0.3807, allocations: 1.77 MB / 0.614 GB, free: 17.31 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003645/0.3811, allocations: 1.051 MB / 0.615 GB, free: 16.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.3814, allocations: 143.4 kB / 0.6151 GB, free: 16.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0003452/0.3817, allocations: 20 kB / 0.6152 GB, free: 16.08 MB / 430.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.003039/0.3848, allocations: 4.611 MB / 0.6197 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0004879/0.3853, allocations: 488.5 kB / 0.6201 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001932/0.3872, allocations: 2.919 MB / 0.623 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001473/0.3874, allocations: 220.3 kB / 0.6232 GB, free: 7.73 MB / 430.1 MB Notification: Performance of Alias: time 0.002854/0.3902, allocations: 3.539 MB / 0.6266 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simplify2: time 0.0001204/0.3904, allocations: 187.8 kB / 0.6268 GB, free: 3.66 MB / 430.1 MB Notification: Performance of Events: time 0.0001378/0.3905, allocations: 200.4 kB / 0.627 GB, free: 3.461 MB / 430.1 MB Notification: Performance of Detect States: time 0.0002918/0.3908, allocations: 490.9 kB / 0.6275 GB, free: 2.973 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0005201/0.3913, allocations: 0.7228 MB / 0.6282 GB, free: 2.242 MB / 430.1 MB Notification: Performance of Causalize: time 0.004325/0.3957, allocations: 4.288 MB / 0.6324 GB, free: 13.98 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001848/0.3975, allocations: 1.858 MB / 0.6342 GB, free: 12.09 MB / 446.1 MB Notification: Performance of Inline: time 0.004989/0.4025, allocations: 4.569 MB / 0.6386 GB, free: 7.457 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001963/0.4027, allocations: 155.7 kB / 0.6388 GB, free: 7.289 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0001523/0.4029, allocations: 163.8 kB / 0.639 GB, free: 7.129 MB / 446.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.0218/0.4247, allocations: 19.04 MB / 0.6575 GB, free: 3.973 MB / 462.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!