Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001496/0.001496, allocations: 110.8 kB / 16.42 MB, free: 6.523 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.415/1.415, allocations: 222.9 MB / 240.1 MB, free: 4.363 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.001401/0.001401, allocations: 184.5 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5004/0.5004, allocations: 78.52 MB / 419.1 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.829e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.2959/0.296, allocations: 2.78 MB / 0.5569 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2975, allocations: 0.8983 MB / 0.5578 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2977, allocations: 3.062 kB / 0.5578 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.298, allocations: 83.89 kB / 0.5579 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.2983, allocations: 141.7 kB / 0.558 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.2994, allocations: 449.5 kB / 0.5584 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.2999, allocations: 484.3 kB / 0.5589 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.3001, allocations: 81.31 kB / 0.559 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3003, allocations: 174.6 kB / 0.5591 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.3006, allocations: 226.5 kB / 0.5593 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.3007, allocations: 28.62 kB / 0.5594 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.3009, allocations: 90.72 kB / 0.5595 GB, free: 37.03 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.000514/0.3014, allocations: 0.7169 MB / 0.5602 GB, free: 36.64 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003025/0.3017, allocations: 451 kB / 0.5606 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.3018, allocations: 55 kB / 0.5606 GB, free: 36.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.351e-05/0.3018, allocations: 8.75 kB / 0.5607 GB, free: 36.33 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 (53) * Number of variables: 57 (57) Notification: Performance of Bindings: time 0.001823/0.3037, allocations: 2.044 MB / 0.5626 GB, free: 35.38 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.000188/0.3039, allocations: 104.2 kB / 0.5627 GB, free: 35.38 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001776/0.3056, allocations: 1.88 MB / 0.5646 GB, free: 35.25 MB / 430.1 MB Notification: Performance of simplify1: time 8.51e-05/0.3057, allocations: 81.16 kB / 0.5647 GB, free: 35.25 MB / 430.1 MB Notification: Performance of Alias: time 0.001215/0.307, allocations: 1.075 MB / 0.5657 GB, free: 34.96 MB / 430.1 MB Notification: Performance of simplify2: time 6.648e-05/0.307, allocations: 81.31 kB / 0.5658 GB, free: 34.96 MB / 430.1 MB Notification: Performance of Detect States: time 0.000349/0.3074, allocations: 309.7 kB / 0.5661 GB, free: 34.9 MB / 430.1 MB Notification: Performance of Events: time 0.0002175/0.3076, allocations: 175.8 kB / 0.5663 GB, free: 34.88 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0004127/0.3081, allocations: 418.5 kB / 0.5666 GB, free: 34.84 MB / 430.1 MB Notification: Performance of Causalize: time 0.002033/0.3101, allocations: 1.681 MB / 0.5683 GB, free: 34.57 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.001144/0.3112, allocations: 1.226 MB / 0.5695 GB, free: 34.46 MB / 430.1 MB Notification: Performance of Inline: time 0.002447/0.3137, allocations: 2.611 MB / 0.572 GB, free: 33.68 MB / 430.1 MB Notification: Performance of Partitioning: time 8.464e-05/0.3138, allocations: 85.08 kB / 0.5721 GB, free: 33.62 MB / 430.1 MB Notification: Performance of Cleanup: time 8.321e-05/0.3139, allocations: 109.1 kB / 0.5722 GB, free: 33.57 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_98) slice: {}; [SCAL] (1) pwLine2.Z.im = 0.0 ($RES_SIM_99) slice: {}; [SCAL] (1) pwLine2.Y.re = 0.0 ($RES_SIM_100) slice: {}; [SCAL] (1) pwLine2.Y.im = 0.0 ($RES_SIM_101) slice: {}; [SCAL] (1) pwLine1.Z.re = 0.0 ($RES_SIM_102) slice: {}; [SCAL] (1) pwLine1.Z.im = 0.0 ($RES_SIM_103) slice: {}; [SCAL] (1) pwLine1.Y.re = 0.0 ($RES_SIM_104) slice: {}; [SCAL] (1) pwLine1.Y.im = 0.0 ($RES_SIM_105) slice: {}; Notification: Performance of Causalize: time 0.00477/0.3187, allocations: 4.539 MB / 0.5767 GB, free: 32.06 MB / 430.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (2)if $TEV_2 then [----] [RECD] (2) pwLine2.is = Complex(0.0, 0.0) ($RES_SIM_6) [----] else [----] [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_7) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!