Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.Generic.ULTC.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.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.Generic.ULTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0717/0.0717, allocations: 12.61 MB / 28.92 MB, free: 0.6211 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.000869/0.0008689, allocations: 103.5 kB / 32.51 MB, free: 3.57 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.143/1.143, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001109/0.001109, allocations: 188.5 kB / 291.4 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3865/0.3865, allocations: 78.49 MB / 420 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.506e-05, allocations: 5.375 kB / 0.5564 GB, free: 28.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003406/0.003429, allocations: 4.407 MB / 0.5607 GB, free: 25.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.004959, allocations: 1.201 MB / 0.5618 GB, free: 24.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.005146, allocations: 6.688 kB / 0.5618 GB, free: 24.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.005431, allocations: 149 kB / 0.562 GB, free: 24.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.005826, allocations: 226.4 kB / 0.5622 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.006777, allocations: 0.5815 MB / 0.5628 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.00747, allocations: 0.9155 MB / 0.5637 GB, free: 23.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.007726, allocations: 202.5 kB / 0.5639 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.007963, allocations: 345.2 kB / 0.5642 GB, free: 23.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.008342, allocations: 425.3 kB / 0.5646 GB, free: 23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.008428, allocations: 57.66 kB / 0.5647 GB, free: 23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.008679, allocations: 132.5 kB / 0.5648 GB, free: 22.98 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0006081/0.009296, allocations: 1.361 MB / 0.5661 GB, free: 22.04 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002863/0.009589, allocations: 0.8895 MB / 0.567 GB, free: 21.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.0097, allocations: 118.8 kB / 0.5671 GB, free: 21.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.876e-05/0.009764, allocations: 18.3 kB / 0.5671 GB, free: 21.32 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: 134 (125) * Number of variables: 134 (134) Notification: Performance of Bindings: time 0.002171/0.01194, allocations: 3.769 MB / 0.5708 GB, free: 18.54 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002941/0.01224, allocations: 386.9 kB / 0.5712 GB, free: 18.25 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002101/0.01435, allocations: 3.327 MB / 0.5744 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001002/0.01446, allocations: 159.7 kB / 0.5746 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Alias: time 0.002393/0.01686, allocations: 2.97 MB / 0.5775 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simplify2: time 7.632e-05/0.01694, allocations: 123 kB / 0.5776 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Events: time 0.0002971/0.01725, allocations: 416 kB / 0.578 GB, free: 13 MB / 398.1 MB Notification: Performance of Detect States: time 0.0003463/0.0176, allocations: 0.5967 MB / 0.5786 GB, free: 12.39 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0004947/0.0181, allocations: 0.7413 MB / 0.5793 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Causalize: time 0.002489/0.0206, allocations: 3.183 MB / 0.5824 GB, free: 8.43 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.001184/0.02179, allocations: 2.135 MB / 0.5845 GB, free: 6.266 MB / 398.1 MB Notification: Performance of Inline: time 0.002518/0.02431, allocations: 4.171 MB / 0.5885 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001121/0.02444, allocations: 139.7 kB / 0.5887 GB, free: 1.891 MB / 398.1 MB Notification: Performance of Cleanup: time 8.756e-05/0.02453, allocations: 171.8 kB / 0.5888 GB, free: 1.723 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) pre(false) = not pre(true) ($RES_SIM_0) slice: {}; [SCAL] (1) pre(true) = false ($RES_SIM_1) slice: {}; [SCAL] (1) Line12_b.Z.re = 0.0 ($RES_SIM_233) slice: {}; [SCAL] (1) Line12_b.Z.im = 0.0 ($RES_SIM_234) slice: {}; [SCAL] (1) Line12_b.Y.re = 0.0 ($RES_SIM_235) slice: {}; [SCAL] (1) Line12_b.Y.im = 0.0 ($RES_SIM_236) slice: {}; [SCAL] (1) Line34.Z.re = 0.0 ($RES_SIM_237) slice: {}; [SCAL] (1) Line34.Z.im = 0.0 ($RES_SIM_238) slice: {}; [SCAL] (1) Line34.Y.re = 0.0 ($RES_SIM_239) slice: {}; [SCAL] (1) Line34.Y.im = 0.0 ($RES_SIM_240) slice: {}; [SCAL] (1) Line12_a.Z.re = 0.0 ($RES_SIM_241) slice: {}; [SCAL] (1) Line12_a.Z.im = 0.0 ($RES_SIM_242) slice: {}; [SCAL] (1) Line12_a.Y.re = 0.0 ($RES_SIM_243) slice: {}; [SCAL] (1) Line12_a.Y.im = 0.0 ($RES_SIM_244) slice: {}; Notification: Performance of Causalize: time 0.007646/0.03218, allocations: 7.732 MB / 0.5964 GB, free: 9.84 MB / 414.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if $TEV_3 then [RECD] (2) Line12_b.ir = Complex(0.0, 0.0) ($RES_SIM_16) [RECD] (2) Line12_b.is = Complex(0.0, 0.0) ($RES_SIM_17) else [RECD] (2) Complex.'constructor'.fromReal(Line12_b.vr.re - Line12_b.vs.re, Line12_b.vr.im - Line12_b.vs.im) = Complex.'constructor'.fromReal(Line12_b.Z.re * ((Line12_b.ir.re + Line12_b.vr.im * Line12_b.Y.im) - Line12_b.vr.re * Line12_b.Y.re) - Line12_b.Z.im * (Line12_b.ir.im - (Line12_b.vr.re * Line12_b.Y.im + Line12_b.vr.im * Line12_b.Y.re)), Line12_b.Z.re * (Line12_b.ir.im - (Line12_b.vr.re * Line12_b.Y.im + Line12_b.vr.im * Line12_b.Y.re)) + Line12_b.Z.im * ((Line12_b.ir.re + Line12_b.vr.im * Line12_b.Y.im) - Line12_b.vr.re * Line12_b.Y.re)) ($RES_SIM_18) [RECD] (2) Complex.'constructor'.fromReal(Line12_b.vs.re - Line12_b.vr.re, Line12_b.vs.im - Line12_b.vr.im) = Complex.'constructor'.fromReal(Line12_b.Z.re * ((Line12_b.is.re + Line12_b.vs.im * Line12_b.Y.im) - Line12_b.vs.re * Line12_b.Y.re) - Line12_b.Z.im * (Line12_b.is.im - (Line12_b.vs.re * Line12_b.Y.im + Line12_b.vs.im * Line12_b.Y.re)), Line12_b.Z.re * (Line12_b.is.im - (Line12_b.vs.re * Line12_b.Y.im + Line12_b.vs.im * Line12_b.Y.re)) + Line12_b.Z.im * ((Line12_b.is.re + Line12_b.vs.im * Line12_b.Y.im) - Line12_b.vs.re * Line12_b.Y.re)) ($RES_SIM_19) end if; Error: Internal error NBInitialization.main failed to apply modules!