Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.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.001506/0.001506, allocations: 100.3 kB / 20.48 MB, free: 1.379 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.001597/0.001597, allocations: 219.7 kB / 23.78 MB, free: 4.543 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.269/1.269, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.5918/0.5918, allocations: 114.3 MB / 401.2 MB, free: 17.11 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.PVVoltageSource4,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.PVVoltageSource4") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,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.PVVoltageSource4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.896e-05, allocations: 2.281 kB / 0.5683 GB, free: 42.27 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01211/0.01213, allocations: 11.97 MB / 0.58 GB, free: 34.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.02276, allocations: 6.26 MB / 0.5861 GB, free: 29.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.02544, allocations: 98.25 kB / 0.5862 GB, free: 29.66 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.001545/0.02699, allocations: 0.6295 MB / 0.5868 GB, free: 29.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.03023, allocations: 1.3 MB / 0.588 GB, free: 28.32 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.004797/0.03503, allocations: 2.791 MB / 0.5908 GB, free: 26.53 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007953/0.04298, allocations: 6.514 MB / 0.5971 GB, free: 23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.04551, allocations: 1.302 MB / 0.5984 GB, free: 22.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.04833, allocations: 2.237 MB / 0.6006 GB, free: 20.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.05014, allocations: 1.953 MB / 0.6025 GB, free: 19.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006928/0.05084, allocations: 0.5522 MB / 0.603 GB, free: 19.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.05216, allocations: 0.8275 MB / 0.6038 GB, free: 19.48 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.004266/0.05643, allocations: 8.43 MB / 0.6121 GB, free: 12.84 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002943/0.05937, allocations: 5.265 MB / 0.6172 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007754/0.06015, allocations: 217 kB / 0.6174 GB, free: 8.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.001002/0.06115, allocations: 242.3 kB / 0.6177 GB, free: 8.844 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: 687 (665) * Number of variables: 687 (685) Notification: Performance of [SIM] Bindings: time 0.01472/0.07587, allocations: 19.46 MB / 0.6367 GB, free: 5.176 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00264/0.07851, allocations: 2.323 MB / 0.6389 GB, free: 2.828 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.0153/0.09381, allocations: 14.98 MB / 0.6536 GB, free: 3.801 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003993/0.09781, allocations: 2.054 MB / 0.6556 GB, free: 1.621 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.0221/0.1199, allocations: 16.16 MB / 0.6713 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.002172/0.1221, allocations: 1.509 MB / 0.6728 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.0008573/0.1229, allocations: 0.8144 MB / 0.6736 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.00281/0.1257, allocations: 2.329 MB / 0.6759 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of [SIM] Events: time 0.00178/0.1275, allocations: 0.8975 MB / 0.6768 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.005309/0.1328, allocations: 3.623 MB / 0.6803 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 0.009708/0.1425, allocations: 6.966 MB / 0.6871 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00759/0.1501, allocations: 7.538 MB / 0.6945 GB, free: 7.25 MB / 0.5294 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.119419117923826] Failed to read output from testmodel.py, exit status != 0: 0.1605763090774417 0.173747598 0.109832777 Calling exit ...