Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009828, allocations: 108.5 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.352/1.352, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001433/0.001434, allocations: 184.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4901/0.4901, allocations: 78.52 MB / 419.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.552e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2781/0.2781, allocations: 2.983 MB / 0.5571 GB, free: 38.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2796, allocations: 0.9431 MB / 0.558 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.2798, allocations: 6.094 kB / 0.558 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.2801, allocations: 95.33 kB / 0.5581 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.2804, allocations: 146.3 kB / 0.5583 GB, free: 37.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.2813, allocations: 465.7 kB / 0.5587 GB, free: 37.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.2818, allocations: 0.5723 MB / 0.5593 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.282, allocations: 87.27 kB / 0.5593 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.2822, allocations: 215.6 kB / 0.5596 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.2825, allocations: 282.4 kB / 0.5598 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.2826, allocations: 41.19 kB / 0.5599 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2828, allocations: 105.8 kB / 0.56 GB, free: 37.58 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0004551/0.2833, allocations: 0.8633 MB / 0.5608 GB, free: 37.14 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001977/0.2835, allocations: 0.5252 MB / 0.5613 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.2835, allocations: 64.59 kB / 0.5614 GB, free: 36.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.199e-05/0.2836, allocations: 8.562 kB / 0.5614 GB, free: 36.79 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.001507/0.2851, allocations: 2.326 MB / 0.5637 GB, free: 35.74 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0001639/0.2853, allocations: 136.9 kB / 0.5638 GB, free: 35.72 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001537/0.2868, allocations: 1.98 MB / 0.5657 GB, free: 35.57 MB / 430.1 MB Notification: Performance of simplify1: time 7.754e-05/0.2869, allocations: 87.98 kB / 0.5658 GB, free: 35.57 MB / 430.1 MB Notification: Performance of Alias: time 0.001361/0.2883, allocations: 1.303 MB / 0.5671 GB, free: 35.2 MB / 430.1 MB Notification: Performance of simplify2: time 7.739e-05/0.2884, allocations: 81.81 kB / 0.5672 GB, free: 35.19 MB / 430.1 MB Notification: Performance of Events: time 0.0001693/0.2885, allocations: 164.5 kB / 0.5673 GB, free: 35.17 MB / 430.1 MB Notification: Performance of Detect States: time 0.0003049/0.2888, allocations: 354.3 kB / 0.5677 GB, free: 35.12 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0004003/0.2893, allocations: 437.8 kB / 0.5681 GB, free: 35.06 MB / 430.1 MB Notification: Performance of Causalize: time 0.001658/0.2909, allocations: 1.71 MB / 0.5697 GB, free: 34.8 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008751/0.2918, allocations: 1.252 MB / 0.571 GB, free: 34.69 MB / 430.1 MB Notification: Performance of Inline: time 0.002888/0.2947, allocations: 3.022 MB / 0.5739 GB, free: 33.01 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001049/0.2948, allocations: 98.47 kB / 0.574 GB, free: 32.95 MB / 430.1 MB Notification: Performance of Cleanup: time 8.563e-05/0.2949, allocations: 106.5 kB / 0.5741 GB, free: 32.89 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_122) slice: {}; [SCAL] (1) pwLine2.Z.im = 0.0 ($RES_SIM_123) slice: {}; [SCAL] (1) pwLine2.Y.re = 0.0 ($RES_SIM_124) slice: {}; [SCAL] (1) pwLine2.Y.im = 0.0 ($RES_SIM_125) slice: {}; [SCAL] (1) pwLine1.Z.re = 0.0 ($RES_SIM_126) slice: {}; [SCAL] (1) pwLine1.Z.im = 0.0 ($RES_SIM_127) slice: {}; [SCAL] (1) pwLine1.Y.re = 0.0 ($RES_SIM_128) slice: {}; [SCAL] (1) pwLine1.Y.im = 0.0 ($RES_SIM_129) slice: {}; Notification: Performance of Causalize: time 0.005812/0.3007, allocations: 5.578 MB / 0.5796 GB, free: 30.96 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_8) [RECD] (2) pwLine2.is = Complex(0.0, 0.0) ($RES_SIM_9) 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_10) [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_11) end if; Error: Internal error NBInitialization.main failed to apply modules!