Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07025/0.07025, allocations: 12.6 MB / 28.92 MB, free: 0.6094 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.000853/0.000853, allocations: 107.5 kB / 32.52 MB, free: 3.547 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.109/1.109, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001085/0.001085, allocations: 187.4 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3668/0.3668, allocations: 78.5 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.406e-05, allocations: 5.656 kB / 0.5564 GB, free: 28.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.002603/0.002626, allocations: 3.056 MB / 0.5594 GB, free: 26.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003899, allocations: 1.02 MB / 0.5603 GB, free: 25.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.004026, allocations: 2.281 kB / 0.5603 GB, free: 25.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.004255, allocations: 98.06 kB / 0.5604 GB, free: 25.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.004519, allocations: 153 kB / 0.5606 GB, free: 25.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.005297, allocations: 473.7 kB / 0.561 GB, free: 25.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.005757, allocations: 0.6039 MB / 0.5616 GB, free: 24.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.00591, allocations: 96.41 kB / 0.5617 GB, free: 24.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.006109, allocations: 234.2 kB / 0.5619 GB, free: 24.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.00638, allocations: 300.8 kB / 0.5622 GB, free: 24.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.006443, allocations: 42.28 kB / 0.5623 GB, free: 24.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.006606, allocations: 96.95 kB / 0.5624 GB, free: 24.43 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004401/0.007052, allocations: 0.9097 MB / 0.5633 GB, free: 23.84 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001798/0.007238, allocations: 0.5386 MB / 0.5638 GB, free: 23.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.0073, allocations: 68.88 kB / 0.5638 GB, free: 23.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.572e-05/0.007341, allocations: 9.562 kB / 0.5639 GB, free: 23.41 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: 65 (59) * Number of variables: 65 (65) Notification: Performance of Bindings: time 0.001409/0.008754, allocations: 2.4 MB / 0.5662 GB, free: 21.69 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001311/0.008892, allocations: 127.4 kB / 0.5663 GB, free: 21.61 MB / 398.1 MB Notification: Performance of Early Inline: time 0.001409/0.01031, allocations: 2.011 MB / 0.5683 GB, free: 20.32 MB / 398.1 MB Notification: Performance of simplify1: time 6.397e-05/0.01038, allocations: 96.39 kB / 0.5684 GB, free: 20.26 MB / 398.1 MB Notification: Performance of Alias: time 0.001074/0.01146, allocations: 1.287 MB / 0.5696 GB, free: 19.33 MB / 398.1 MB Notification: Performance of simplify2: time 5.732e-05/0.01153, allocations: 92.59 kB / 0.5697 GB, free: 19.27 MB / 398.1 MB Notification: Performance of Events: time 0.0001262/0.01166, allocations: 165.3 kB / 0.5699 GB, free: 19.14 MB / 398.1 MB Notification: Performance of Detect States: time 0.0002584/0.01192, allocations: 379.2 kB / 0.5702 GB, free: 18.82 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0003422/0.01227, allocations: 447.3 kB / 0.5707 GB, free: 18.56 MB / 398.1 MB Notification: Performance of Causalize: time 0.001557/0.01384, allocations: 1.712 MB / 0.5723 GB, free: 17.85 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007774/0.01462, allocations: 1.287 MB / 0.5736 GB, free: 16.86 MB / 398.1 MB Notification: Performance of Inline: time 0.002174/0.0168, allocations: 3.184 MB / 0.5767 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Partitioning: time 9.474e-05/0.01691, allocations: 106.9 kB / 0.5768 GB, free: 14.41 MB / 398.1 MB Notification: Performance of Cleanup: time 5.613e-05/0.01697, allocations: 106.9 kB / 0.5769 GB, free: 14.31 MB / 398.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_125) slice: {}; [SCAL] (1) pwLine2.Z.im = 0.0 ($RES_SIM_126) slice: {}; [SCAL] (1) pwLine2.Y.re = 0.0 ($RES_SIM_127) slice: {}; [SCAL] (1) pwLine2.Y.im = 0.0 ($RES_SIM_128) slice: {}; [SCAL] (1) pwLine1.Z.re = 0.0 ($RES_SIM_129) slice: {}; [SCAL] (1) pwLine1.Z.im = 0.0 ($RES_SIM_130) slice: {}; [SCAL] (1) pwLine1.Y.re = 0.0 ($RES_SIM_131) slice: {}; [SCAL] (1) pwLine1.Y.im = 0.0 ($RES_SIM_132) slice: {}; Notification: Performance of Causalize: time 0.004596/0.02157, allocations: 5.848 MB / 0.5826 GB, free: 8.379 MB / 398.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_10) [RECD] (2) pwLine2.is = Complex(0.0, 0.0) ($RES_SIM_11) 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_12) [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_13) end if; Error: Internal error NBInitialization.main failed to apply modules!