Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 92.38 kB / 20.48 MB, free: 1.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 219.1 kB / 23.78 MB, free: 4.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.5797/0.5797, allocations: 114.3 MB / 401.2 MB, free: 17.13 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.measurements.PPuSnRef|PV.measurements.QPuSnRef|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.measurements.PPuSnRef|PV.measurements.QPuSnRef|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.143e-05, allocations: 2.828 kB / 0.5683 GB, free: 42.42 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01245/0.01247, allocations: 11.27 MB / 0.5793 GB, free: 34.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.02501, allocations: 5.882 MB / 0.585 GB, free: 30.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.02837, allocations: 84.66 kB / 0.5851 GB, free: 30.58 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.002599/0.03097, allocations: 0.5831 MB / 0.5857 GB, free: 30.19 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.03591, allocations: 1.163 MB / 0.5868 GB, free: 29.37 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:67:3-67:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.006144/0.04205, allocations: 2.663 MB / 0.5894 GB, free: 27.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009596/0.05165, allocations: 5.925 MB / 0.5952 GB, free: 24.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003867/0.05552, allocations: 1.159 MB / 0.5963 GB, free: 23.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.05922, allocations: 2.049 MB / 0.5983 GB, free: 22.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.06206, allocations: 1.791 MB / 0.6001 GB, free: 21.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.06353, allocations: 0.4978 MB / 0.6006 GB, free: 21.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.06546, allocations: 0.7659 MB / 0.6013 GB, free: 21.28 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.003997/0.06946, allocations: 7.742 MB / 0.6089 GB, free: 15.48 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002518/0.07198, allocations: 4.847 MB / 0.6136 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008369/0.07282, allocations: 202.1 kB / 0.6138 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0009833/0.0738, allocations: 216.9 kB / 0.614 GB, free: 11.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 618 (596) * Number of variables: 618 (616) Notification: Performance of [SIM] Bindings: time 0.01344/0.08724, allocations: 17.76 MB / 0.6313 GB, free: 10.65 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002869/0.09011, allocations: 2.141 MB / 0.6334 GB, free: 8.477 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.01575/0.1059, allocations: 13.95 MB / 0.6471 GB, free: 10.46 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0038/0.1097, allocations: 1.946 MB / 0.649 GB, free: 8.391 MB / 494.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.02076/0.1304, allocations: 14.49 MB / 0.6631 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.002113/0.1325, allocations: 1.402 MB / 0.6645 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.0008338/0.1334, allocations: 0.7661 MB / 0.6652 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of [SIM] Detect States: time 0.002375/0.1357, allocations: 2.193 MB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of [SIM] Events: time 0.001175/0.1369, allocations: 0.854 MB / 0.6682 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.003813/0.1407, allocations: 3.395 MB / 0.6715 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 0.009341/0.1501, allocations: 6.48 MB / 0.6778 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007015/0.1571, allocations: 7.058 MB / 0.6847 GB, free: 1.441 MB / 0.5137 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:621:7-621:72:writable] Error: Type mismatch in if-expression in component . True branch: PV.wecc_repc.leadLag.x_start has type Real[1], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.15083538973704] Failed to read output from testmodel.py, exit status != 0: 0.1679190336726606 0.181688964 0.10492032300000001 Calling exit ...