Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 106.2 kB / 16.42 MB, free: 6.504 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.343/1.343, allocations: 222.9 MB / 240.1 MB, free: 4.398 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.001472/0.001472, allocations: 196 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4596/0.4596, allocations: 78.52 MB / 419.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.777e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.2743/0.2744, allocations: 3.06 MB / 0.5572 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.2762, allocations: 0.9658 MB / 0.5581 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.2764, allocations: 6.625 kB / 0.5581 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.2767, allocations: 96.67 kB / 0.5582 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.2771, allocations: 154.2 kB / 0.5584 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.2781, allocations: 469.4 kB / 0.5588 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.2787, allocations: 0.6031 MB / 0.5594 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.279, allocations: 87.5 kB / 0.5595 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2792, allocations: 230.1 kB / 0.5597 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.2795, allocations: 303.5 kB / 0.56 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.2796, allocations: 43.59 kB / 0.56 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.2798, allocations: 109.3 kB / 0.5601 GB, free: 36.68 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0004998/0.2803, allocations: 0.9046 MB / 0.561 GB, free: 36.23 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002245/0.2805, allocations: 0.536 MB / 0.5615 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.2806, allocations: 67.22 kB / 0.5616 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.655e-05/0.2807, allocations: 11.31 kB / 0.5616 GB, free: 35.87 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: 65 (59) * Number of variables: 65 (65) Notification: Performance of Bindings: time 0.001665/0.2823, allocations: 2.418 MB / 0.564 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0001482/0.2825, allocations: 120.2 kB / 0.5641 GB, free: 34.78 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001597/0.2841, allocations: 2.008 MB / 0.5661 GB, free: 34.64 MB / 430.1 MB Notification: Performance of simplify1: time 9.531e-05/0.2842, allocations: 100.5 kB / 0.5661 GB, free: 34.64 MB / 430.1 MB Notification: Performance of Alias: time 0.001351/0.2856, allocations: 1.282 MB / 0.5674 GB, free: 34.29 MB / 430.1 MB Notification: Performance of simplify2: time 8.385e-05/0.2857, allocations: 82.38 kB / 0.5675 GB, free: 34.29 MB / 430.1 MB Notification: Performance of Events: time 0.0001585/0.2858, allocations: 168.6 kB / 0.5676 GB, free: 34.26 MB / 430.1 MB Notification: Performance of Detect States: time 0.0003306/0.2862, allocations: 384.3 kB / 0.568 GB, free: 34.2 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0003913/0.2866, allocations: 446.9 kB / 0.5684 GB, free: 34.15 MB / 430.1 MB Notification: Performance of Causalize: time 0.001668/0.2882, allocations: 1.708 MB / 0.5701 GB, free: 33.89 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008802/0.2891, allocations: 1.286 MB / 0.5714 GB, free: 33.79 MB / 430.1 MB Notification: Performance of Inline: time 0.002791/0.2919, allocations: 3.182 MB / 0.5745 GB, free: 32.19 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001126/0.2921, allocations: 99.34 kB / 0.5746 GB, free: 32.12 MB / 430.1 MB Notification: Performance of Cleanup: time 8.424e-05/0.2922, allocations: 115.1 kB / 0.5747 GB, free: 32.06 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_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.006187/0.2983, allocations: 5.841 MB / 0.5804 GB, free: 30.05 MB / 430.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!