Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_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.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08595/0.08595, allocations: 12.6 MB / 28.86 MB, free: 0.9492 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.001117/0.001116, allocations: 114.2 kB / 32.47 MB, free: 3.914 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.526/1.526, allocations: 205.1 MB / 241.1 MB, free: 12.39 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.001211/0.001211, allocations: 191.3 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.439/0.439, allocations: 78.51 MB / 419.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.128e-05, allocations: 6.219 kB / 0.4893 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004376/0.004426, allocations: 2.984 MB / 0.4923 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.006176, allocations: 1.003 MB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.006315, allocations: 4 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.006608, allocations: 87.28 kB / 0.4933 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.006921, allocations: 154.9 kB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.007888, allocations: 466.5 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.008449, allocations: 0.5644 MB / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.008674, allocations: 96.98 kB / 0.4946 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.008917, allocations: 218.9 kB / 0.4948 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.009245, allocations: 278.8 kB / 0.495 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.009312, allocations: 47.94 kB / 0.4951 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.009515, allocations: 99.97 kB / 0.4952 GB, free: 4.199 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0007092/0.01023, allocations: 0.8656 MB / 0.496 GB, free: 3.324 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003385/0.01058, allocations: 0.5159 MB / 0.4965 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.01065, allocations: 63.75 kB / 0.4966 GB, free: 2.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.336e-05/0.0107, allocations: 8 kB / 0.4966 GB, free: 2.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 (59) * Number of variables: 65 (65) Notification: Performance of Bindings: time 0.002193/0.0129, allocations: 2.326 MB / 0.4989 GB, free: 288 kB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001817/0.01309, allocations: 135.7 kB / 0.499 GB, free: 152 kB / 382.1 MB Notification: Performance of Early Inline: time 0.001832/0.01493, allocations: 1.982 MB / 0.5009 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simplify1: time 8.74e-05/0.01503, allocations: 87.89 kB / 0.501 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Alias: time 0.001482/0.01651, allocations: 1.25 MB / 0.5022 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simplify2: time 7.312e-05/0.0166, allocations: 79.91 kB / 0.5023 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Events: time 0.0001782/0.01678, allocations: 151.8 kB / 0.5025 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Detect States: time 0.0003696/0.01716, allocations: 350.6 kB / 0.5028 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0004998/0.01767, allocations: 441.6 kB / 0.5032 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Causalize: time 0.002752/0.02043, allocations: 2.669 MB / 0.5058 GB, free: 9.016 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.001139/0.02158, allocations: 1.241 MB / 0.507 GB, free: 7.746 MB / 398.1 MB Notification: Performance of Inline: time 0.002626/0.02421, allocations: 2.774 MB / 0.5097 GB, free: 4.934 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001075/0.02433, allocations: 91.59 kB / 0.5098 GB, free: 4.84 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0001057/0.02445, allocations: 115.8 kB / 0.5099 GB, free: 4.727 MB / 398.1 MB Notification: Performance of Causalize: time 0.004433/0.02889, allocations: 4.405 MB / 0.5142 GB, free: 408 kB / 398.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if $TEV_5 then [RECD] (2) pwLine1.ir = Complex(0.0, 0.0) ($RES_SIM_17) [RECD] (2) pwLine1.is = Complex(0.0, 0.0) ($RES_SIM_18) else [RECD] (2) Complex.'constructor'.fromReal(pwLine1.vr.re - pwLine1.vs.re, pwLine1.vr.im - pwLine1.vs.im) = Complex.'constructor'.fromReal(pwLine1.Z.re * ((pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im) - pwLine1.vr.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.ir.im - (pwLine1.vr.re * pwLine1.Y.im + pwLine1.vr.im * pwLine1.Y.re)), pwLine1.Z.re * (pwLine1.ir.im - (pwLine1.vr.re * pwLine1.Y.im + pwLine1.vr.im * pwLine1.Y.re)) + pwLine1.Z.im * ((pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im) - pwLine1.vr.re * pwLine1.Y.re)) ($RES_SIM_19) [RECD] (2) Complex.'constructor'.fromReal(pwLine1.vs.re - pwLine1.vr.re, pwLine1.vs.im - pwLine1.vr.im) = Complex.'constructor'.fromReal(pwLine1.Z.re * ((pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im) - pwLine1.vs.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.is.im - (pwLine1.vs.re * pwLine1.Y.im + pwLine1.vs.im * pwLine1.Y.re)), pwLine1.Z.re * (pwLine1.is.im - (pwLine1.vs.re * pwLine1.Y.im + pwLine1.vs.im * pwLine1.Y.re)) + pwLine1.Z.im * ((pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im) - pwLine1.vs.re * pwLine1.Y.re)) ($RES_SIM_20) end if; Error: Internal error NBInitialization.main failed to apply modules!