Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Wind.GE.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.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test") translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Wind.GE.WT_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 109.1 kB / 16.42 MB, free: 6.473 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.342/1.342, allocations: 222.9 MB / 240.1 MB, free: 4.504 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.001356/0.001357, allocations: 187.9 kB / 290.4 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4519/0.4519, allocations: 78.52 MB / 419.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.759e-05, allocations: 6.219 kB / 0.5542 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.GE.WT_Test): time 0.3147/0.3148, allocations: 8.882 MB / 0.5629 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005261/0.3201, allocations: 3.49 MB / 0.5663 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007075/0.3208, allocations: 39.78 kB / 0.5663 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.3217, allocations: 478.3 kB / 0.5668 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008984/0.3227, allocations: 493.1 kB / 0.5672 GB, free: 32.89 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Wind/GE/Type_3/GE_WT.mo:176:11-177:22:writable] Warning: lambda_sav was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Wind/GE/Type_3/GE_WT.mo:224:11-225:22:writable] Warning: theta_sav was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.3256, allocations: 2.092 MB / 0.5693 GB, free: 32.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.3283, allocations: 3.426 MB / 0.5726 GB, free: 32.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.3294, allocations: 1.084 MB / 0.5737 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.3303, allocations: 1.111 MB / 0.5748 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008007/0.3311, allocations: 1.219 MB / 0.5759 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.3315, allocations: 322.3 kB / 0.5763 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.3322, allocations: 0.6207 MB / 0.5769 GB, free: 30.45 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001658/0.3339, allocations: 3.977 MB / 0.5807 GB, free: 27.57 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009019/0.3348, allocations: 2.534 MB / 0.5832 GB, free: 25.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.3351, allocations: 418.9 kB / 0.5836 GB, free: 25.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0004227/0.3356, allocations: 153.4 kB / 0.5838 GB, free: 25.34 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: 436 (408) * Number of variables: 436 (420) Notification: Performance of Bindings: time 0.009792/0.3454, allocations: 13.2 MB / 0.5967 GB, free: 16.28 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0008225/0.3462, allocations: 0.9589 MB / 0.5976 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Early Inline: time 0.007606/0.3538, allocations: 9.404 MB / 0.6068 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simplify1: time 0.0004393/0.3543, allocations: 396.8 kB / 0.6072 GB, free: 9.535 MB / 430.1 MB Notification: Performance of Alias: time 0.01286/0.3671, allocations: 12.16 MB / 0.619 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simplify2: time 0.0004136/0.3676, allocations: 279.3 kB / 0.6193 GB, free: 1.641 MB / 430.1 MB Notification: Performance of Events: time 0.001254/0.3689, allocations: 1.259 MB / 0.6205 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of Detect States: time 0.001752/0.3706, allocations: 2.061 MB / 0.6225 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Partitioning: time 0.002298/0.3729, allocations: 1.926 MB / 0.6244 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Causalize: time 0.009973/0.3829, allocations: 7.706 MB / 0.6319 GB, free: 9.871 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.006435/0.3894, allocations: 5.686 MB / 0.6375 GB, free: 4.84 MB / 446.1 MB Notification: Performance of Inline: time 0.01562/0.405, allocations: 12.13 MB / 0.6493 GB, free: 10.2 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0009501/0.406, allocations: 494.9 kB / 0.6498 GB, free: 9.695 MB / 462.1 MB Notification: Performance of Cleanup: time 0.002201/0.4082, allocations: 1.174 MB / 0.651 GB, free: 8.746 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) pwLine1.Z.re = 0.0 ($RES_SIM_707) slice: {}; [SCAL] (1) pwLine1.Z.im = 0.0 ($RES_SIM_708) slice: {}; [SCAL] (1) pwLine1.Y.re = 0.0 ($RES_SIM_709) slice: {}; [SCAL] (1) pwLine1.Y.im = 0.0 ($RES_SIM_710) slice: {}; [SCAL] (1) pwLine5.Z.re = 0.0 ($RES_SIM_711) slice: {}; [SCAL] (1) pwLine5.Z.im = 0.0 ($RES_SIM_712) slice: {}; [SCAL] (1) pwLine5.Y.re = 0.0 ($RES_SIM_713) slice: {}; [SCAL] (1) pwLine5.Y.im = 0.0 ($RES_SIM_714) slice: {}; [SCAL] (1) pwLine4.Z.re = 0.0 ($RES_SIM_715) slice: {}; [SCAL] (1) pwLine4.Z.im = 0.0 ($RES_SIM_716) slice: {}; [SCAL] (1) pwLine4.Y.re = 0.0 ($RES_SIM_717) slice: {}; [SCAL] (1) pwLine4.Y.im = 0.0 ($RES_SIM_718) slice: {}; [SCAL] (1) pwLine3.Z.re = 0.0 ($RES_SIM_719) slice: {}; [SCAL] (1) pwLine3.Z.im = 0.0 ($RES_SIM_720) slice: {}; [SCAL] (1) pwLine3.Y.re = 0.0 ($RES_SIM_721) slice: {}; [SCAL] (1) pwLine3.Y.im = 0.0 ($RES_SIM_722) slice: {}; [SCAL] (1) pwLine2.Z.re = 0.0 ($RES_SIM_723) slice: {}; [SCAL] (1) pwLine2.Z.im = 0.0 ($RES_SIM_724) slice: {}; [SCAL] (1) pwLine2.Y.re = 0.0 ($RES_SIM_725) slice: {}; [SCAL] (1) pwLine2.Y.im = 0.0 ($RES_SIM_726) slice: {}; Notification: Performance of Causalize: time 0.07907/0.4873, allocations: 50.7 MB / 0.7005 GB, free: 6.652 MB / 0.4981 GB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if $TEV_7 then [RECD] (2) pwLine5.ir = Complex(0.0, 0.0) ($RES_SIM_36) [RECD] (2) pwLine5.is = Complex(0.0, 0.0) ($RES_SIM_37) else [RECD] (2) Complex.'constructor'.fromReal(pwLine5.vr.re - pwLine5.vs.re, pwLine5.vr.im - pwLine5.vs.im) = Complex.'constructor'.fromReal(pwLine5.Z.re * ((pwLine5.ir.re + pwLine5.vr.im * pwLine5.Y.im) - pwLine5.vr.re * pwLine5.Y.re) - pwLine5.Z.im * (pwLine5.ir.im - (pwLine5.vr.re * pwLine5.Y.im + pwLine5.vr.im * pwLine5.Y.re)), pwLine5.Z.re * (pwLine5.ir.im - (pwLine5.vr.re * pwLine5.Y.im + pwLine5.vr.im * pwLine5.Y.re)) + pwLine5.Z.im * ((pwLine5.ir.re + pwLine5.vr.im * pwLine5.Y.im) - pwLine5.vr.re * pwLine5.Y.re)) ($RES_SIM_38) [RECD] (2) Complex.'constructor'.fromReal(pwLine5.vs.re - pwLine5.vr.re, pwLine5.vs.im - pwLine5.vr.im) = Complex.'constructor'.fromReal(pwLine5.Z.re * ((pwLine5.is.re + pwLine5.vs.im * pwLine5.Y.im) - pwLine5.vs.re * pwLine5.Y.re) - pwLine5.Z.im * (pwLine5.is.im - (pwLine5.vs.re * pwLine5.Y.im + pwLine5.vs.im * pwLine5.Y.re)), pwLine5.Z.re * (pwLine5.is.im - (pwLine5.vs.re * pwLine5.Y.im + pwLine5.vs.im * pwLine5.Y.re)) + pwLine5.Z.im * ((pwLine5.is.re + pwLine5.vs.im * pwLine5.Y.im) - pwLine5.vs.re * pwLine5.Y.re)) ($RES_SIM_39) end if; Error: Internal error NBInitialization.main failed to apply modules!