Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.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.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test") translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07228/0.07228, allocations: 12.6 MB / 28.92 MB, free: 0.6172 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.000934/0.000934, allocations: 115.5 kB / 32.52 MB, free: 3.555 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.279/1.279, 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.001179/0.001179, allocations: 194.7 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.419/0.419, allocations: 78.5 MB / 420 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.301e-05, allocations: 2.281 kB / 0.5564 GB, free: 28.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.GE.WT_Test): time 0.008794/0.008827, allocations: 8.91 MB / 0.5651 GB, free: 22.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007683/0.01654, allocations: 3.539 MB / 0.5685 GB, free: 19.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.01937, allocations: 45.41 kB / 0.5686 GB, free: 19.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.02061, allocations: 470.9 kB / 0.569 GB, free: 19.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.02259, allocations: 494.1 kB / 0.5695 GB, free: 18.71 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 2.0.0/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.004274/0.02693, allocations: 2.108 MB / 0.5715 GB, free: 17.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004298/0.03124, allocations: 3.434 MB / 0.5749 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.03256, allocations: 1.089 MB / 0.576 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.03411, allocations: 1.117 MB / 0.577 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009829/0.0351, allocations: 1.217 MB / 0.5782 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.0355, allocations: 322.1 kB / 0.5785 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.03654, allocations: 0.6255 MB / 0.5791 GB, free: 12.27 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001578/0.03812, allocations: 4.003 MB / 0.5831 GB, free: 8.258 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008291/0.03896, allocations: 2.543 MB / 0.5855 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.03942, allocations: 426.5 kB / 0.5859 GB, free: 5.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0006155/0.04004, allocations: 155 kB / 0.5861 GB, free: 5.105 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: 436 (408) * Number of variables: 436 (420) Notification: Performance of Bindings: time 0.009393/0.04944, allocations: 12.64 MB / 0.5984 GB, free: 8.172 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0008743/0.05033, allocations: 0.9658 MB / 0.5994 GB, free: 7.195 MB / 414.1 MB Notification: Performance of Early Inline: time 0.00861/0.05894, allocations: 9.411 MB / 0.6086 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simplify1: time 0.0005076/0.0595, allocations: 391.5 kB / 0.6089 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Alias: time 0.01564/0.07515, allocations: 12.36 MB / 0.621 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simplify2: time 0.0005964/0.0758, allocations: 283.6 kB / 0.6213 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Events: time 0.001701/0.07751, allocations: 1.277 MB / 0.6225 GB, free: 14.27 MB / 446.1 MB Notification: Performance of Detect States: time 0.002542/0.08006, allocations: 2.055 MB / 0.6245 GB, free: 12.15 MB / 446.1 MB Notification: Performance of Partitioning: time 0.002532/0.08261, allocations: 1.925 MB / 0.6264 GB, free: 10.15 MB / 446.1 MB Notification: Performance of Causalize: time 0.01007/0.09269, allocations: 7.696 MB / 0.6339 GB, free: 2.359 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.006159/0.09888, allocations: 5.671 MB / 0.6395 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Inline: time 0.01482/0.1137, allocations: 12.16 MB / 0.6513 GB, free: 392 kB / 462.1 MB Notification: Performance of Partitioning: time 0.0008989/0.1147, allocations: 486.2 kB / 0.6518 GB, free: 15.88 MB / 478.1 MB Notification: Performance of Cleanup: time 0.001979/0.1167, allocations: 1.174 MB / 0.653 GB, free: 14.7 MB / 478.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.07047/0.1871, allocations: 50.68 MB / 0.7024 GB, free: 11.61 MB / 0.5137 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!