Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_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.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 107.3 kB / 16.42 MB, free: 6.023 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.407/1.407, allocations: 222.9 MB / 240.1 MB, free: 4.484 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.001913/0.001913, 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.0.1/package.mo): time 0.5004/0.5004, allocations: 78.52 MB / 419.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.412e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.3184/0.3184, allocations: 3.385 MB / 0.5575 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3202, allocations: 1.054 MB / 0.5585 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.3204, allocations: 4.625 kB / 0.5585 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.3207, allocations: 104.2 kB / 0.5586 GB, free: 36.77 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.3211, allocations: 180.1 kB / 0.5588 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.3218, allocations: 352.4 kB / 0.5591 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.3224, allocations: 0.675 MB / 0.5598 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.3227, allocations: 151.3 kB / 0.5599 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.3229, allocations: 255.1 kB / 0.5602 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.3232, allocations: 267.7 kB / 0.5604 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.3233, allocations: 50.91 kB / 0.5605 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.3235, allocations: 107.9 kB / 0.5606 GB, free: 36.5 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.00047/0.324, allocations: 0.8746 MB / 0.5614 GB, free: 36.03 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002182/0.3242, allocations: 0.5438 MB / 0.562 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.475e-05/0.3243, allocations: 81.06 kB / 0.562 GB, free: 35.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.788e-05/0.3244, allocations: 11.12 kB / 0.5621 GB, free: 35.65 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: 71 (71) * Number of variables: 71 (71) Notification: Performance of Bindings: time 0.001696/0.3261, allocations: 2.441 MB / 0.5644 GB, free: 34.65 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0001934/0.3263, allocations: 173.2 kB / 0.5646 GB, free: 34.63 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001202/0.3275, allocations: 1.632 MB / 0.5662 GB, free: 34.52 MB / 430.1 MB Notification: Performance of simplify1: time 7.798e-05/0.3276, allocations: 92.88 kB / 0.5663 GB, free: 34.52 MB / 430.1 MB Notification: Performance of Alias: time 0.002023/0.3296, allocations: 2.005 MB / 0.5682 GB, free: 33.88 MB / 430.1 MB Notification: Performance of simplify2: time 5.148e-05/0.3297, allocations: 70.45 kB / 0.5683 GB, free: 33.88 MB / 430.1 MB Notification: Performance of Detect States: time 0.0002653/0.3299, allocations: 296.8 kB / 0.5686 GB, free: 33.83 MB / 430.1 MB Notification: Performance of Events: time 0.0001514/0.3301, allocations: 132.9 kB / 0.5687 GB, free: 33.81 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0003267/0.3304, allocations: 374.3 kB / 0.5691 GB, free: 33.76 MB / 430.1 MB Notification: Performance of Causalize: time 0.001479/0.3319, allocations: 1.558 MB / 0.5706 GB, free: 33.47 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.00068/0.3326, allocations: 0.9703 MB / 0.5715 GB, free: 33.35 MB / 430.1 MB Notification: Performance of Inline: time 0.001568/0.3342, allocations: 2.115 MB / 0.5736 GB, free: 32.25 MB / 430.1 MB Notification: Performance of Partitioning: time 8.61e-05/0.3343, allocations: 84.61 kB / 0.5737 GB, free: 32.19 MB / 430.1 MB Notification: Performance of Cleanup: time 5.938e-05/0.3344, allocations: 90.09 kB / 0.5738 GB, free: 32.13 MB / 430.1 MB Notification: Performance of Causalize: time 0.004264/0.3386, allocations: 4.574 MB / 0.5782 GB, free: 30.45 MB / 430.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_0 then [----] [SCAL] (1) phaseShiftingTransformer.twoWindingTransformer.n.vi = lOADPQ.p.vr * sin(phaseShiftingTransformer.phaseShifter.alpha_max) + lOADPQ.p.vi * cos(phaseShiftingTransformer.phaseShifter.alpha_max) ($RES_SIM_20) [----] elseif $SEV_1 then [----] [SCAL] (1) phaseShiftingTransformer.twoWindingTransformer.n.vi = lOADPQ.p.vr * sin(phaseShiftingTransformer.phaseShifter.alpha_min) + lOADPQ.p.vi * cos(phaseShiftingTransformer.phaseShifter.alpha_min) ($RES_SIM_21) [----] else [----] [SCAL] (1) phaseShiftingTransformer.twoWindingTransformer.n.vi = lOADPQ.p.vr * sin(phaseShiftingTransformer.phaseShifter.alpha) + lOADPQ.p.vi * cos(phaseShiftingTransformer.phaseShifter.alpha) ($RES_SIM_22) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!