Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.001359/0.001359, allocations: 104.9 kB / 16.42 MB, free: 6.516 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.41/1.41, 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.001566/0.001565, allocations: 192.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.1.0-master/package.mo): time 0.5185/0.5185, allocations: 91.9 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.725e-05, allocations: 2.281 kB / 0.5733 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.00284/0.002865, allocations: 3.005 MB / 0.5762 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.00409, allocations: 0.9471 MB / 0.5772 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.004229, allocations: 3.75 kB / 0.5772 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.004494, allocations: 93.55 kB / 0.5772 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.004781, allocations: 152.5 kB / 0.5774 GB, free: 30.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.005622, allocations: 466.4 kB / 0.5778 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.006051, allocations: 0.5737 MB / 0.5784 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.006228, allocations: 90.55 kB / 0.5785 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.00643, allocations: 215.6 kB / 0.5787 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.006718, allocations: 279.3 kB / 0.579 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.006778, allocations: 41.94 kB / 0.579 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.006957, allocations: 95.81 kB / 0.5791 GB, free: 29.89 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0004185/0.007382, allocations: 0.8654 MB / 0.5799 GB, free: 29.33 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001855/0.007574, allocations: 0.5271 MB / 0.5804 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.00764, allocations: 64.69 kB / 0.5805 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.157e-05/0.007687, allocations: 11.7 kB / 0.5805 GB, free: 28.91 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.001489/0.009181, allocations: 2.319 MB / 0.5828 GB, free: 27.24 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0001479/0.009336, allocations: 138.5 kB / 0.5829 GB, free: 27.16 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001341/0.01068, allocations: 1.981 MB / 0.5849 GB, free: 26.04 MB / 430.1 MB Notification: Performance of simplify1: time 6.669e-05/0.01076, allocations: 86.94 kB / 0.5849 GB, free: 26.01 MB / 430.1 MB Notification: Performance of Alias: time 0.001292/0.01206, allocations: 1.314 MB / 0.5862 GB, free: 25.15 MB / 430.1 MB Notification: Performance of simplify2: time 7.026e-05/0.01214, allocations: 81.12 kB / 0.5863 GB, free: 25.12 MB / 430.1 MB Notification: Performance of Events: time 0.000168/0.01231, allocations: 155.9 kB / 0.5864 GB, free: 25.04 MB / 430.1 MB Notification: Performance of Detect States: time 0.0003231/0.01264, allocations: 343.3 kB / 0.5868 GB, free: 24.82 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0004213/0.01307, allocations: 445.7 kB / 0.5872 GB, free: 24.59 MB / 430.1 MB Notification: Performance of Causalize: time 0.001846/0.01492, allocations: 1.719 MB / 0.5889 GB, free: 23.98 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.001023/0.01596, allocations: 1.25 MB / 0.5901 GB, free: 23.2 MB / 430.1 MB Notification: Performance of Inline: time 0.002724/0.01869, allocations: 3.028 MB / 0.5931 GB, free: 21.45 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001111/0.01881, allocations: 103.6 kB / 0.5931 GB, free: 21.38 MB / 430.1 MB Notification: Performance of Cleanup: time 7.392e-05/0.01889, allocations: 101.9 kB / 0.5932 GB, free: 21.33 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.006638/0.02554, allocations: 5.579 MB / 0.5987 GB, free: 19.34 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!