Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.085/0.085, allocations: 12.61 MB / 28.87 MB, free: 252 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 107.6 kB / 32.46 MB, free: 3.422 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.481/1.481, allocations: 205.1 MB / 241.1 MB, free: 12.42 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.001666/0.001667, allocations: 184 kB / 291.3 MB, free: 10.99 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4121/0.4121, allocations: 78.49 MB / 419.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.499e-05, allocations: 2.281 kB / 0.4893 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003698/0.00374, allocations: 2.792 MB / 0.4921 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.005304, allocations: 0.9397 MB / 0.493 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.005435, allocations: 0 / 0.493 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.005722, allocations: 91.33 kB / 0.4931 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.005992, allocations: 119 kB / 0.4932 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009098/0.006919, allocations: 454.4 kB / 0.4936 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.007378, allocations: 482.2 kB / 0.4941 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.007562, allocations: 88.52 kB / 0.4942 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.00773, allocations: 175.2 kB / 0.4943 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.007998, allocations: 234.9 kB / 0.4946 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.008051, allocations: 28 kB / 0.4946 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.008218, allocations: 87.98 kB / 0.4947 GB, free: 4.094 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0004963/0.008722, allocations: 0.7184 MB / 0.4954 GB, free: 3.367 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002306/0.008961, allocations: 445.4 kB / 0.4958 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.009021, allocations: 55.75 kB / 0.4958 GB, free: 2.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-05/0.009058, allocations: 8 kB / 0.4959 GB, free: 2.863 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: 57 (51) * Number of variables: 57 (57) Notification: Performance of Bindings: time 0.001608/0.01067, allocations: 2.008 MB / 0.4978 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001478/0.01083, allocations: 111.8 kB / 0.4979 GB, free: 0.625 MB / 382.1 MB Notification: Performance of Early Inline: time 0.2361/0.247, allocations: 1.853 MB / 0.4997 GB, free: 51.69 MB / 382.1 MB Notification: Performance of simplify1: time 0.000148/0.2472, allocations: 82.09 kB / 0.4998 GB, free: 51.69 MB / 382.1 MB Notification: Performance of Alias: time 0.001504/0.2487, allocations: 1.024 MB / 0.5008 GB, free: 51.51 MB / 382.1 MB Notification: Performance of simplify2: time 7.161e-05/0.2488, allocations: 74.95 kB / 0.5009 GB, free: 51.51 MB / 382.1 MB Notification: Performance of Events: time 0.0002098/0.249, allocations: 148 kB / 0.501 GB, free: 51.51 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003595/0.2494, allocations: 327.2 kB / 0.5013 GB, free: 51.47 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0004801/0.2499, allocations: 412.8 kB / 0.5017 GB, free: 51.45 MB / 382.1 MB Notification: Performance of Causalize: time 0.002742/0.2526, allocations: 2.595 MB / 0.5043 GB, free: 51.21 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009363/0.2536, allocations: 1.216 MB / 0.5055 GB, free: 51.12 MB / 382.1 MB Notification: Performance of Inline: time 0.00176/0.2553, allocations: 2.405 MB / 0.5078 GB, free: 50.24 MB / 382.1 MB Notification: Performance of Partitioning: time 6.885e-05/0.2554, allocations: 78.53 kB / 0.5079 GB, free: 50.2 MB / 382.1 MB Notification: Performance of Cleanup: time 6.656e-05/0.2555, allocations: 104.5 kB / 0.508 GB, free: 50.14 MB / 382.1 MB Notification: Performance of Causalize: time 0.002691/0.2582, allocations: 3.442 MB / 0.5113 GB, free: 48.64 MB / 382.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if $TEV_2 then [RECD] (2) pwLine2.ir = Complex(0.0, 0.0) ($RES_SIM_6) [RECD] (2) pwLine2.is = Complex(0.0, 0.0) ($RES_SIM_7) else [RECD] (2) Complex.'constructor'.fromReal(pwLine2.vr.re - pwLine2.vs.re, pwLine2.vr.im - pwLine2.vs.im) = Complex.'constructor'.fromReal(pwLine2.Z.re * ((pwLine2.ir.re + pwLine2.vr.im * pwLine2.Y.im) - pwLine2.vr.re * pwLine2.Y.re) - pwLine2.Z.im * (pwLine2.ir.im - (pwLine2.vr.re * pwLine2.Y.im + pwLine2.vr.im * pwLine2.Y.re)), pwLine2.Z.re * (pwLine2.ir.im - (pwLine2.vr.re * pwLine2.Y.im + pwLine2.vr.im * pwLine2.Y.re)) + pwLine2.Z.im * ((pwLine2.ir.re + pwLine2.vr.im * pwLine2.Y.im) - pwLine2.vr.re * pwLine2.Y.re)) ($RES_SIM_8) [RECD] (2) Complex.'constructor'.fromReal(pwLine2.vs.re - pwLine2.vr.re, pwLine2.vs.im - pwLine2.vr.im) = Complex.'constructor'.fromReal(pwLine2.Z.re * ((pwLine2.is.re + pwLine2.vs.im * pwLine2.Y.im) - pwLine2.vs.re * pwLine2.Y.re) - pwLine2.Z.im * (pwLine2.is.im - (pwLine2.vs.re * pwLine2.Y.im + pwLine2.vs.im * pwLine2.Y.re)), pwLine2.Z.re * (pwLine2.is.im - (pwLine2.vs.re * pwLine2.Y.im + pwLine2.vs.im * pwLine2.Y.re)) + pwLine2.Z.im * ((pwLine2.is.re + pwLine2.vs.im * pwLine2.Y.im) - pwLine2.vs.re * pwLine2.Y.re)) ($RES_SIM_9) end if; Error: Internal error NBInitialization.main failed to apply modules!