Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_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.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 108.7 kB / 16.42 MB, free: 6.449 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.485/1.485, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001425/0.001425, allocations: 184.5 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6845/0.6845, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.589e-05, allocations: 2.281 kB / 0.5733 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003335/0.003372, allocations: 2.807 MB / 0.576 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.004764, allocations: 0.8987 MB / 0.5769 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004909, allocations: 2.906 kB / 0.5769 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.005207, allocations: 86.55 kB / 0.577 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.00547, allocations: 128.9 kB / 0.5771 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.006391, allocations: 448.6 kB / 0.5775 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.006823, allocations: 482.2 kB / 0.578 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.007021, allocations: 88.69 kB / 0.5781 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.007178, allocations: 171.2 kB / 0.5782 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.007453, allocations: 236.2 kB / 0.5785 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.00751, allocations: 29.72 kB / 0.5785 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.007689, allocations: 91.8 kB / 0.5786 GB, free: 30.14 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0004208/0.008116, allocations: 0.7102 MB / 0.5793 GB, free: 29.67 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001932/0.008315, allocations: 449.7 kB / 0.5797 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.00838, allocations: 55.94 kB / 0.5798 GB, free: 29.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.415e-05/0.00843, allocations: 8.375 kB / 0.5798 GB, free: 29.32 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: 57 (51) * Number of variables: 57 (57) Notification: Performance of Bindings: time 0.00159/0.01002, allocations: 2.01 MB / 0.5817 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0001371/0.01017, allocations: 101.4 kB / 0.5818 GB, free: 27.79 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001417/0.01159, allocations: 1.865 MB / 0.5837 GB, free: 26.74 MB / 430.1 MB Notification: Performance of simplify1: time 6.101e-05/0.01166, allocations: 78.62 kB / 0.5837 GB, free: 26.71 MB / 430.1 MB Notification: Performance of Alias: time 0.001064/0.01273, allocations: 1.07 MB / 0.5848 GB, free: 26.02 MB / 430.1 MB Notification: Performance of simplify2: time 5.89e-05/0.0128, allocations: 75.48 kB / 0.5848 GB, free: 25.98 MB / 430.1 MB Notification: Performance of Events: time 0.0001582/0.01297, allocations: 160.8 kB / 0.585 GB, free: 25.89 MB / 430.1 MB Notification: Performance of Detect States: time 0.0003107/0.01328, allocations: 315.1 kB / 0.5853 GB, free: 25.69 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0003746/0.01367, allocations: 427.5 kB / 0.5857 GB, free: 25.47 MB / 430.1 MB Notification: Performance of Causalize: time 0.002026/0.0157, allocations: 1.654 MB / 0.5873 GB, free: 24.88 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009485/0.01666, allocations: 1.212 MB / 0.5885 GB, free: 24.12 MB / 430.1 MB Notification: Performance of Inline: time 0.002544/0.01921, allocations: 2.582 MB / 0.591 GB, free: 22.57 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001027/0.01933, allocations: 81.11 kB / 0.5911 GB, free: 22.51 MB / 430.1 MB Notification: Performance of Cleanup: time 8.951e-05/0.01942, allocations: 106.3 kB / 0.5912 GB, free: 22.45 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) pwLine2.Z.re = 0.0 ($RES_SIM_96) slice: {}; [SCAL] (1) pwLine2.Z.im = 0.0 ($RES_SIM_97) slice: {}; [SCAL] (1) pwLine2.Y.re = 0.0 ($RES_SIM_98) slice: {}; [SCAL] (1) pwLine2.Y.im = 0.0 ($RES_SIM_99) slice: {}; [SCAL] (1) pwLine1.Z.re = 0.0 ($RES_SIM_100) slice: {}; [SCAL] (1) pwLine1.Z.im = 0.0 ($RES_SIM_101) slice: {}; [SCAL] (1) pwLine1.Y.re = 0.0 ($RES_SIM_102) slice: {}; [SCAL] (1) pwLine1.Y.im = 0.0 ($RES_SIM_103) slice: {}; Notification: Performance of Causalize: time 0.00664/0.02607, allocations: 4.4 MB / 0.5955 GB, free: 20.91 MB / 430.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_15) [RECD] (2) pwLine1.is = Complex(0.0, 0.0) ($RES_SIM_16) 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_17) [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_18) end if; Error: Internal error NBInitialization.main failed to apply modules!