Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test") translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1026/0.1026, allocations: 12.6 MB / 28.92 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.001391, allocations: 111.5 kB / 32.52 MB, free: 3.566 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 196.4 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4976/0.4976, allocations: 78.5 MB / 420 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.343e-05, allocations: 2.281 kB / 0.5564 GB, free: 28.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.005473/0.005516, allocations: 4.495 MB / 0.5607 GB, free: 25.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.008744, allocations: 1.276 MB / 0.562 GB, free: 24.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.009291, allocations: 4.375 kB / 0.562 GB, free: 24.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.009735, allocations: 128.6 kB / 0.5621 GB, free: 24.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007136/0.01051, allocations: 256.8 kB / 0.5624 GB, free: 24.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.01178, allocations: 0.5128 MB / 0.5629 GB, free: 23.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.01313, allocations: 1.011 MB / 0.5638 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.01345, allocations: 167.3 kB / 0.564 GB, free: 23.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.01394, allocations: 360.4 kB / 0.5644 GB, free: 23.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.01449, allocations: 441.1 kB / 0.5648 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.01464, allocations: 80.97 kB / 0.5649 GB, free: 22.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.01497, allocations: 147.4 kB / 0.565 GB, free: 22.89 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0009366/0.01592, allocations: 1.4 MB / 0.5664 GB, free: 21.87 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004054/0.01633, allocations: 0.813 MB / 0.5672 GB, free: 21.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.01648, allocations: 115.5 kB / 0.5673 GB, free: 21.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001568/0.01664, allocations: 24.94 kB / 0.5673 GB, free: 21.19 MB / 398.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.002833/0.01948, allocations: 3.572 MB / 0.5708 GB, free: 18.47 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002922/0.01978, allocations: 274.4 kB / 0.571 GB, free: 18.27 MB / 398.1 MB Notification: Performance of Early Inline: time 0.00161/0.0214, allocations: 1.923 MB / 0.5729 GB, free: 16.8 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001422/0.02155, allocations: 129.4 kB / 0.573 GB, free: 16.71 MB / 398.1 MB Notification: Performance of Alias: time 0.002472/0.02403, allocations: 2.121 MB / 0.5751 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001433/0.02419, allocations: 118.2 kB / 0.5752 GB, free: 15.11 MB / 398.1 MB Notification: Performance of Events: time 0.0002462/0.02444, allocations: 212.4 kB / 0.5754 GB, free: 14.95 MB / 398.1 MB Notification: Performance of Detect States: time 0.0004324/0.02488, allocations: 449.3 kB / 0.5759 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0004804/0.02537, allocations: 456.6 kB / 0.5763 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Causalize: time 0.001899/0.02728, allocations: 1.718 MB / 0.578 GB, free: 13.14 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009503/0.02824, allocations: 1.337 MB / 0.5793 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Inline: time 0.003471/0.03172, allocations: 4.058 MB / 0.5832 GB, free: 7.652 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001602/0.0319, allocations: 179.6 kB / 0.5834 GB, free: 7.461 MB / 398.1 MB Notification: Performance of Cleanup: time 7.472e-05/0.03198, allocations: 111.8 kB / 0.5835 GB, free: 7.352 MB / 398.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.009992/0.04198, allocations: 9.169 MB / 0.5925 GB, free: 14.04 MB / 414.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!