Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_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.001278/0.001279, allocations: 115.1 kB / 16.43 MB, free: 6.508 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.364/1.364, allocations: 222.9 MB / 240.1 MB, free: 4.598 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.001337/0.001337, allocations: 192.5 kB / 290.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4338/0.4338, allocations: 78.52 MB / 419.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.444e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.2461/0.2461, allocations: 4.351 MB / 0.5584 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.2481, allocations: 1.239 MB / 0.5596 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.2484, allocations: 5.875 kB / 0.5597 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.2487, allocations: 146.9 kB / 0.5598 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.2492, allocations: 231 kB / 0.56 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.2502, allocations: 0.5731 MB / 0.5606 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.251, allocations: 0.9144 MB / 0.5615 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.2512, allocations: 205 kB / 0.5617 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.2515, allocations: 338.3 kB / 0.562 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.2519, allocations: 417.9 kB / 0.5624 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.252, allocations: 58.34 kB / 0.5624 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.2523, allocations: 142.4 kB / 0.5626 GB, free: 35.98 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0007541/0.2531, allocations: 1.357 MB / 0.5639 GB, free: 35.2 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003573/0.2535, allocations: 0.8923 MB / 0.5648 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2536, allocations: 121 kB / 0.5649 GB, free: 34.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.033e-05/0.2537, allocations: 16.31 kB / 0.5649 GB, free: 34.56 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: 134 (125) * Number of variables: 134 (134) Notification: Performance of Bindings: time 0.002564/0.2563, allocations: 3.773 MB / 0.5686 GB, free: 32.88 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.000369/0.2566, allocations: 385.4 kB / 0.569 GB, free: 32.79 MB / 430.1 MB Notification: Performance of Early Inline: time 0.002459/0.2591, allocations: 3.328 MB / 0.5722 GB, free: 32.53 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001152/0.2592, allocations: 159.1 kB / 0.5724 GB, free: 32.52 MB / 430.1 MB Notification: Performance of Alias: time 0.002706/0.2619, allocations: 2.965 MB / 0.5753 GB, free: 31.2 MB / 430.1 MB Notification: Performance of simplify2: time 8.321e-05/0.262, allocations: 125 kB / 0.5754 GB, free: 31.15 MB / 430.1 MB Notification: Performance of Events: time 0.0003877/0.2624, allocations: 427 kB / 0.5758 GB, free: 30.91 MB / 430.1 MB Notification: Performance of Detect States: time 0.0004343/0.2629, allocations: 0.5886 MB / 0.5764 GB, free: 30.54 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0006083/0.2635, allocations: 0.7337 MB / 0.5771 GB, free: 30.18 MB / 430.1 MB Notification: Performance of Causalize: time 0.003008/0.2665, allocations: 3.185 MB / 0.5802 GB, free: 29.16 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.001552/0.2681, allocations: 2.142 MB / 0.5823 GB, free: 27.85 MB / 430.1 MB Notification: Performance of Inline: time 0.00344/0.2715, allocations: 4.149 MB / 0.5863 GB, free: 25.36 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001446/0.2717, allocations: 142.9 kB / 0.5865 GB, free: 25.27 MB / 430.1 MB Notification: Performance of Cleanup: time 0.0001233/0.2718, allocations: 179.8 kB / 0.5866 GB, free: 25.17 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_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.009109/0.2809, allocations: 7.741 MB / 0.5942 GB, free: 22.45 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!