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.001726/0.001726, allocations: 100.4 kB / 20.54 MB, free: 1.133 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.001814/0.001814, allocations: 213.4 kB / 23.84 MB, free: 4.328 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.194/1.194, allocations: 207.7 MB / 234.7 MB, free: 9.758 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.5508/0.5508, allocations: 115 MB / 402 MB, free: 16.5 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 1.568e-05/1.568e-05, allocations: 5.609 kB / 0.5694 GB, free: 42.19 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01044/0.01046, allocations: 11.27 MB / 0.5804 GB, free: 34.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008974/0.01943, allocations: 5.898 MB / 0.5862 GB, free: 30.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.02204, allocations: 89.81 kB / 0.5863 GB, free: 30.32 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.001906/0.02395, allocations: 0.5863 MB / 0.5868 GB, free: 29.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.0277, allocations: 1.16 MB / 0.588 GB, free: 29.11 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.004734/0.03244, allocations: 2.664 MB / 0.5906 GB, free: 27.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00581/0.03825, allocations: 5.911 MB / 0.5963 GB, free: 24.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.0407, allocations: 1.089 MB / 0.5974 GB, free: 23.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.04324, allocations: 2.047 MB / 0.5994 GB, free: 22.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.04515, allocations: 1.592 MB / 0.6009 GB, free: 21.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005754/0.04573, allocations: 0.499 MB / 0.6014 GB, free: 21.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.04684, allocations: 0.7644 MB / 0.6022 GB, free: 21.31 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.003405/0.05025, allocations: 7.738 MB / 0.6097 GB, free: 15.29 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002052/0.0523, allocations: 4.837 MB / 0.6145 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.05285, allocations: 201.9 kB / 0.6147 GB, free: 11.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0007769/0.05362, allocations: 212.7 kB / 0.6149 GB, free: 11.62 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.01159/0.06521, allocations: 17.8 MB / 0.6322 GB, free: 9.93 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002284/0.06749, allocations: 2.147 MB / 0.6343 GB, free: 7.746 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.01418/0.08167, allocations: 14.09 MB / 0.6481 GB, free: 9.582 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003115/0.08478, allocations: 1.676 MB / 0.6497 GB, free: 7.773 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.01918/0.104, allocations: 14.78 MB / 0.6642 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.001867/0.1058, allocations: 1.2 MB / 0.6653 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.000778/0.1066, allocations: 0.7623 MB / 0.6661 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of [SIM] Detect States: time 0.002159/0.1088, allocations: 2.203 MB / 0.6682 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of [SIM] Events: time 0.001116/0.1099, allocations: 0.8625 MB / 0.6691 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.00354/0.1134, allocations: 3.395 MB / 0.6724 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 0.00867/0.1221, allocations: 6.366 MB / 0.6786 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006661/0.1288, allocations: 7.05 MB / 0.6855 GB, free: 0.8711 MB / 0.5137 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:623:7-623: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: 2.935541942017153] Failed to read output from testmodel.py, exit status != 0: 0.13896953302901238 0.15307736600000002 0.096712399 Calling exit ...