Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 103.7 kB / 16.42 MB, free: 6.457 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.138/1.138, allocations: 222.9 MB / 240.1 MB, free: 4.496 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.001072/0.001072, allocations: 188.5 kB / 290.4 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4197/0.4197, allocations: 91.89 MB / 432.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.706e-06/8.727e-06, allocations: 2.281 kB / 0.5733 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.002911/0.002928, allocations: 4.386 MB / 0.5776 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004251, allocations: 1.244 MB / 0.5788 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.004418, allocations: 6.438 kB / 0.5788 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.004669, allocations: 146 kB / 0.5789 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.005021, allocations: 267.1 kB / 0.5792 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.005865, allocations: 0.5842 MB / 0.5798 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.006373, allocations: 0.918 MB / 0.5807 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.006593, allocations: 205.7 kB / 0.5809 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.006773, allocations: 347.1 kB / 0.5812 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.007057, allocations: 420.7 kB / 0.5816 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.007124, allocations: 61.36 kB / 0.5816 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.007333, allocations: 129.3 kB / 0.5818 GB, free: 28.01 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0004741/0.007816, allocations: 1.371 MB / 0.5831 GB, free: 27.06 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002133/0.008035, allocations: 0.897 MB / 0.584 GB, free: 26.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.008122, allocations: 123.4 kB / 0.5841 GB, free: 26.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.62e-05/0.008174, allocations: 19.19 kB / 0.5841 GB, free: 26.34 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: 136 (127) * Number of variables: 136 (136) Notification: Performance of Bindings: time 0.001904/0.01008, allocations: 3.779 MB / 0.5878 GB, free: 23.64 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0002782/0.01037, allocations: 379.8 kB / 0.5882 GB, free: 23.39 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001994/0.01237, allocations: 3.352 MB / 0.5914 GB, free: 21.5 MB / 430.1 MB Notification: Performance of simplify1: time 9.258e-05/0.01247, allocations: 154.5 kB / 0.5916 GB, free: 21.43 MB / 430.1 MB Notification: Performance of Alias: time 0.002246/0.01472, allocations: 2.984 MB / 0.5945 GB, free: 19.54 MB / 430.1 MB Notification: Performance of simplify2: time 7.39e-05/0.01481, allocations: 122.7 kB / 0.5946 GB, free: 19.48 MB / 430.1 MB Notification: Performance of Events: time 0.0003138/0.01513, allocations: 427.1 kB / 0.595 GB, free: 19.23 MB / 430.1 MB Notification: Performance of Detect States: time 0.0004646/0.0156, allocations: 0.612 MB / 0.5956 GB, free: 18.84 MB / 430.1 MB Notification: Performance of Partitioning: time 0.00057/0.01618, allocations: 0.7516 MB / 0.5964 GB, free: 18.46 MB / 430.1 MB Notification: Performance of Causalize: time 0.002938/0.01912, allocations: 3.205 MB / 0.5995 GB, free: 17.34 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.001308/0.02044, allocations: 2.147 MB / 0.6016 GB, free: 16.03 MB / 430.1 MB Notification: Performance of Inline: time 0.002733/0.02318, allocations: 4.188 MB / 0.6057 GB, free: 13.5 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001267/0.02331, allocations: 140.8 kB / 0.6058 GB, free: 13.41 MB / 430.1 MB Notification: Performance of Cleanup: time 9.793e-05/0.02342, allocations: 182.6 kB / 0.606 GB, free: 13.3 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) 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_236) slice: {}; [SCAL] (1) Line12_b.Z.im = 0.0 ($RES_SIM_237) slice: {}; [SCAL] (1) Line12_b.Y.re = 0.0 ($RES_SIM_238) slice: {}; [SCAL] (1) Line12_b.Y.im = 0.0 ($RES_SIM_239) slice: {}; [SCAL] (1) Line34.Z.re = 0.0 ($RES_SIM_240) slice: {}; [SCAL] (1) Line34.Z.im = 0.0 ($RES_SIM_241) slice: {}; [SCAL] (1) Line34.Y.re = 0.0 ($RES_SIM_242) slice: {}; [SCAL] (1) Line34.Y.im = 0.0 ($RES_SIM_243) slice: {}; [SCAL] (1) Line12_a.Z.re = 0.0 ($RES_SIM_244) slice: {}; [SCAL] (1) Line12_a.Z.im = 0.0 ($RES_SIM_245) slice: {}; [SCAL] (1) Line12_a.Y.re = 0.0 ($RES_SIM_246) slice: {}; [SCAL] (1) Line12_a.Y.im = 0.0 ($RES_SIM_247) slice: {}; Notification: Performance of Causalize: time 0.007135/0.03056, allocations: 7.883 MB / 0.6137 GB, free: 10.49 MB / 430.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!