Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.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.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test") translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 110.4 kB / 16.42 MB, free: 6.039 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.393/1.393, 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.001317/0.001317, allocations: 187.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4783/0.4783, allocations: 78.53 MB / 419.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.59e-05, allocations: 5.375 kB / 0.5542 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.2741/0.2742, allocations: 4.481 MB / 0.5586 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.2766, allocations: 1.23 MB / 0.5598 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.277, allocations: 6.5 kB / 0.5598 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.2773, allocations: 125.9 kB / 0.5599 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.2778, allocations: 257.9 kB / 0.5601 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.2788, allocations: 0.5025 MB / 0.5606 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008515/0.2797, allocations: 1.02 MB / 0.5616 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.28, allocations: 150.7 kB / 0.5618 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.2803, allocations: 362.6 kB / 0.5621 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.2807, allocations: 437.9 kB / 0.5625 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.2808, allocations: 79.12 kB / 0.5626 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.2811, allocations: 140.7 kB / 0.5627 GB, free: 36.07 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0007206/0.2818, allocations: 1.401 MB / 0.5641 GB, free: 35.39 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003719/0.2822, allocations: 0.8144 MB / 0.5649 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2823, allocations: 119 kB / 0.565 GB, free: 34.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001157/0.2824, allocations: 24.94 kB / 0.565 GB, free: 34.82 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: 79 (76) * Number of variables: 79 (79) Notification: Performance of Bindings: time 0.002542/0.285, allocations: 3.596 MB / 0.5685 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0002683/0.2853, allocations: 268 kB / 0.5688 GB, free: 33.3 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001443/0.2867, allocations: 1.918 MB / 0.5707 GB, free: 33.18 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001404/0.2869, allocations: 130.2 kB / 0.5708 GB, free: 33.18 MB / 430.1 MB Notification: Performance of Alias: time 0.002154/0.289, allocations: 2.12 MB / 0.5729 GB, free: 32.52 MB / 430.1 MB Notification: Performance of simplify2: time 0.0001092/0.2891, allocations: 111.5 kB / 0.573 GB, free: 32.51 MB / 430.1 MB Notification: Performance of Events: time 0.000219/0.2894, allocations: 220.2 kB / 0.5732 GB, free: 32.47 MB / 430.1 MB Notification: Performance of Detect States: time 0.0003654/0.2898, allocations: 453.1 kB / 0.5736 GB, free: 32.21 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0003725/0.2901, allocations: 448.3 kB / 0.574 GB, free: 31.98 MB / 430.1 MB Notification: Performance of Causalize: time 0.001636/0.2918, allocations: 1.726 MB / 0.5757 GB, free: 31.41 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.001026/0.2928, allocations: 1.337 MB / 0.577 GB, free: 30.58 MB / 430.1 MB Notification: Performance of Inline: time 0.003537/0.2964, allocations: 4.065 MB / 0.581 GB, free: 28.22 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001688/0.2965, allocations: 172.3 kB / 0.5812 GB, free: 28.11 MB / 430.1 MB Notification: Performance of Cleanup: time 8.205e-05/0.2966, allocations: 110.1 kB / 0.5813 GB, free: 28.05 MB / 430.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) pwLine.Z.re = 0.0 ($RES_SIM_228) slice: {}; [SCAL] (1) pwLine.Z.im = 0.0 ($RES_SIM_229) slice: {}; [SCAL] (1) pwLine.Y.re = 0.0 ($RES_SIM_230) slice: {}; [SCAL] (1) pwLine.Y.im = 0.0 ($RES_SIM_231) slice: {}; Notification: Performance of Causalize: time 0.01026/0.3069, allocations: 9.177 MB / 0.5902 GB, free: 24.66 MB / 430.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if $TEV_2 then [RECD] (2) pwLine.ir = Complex(0.0, 0.0) ($RES_SIM_12) [RECD] (2) pwLine.is = Complex(0.0, 0.0) ($RES_SIM_13) else [RECD] (2) Complex.'constructor'.fromReal(pwLine.vr.re - pwLine.vs.re, pwLine.vr.im - pwLine.vs.im) = Complex.'constructor'.fromReal(pwLine.Z.re * ((pwLine.ir.re + pwLine.vr.im * pwLine.Y.im) - pwLine.vr.re * pwLine.Y.re) - pwLine.Z.im * (pwLine.ir.im - (pwLine.vr.re * pwLine.Y.im + pwLine.vr.im * pwLine.Y.re)), pwLine.Z.re * (pwLine.ir.im - (pwLine.vr.re * pwLine.Y.im + pwLine.vr.im * pwLine.Y.re)) + pwLine.Z.im * ((pwLine.ir.re + pwLine.vr.im * pwLine.Y.im) - pwLine.vr.re * pwLine.Y.re)) ($RES_SIM_14) [RECD] (2) Complex.'constructor'.fromReal(pwLine.vs.re - pwLine.vr.re, pwLine.vs.im - pwLine.vr.im) = Complex.'constructor'.fromReal(pwLine.Z.re * ((pwLine.is.re + pwLine.vs.im * pwLine.Y.im) - pwLine.vs.re * pwLine.Y.re) - pwLine.Z.im * (pwLine.is.im - (pwLine.vs.re * pwLine.Y.im + pwLine.vs.im * pwLine.Y.re)), pwLine.Z.re * (pwLine.is.im - (pwLine.vs.re * pwLine.Y.im + pwLine.vs.im * pwLine.Y.re)) + pwLine.Z.im * ((pwLine.is.re + pwLine.vs.im * pwLine.Y.im) - pwLine.vs.re * pwLine.Y.re)) ($RES_SIM_15) end if; Error: Internal error NBInitialization.main failed to apply modules!