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.0009933/0.0009934, allocations: 106.8 kB / 16.42 MB, free: 6.473 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.296/1.296, allocations: 222.9 MB / 240.1 MB, free: 4.523 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.001198/0.001198, allocations: 192.5 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4454/0.4454, allocations: 78.52 MB / 419.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.69e-05, allocations: 3.969 kB / 0.5542 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.2893/0.2893, allocations: 2.767 MB / 0.5569 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2906, allocations: 0.895 MB / 0.5578 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2907, allocations: 3.469 kB / 0.5578 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.291, allocations: 89.86 kB / 0.5579 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.2913, allocations: 119.5 kB / 0.558 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.2921, allocations: 456.9 kB / 0.5584 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.2925, allocations: 483.3 kB / 0.5589 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.2927, allocations: 80.89 kB / 0.559 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2929, allocations: 175.4 kB / 0.5591 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2931, allocations: 230.4 kB / 0.5593 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.2932, allocations: 29.72 kB / 0.5594 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.2933, allocations: 90.62 kB / 0.5595 GB, free: 37.3 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0003711/0.2937, allocations: 0.7104 MB / 0.5601 GB, free: 36.92 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001553/0.2939, allocations: 456.2 kB / 0.5606 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.2939, allocations: 54.47 kB / 0.5606 GB, free: 36.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.187e-05/0.294, allocations: 8.406 kB / 0.5606 GB, free: 36.61 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 (51) * Number of variables: 57 (57) Notification: Performance of Bindings: time 0.001308/0.2953, allocations: 2.02 MB / 0.5626 GB, free: 35.66 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0001152/0.2954, allocations: 112.5 kB / 0.5627 GB, free: 35.65 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001245/0.2967, allocations: 1.858 MB / 0.5645 GB, free: 35.53 MB / 430.1 MB Notification: Performance of simplify1: time 5.313e-05/0.2967, allocations: 79.28 kB / 0.5646 GB, free: 35.52 MB / 430.1 MB Notification: Performance of Alias: time 0.0009286/0.2977, allocations: 1.068 MB / 0.5657 GB, free: 35.23 MB / 430.1 MB Notification: Performance of simplify2: time 5.668e-05/0.2977, allocations: 73.84 kB / 0.5657 GB, free: 35.23 MB / 430.1 MB Notification: Performance of Events: time 0.0001439/0.2979, allocations: 148.2 kB / 0.5659 GB, free: 35.22 MB / 430.1 MB Notification: Performance of Detect States: time 0.000282/0.2982, allocations: 335.3 kB / 0.5662 GB, free: 35.16 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0003363/0.2985, allocations: 408.2 kB / 0.5666 GB, free: 35.12 MB / 430.1 MB Notification: Performance of Causalize: time 0.001533/0.3, allocations: 1.649 MB / 0.5682 GB, free: 34.86 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007881/0.3008, allocations: 1.22 MB / 0.5694 GB, free: 34.75 MB / 430.1 MB Notification: Performance of Inline: time 0.001774/0.3026, allocations: 2.586 MB / 0.5719 GB, free: 33.92 MB / 430.1 MB Notification: Performance of Partitioning: time 6.832e-05/0.3027, allocations: 79.52 kB / 0.572 GB, free: 33.86 MB / 430.1 MB Notification: Performance of Cleanup: time 6.341e-05/0.3028, allocations: 105.5 kB / 0.5721 GB, free: 33.81 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_96) slice: {}; [SCAL] (1) pwLine2.Z.im = 0.0 ($RES_SIM_97) slice: {}; [SCAL] (1) pwLine2.Y.re = 0.0 ($RES_SIM_98) slice: {}; [SCAL] (1) pwLine2.Y.im = 0.0 ($RES_SIM_99) slice: {}; [SCAL] (1) pwLine1.Z.re = 0.0 ($RES_SIM_100) slice: {}; [SCAL] (1) pwLine1.Z.im = 0.0 ($RES_SIM_101) slice: {}; [SCAL] (1) pwLine1.Y.re = 0.0 ($RES_SIM_102) slice: {}; [SCAL] (1) pwLine1.Y.im = 0.0 ($RES_SIM_103) slice: {}; Notification: Performance of Causalize: time 0.004007/0.3068, allocations: 4.404 MB / 0.5764 GB, free: 32.36 MB / 430.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if $TEV_5 then [RECD] (2) pwLine1.ir = Complex(0.0, 0.0) ($RES_SIM_15) [RECD] (2) pwLine1.is = Complex(0.0, 0.0) ($RES_SIM_16) else [RECD] (2) Complex.'constructor'.fromReal(pwLine1.vr.re - pwLine1.vs.re, pwLine1.vr.im - pwLine1.vs.im) = Complex.'constructor'.fromReal(pwLine1.Z.re * ((pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im) - pwLine1.vr.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.ir.im - (pwLine1.vr.re * pwLine1.Y.im + pwLine1.vr.im * pwLine1.Y.re)), pwLine1.Z.re * (pwLine1.ir.im - (pwLine1.vr.re * pwLine1.Y.im + pwLine1.vr.im * pwLine1.Y.re)) + pwLine1.Z.im * ((pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im) - pwLine1.vr.re * pwLine1.Y.re)) ($RES_SIM_17) [RECD] (2) Complex.'constructor'.fromReal(pwLine1.vs.re - pwLine1.vr.re, pwLine1.vs.im - pwLine1.vr.im) = Complex.'constructor'.fromReal(pwLine1.Z.re * ((pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im) - pwLine1.vs.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.is.im - (pwLine1.vs.re * pwLine1.Y.im + pwLine1.vs.im * pwLine1.Y.re)), pwLine1.Z.re * (pwLine1.is.im - (pwLine1.vs.re * pwLine1.Y.im + pwLine1.vs.im * pwLine1.Y.re)) + pwLine1.Z.im * ((pwLine1.is.re + pwLine1.vs.im * pwLine1.Y.im) - pwLine1.vs.re * pwLine1.Y.re)) ($RES_SIM_18) end if; Error: Internal error NBInitialization.main failed to apply modules!