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.001382/0.001382, allocations: 104.3 kB / 20.53 MB, free: 1.285 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.00144/0.00144, allocations: 225.8 kB / 23.85 MB, free: 4.426 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.164/1.164, allocations: 207.7 MB / 234.7 MB, free: 9.754 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.5424/0.5424, allocations: 115 MB / 402 MB, free: 16.52 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.397e-05/1.397e-05, allocations: 3.047 kB / 0.5694 GB, free: 42.12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01058/0.0106, allocations: 11.99 MB / 0.5811 GB, free: 34.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009083/0.01968, allocations: 6.27 MB / 0.5872 GB, free: 29.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.02219, allocations: 97.88 kB / 0.5873 GB, free: 29.5 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.001609/0.0238, allocations: 0.6386 MB / 0.5879 GB, free: 29.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.0269, allocations: 1.29 MB / 0.5892 GB, free: 28.16 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.004089/0.03099, allocations: 2.795 MB / 0.5919 GB, free: 26.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005288/0.03628, allocations: 6.508 MB / 0.5983 GB, free: 22.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.03803, allocations: 1.22 MB / 0.5995 GB, free: 22.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.03994, allocations: 2.234 MB / 0.6017 GB, free: 20.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.04118, allocations: 1.727 MB / 0.6033 GB, free: 19.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005691/0.04175, allocations: 0.5531 MB / 0.6039 GB, free: 19.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.04281, allocations: 0.823 MB / 0.6047 GB, free: 19.55 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.003479/0.04629, allocations: 8.422 MB / 0.6129 GB, free: 12.79 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.002168/0.04846, allocations: 5.257 MB / 0.618 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.04899, allocations: 216 kB / 0.6183 GB, free: 8.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0008371/0.04982, allocations: 246 kB / 0.6185 GB, free: 8.488 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.01388/0.0637, allocations: 19.49 MB / 0.6375 GB, free: 4.492 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002344/0.06604, allocations: 2.345 MB / 0.6398 GB, free: 2.121 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.01456/0.08061, allocations: 15.12 MB / 0.6546 GB, free: 2.934 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00306/0.08367, allocations: 1.775 MB / 0.6563 GB, free: 1.023 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.02037/0.104, allocations: 16.5 MB / 0.6724 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.001963/0.106, allocations: 1.301 MB / 0.6737 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.0008285/0.1068, allocations: 0.8066 MB / 0.6745 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.002256/0.1091, allocations: 2.331 MB / 0.6768 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of [SIM] Events: time 0.001173/0.1103, allocations: 0.905 MB / 0.6776 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.003745/0.114, allocations: 3.627 MB / 0.6812 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 0.009033/0.123, allocations: 6.849 MB / 0.6879 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006732/0.1298, allocations: 7.53 MB / 0.6952 GB, free: 6.684 MB / 0.5294 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.8263451469829306] Failed to read output from testmodel.py, exit status != 0: 0.13894216099288315 0.152318314 0.09979191400000001 Calling exit ...