Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test") translateModel(OpenIPSL.Tests.Wind.PSAT.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001542/0.001542, allocations: 109.8 kB / 16.42 MB, free: 6.512 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.426/1.426, allocations: 222.9 MB / 240.1 MB, free: 4.375 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.001182/0.001182, allocations: 188.5 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.493/0.493, allocations: 91.9 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.404e-05, allocations: 2.281 kB / 0.5733 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.00438/0.004412, allocations: 4.512 MB / 0.5777 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.006437, allocations: 1.226 MB / 0.5789 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.006684, allocations: 2.625 kB / 0.5789 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.00702, allocations: 130.8 kB / 0.579 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.0075, allocations: 255 kB / 0.5793 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.008486, allocations: 0.5126 MB / 0.5798 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007542/0.00925, allocations: 1.004 MB / 0.5807 GB, free: 28.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.009507, allocations: 153.8 kB / 0.5809 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.009831, allocations: 371.1 kB / 0.5812 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.01023, allocations: 437.8 kB / 0.5817 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.17e-05/0.01033, allocations: 87.69 kB / 0.5817 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.01054, allocations: 139.7 kB / 0.5819 GB, free: 27.82 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.000685/0.01124, allocations: 1.394 MB / 0.5832 GB, free: 26.91 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003105/0.01155, allocations: 0.8135 MB / 0.584 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.01166, allocations: 117.6 kB / 0.5841 GB, free: 26.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.296e-05/0.01176, allocations: 14.94 kB / 0.5842 GB, free: 26.26 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.002371/0.01414, allocations: 3.598 MB / 0.5877 GB, free: 23.7 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.00028/0.01443, allocations: 266.2 kB / 0.5879 GB, free: 23.53 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001587/0.01602, allocations: 1.92 MB / 0.5898 GB, free: 22.38 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001341/0.01617, allocations: 132.7 kB / 0.5899 GB, free: 22.34 MB / 430.1 MB Notification: Performance of Alias: time 0.002467/0.01864, allocations: 2.122 MB / 0.592 GB, free: 20.98 MB / 430.1 MB Notification: Performance of simplify2: time 0.0001246/0.01877, allocations: 118.7 kB / 0.5921 GB, free: 20.94 MB / 430.1 MB Notification: Performance of Events: time 0.0002547/0.01904, allocations: 202.7 kB / 0.5923 GB, free: 20.82 MB / 430.1 MB Notification: Performance of Detect States: time 0.0004273/0.01947, allocations: 445.8 kB / 0.5927 GB, free: 20.54 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0004864/0.01997, allocations: 459.6 kB / 0.5932 GB, free: 20.29 MB / 430.1 MB Notification: Performance of Causalize: time 0.002147/0.02212, allocations: 1.727 MB / 0.5948 GB, free: 19.66 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.001259/0.02339, allocations: 1.344 MB / 0.5962 GB, free: 18.81 MB / 430.1 MB Notification: Performance of Inline: time 0.004221/0.02762, allocations: 4.055 MB / 0.6001 GB, free: 16.44 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0002079/0.02784, allocations: 179.8 kB / 0.6003 GB, free: 16.32 MB / 430.1 MB Notification: Performance of Cleanup: time 0.0001043/0.02795, allocations: 109.6 kB / 0.6004 GB, free: 16.25 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.01569/0.04365, allocations: 9.169 MB / 0.6094 GB, free: 12.88 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!