Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.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.001405/0.001405, allocations: 82.11 kB / 20.72 MB, free: 1.18 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.001524/0.001524, allocations: 178.8 kB / 24 MB, free: 4.277 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.149/1.149, allocations: 158.6 MB / 185.8 MB, free: 6.422 MB / 174.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.5676/0.5676, allocations: 89.96 MB / 328 MB, free: 376 kB / 302.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.PVVoltageSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.LvMeasurements.PPuSnRef|PV.LvMeasurements.QPuSnRef|PV.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.LvMeasurements.PPuSnRef|PV.LvMeasurements.QPuSnRef|PV.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.528e-05, allocations: 2.938 kB / 0.5013 GB, free: 49.87 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC): time 0.008643/0.008659, allocations: 10.3 MB / 0.5113 GB, free: 43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.01543, allocations: 5.259 MB / 0.5165 GB, free: 39.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.01698, allocations: 60.97 kB / 0.5165 GB, free: 39.23 MB / 478.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: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). [/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.001233/0.01822, allocations: 0.6657 MB / 0.5172 GB, free: 38.89 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002343/0.02056, allocations: 1.271 MB / 0.5184 GB, free: 38.06 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVInverterVoltageSource_INIT.mo:90:3-90:108:writable] Warning: In relation Modelica.ComplexMath.'abs'(pVVoltageSourceNoPlantControl_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.02336, allocations: 1.93 MB / 0.5203 GB, free: 36.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.02701, allocations: 4.785 MB / 0.525 GB, free: 34.31 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.02816, allocations: 0.7772 MB / 0.5257 GB, free: 33.8 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.02963, allocations: 1.565 MB / 0.5273 GB, free: 32.95 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.03074, allocations: 1.158 MB / 0.5284 GB, free: 32.42 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004172/0.03115, allocations: 391.3 kB / 0.5288 GB, free: 32.42 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009358/0.03209, allocations: 0.6682 MB / 0.5294 GB, free: 32.34 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.002636/0.03473, allocations: 5.764 MB / 0.535 GB, free: 28.43 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.001335/0.03606, allocations: 3.455 MB / 0.5384 GB, free: 26.1 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.03643, allocations: 164.5 kB / 0.5386 GB, free: 26.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0004895/0.03692, allocations: 164.4 kB / 0.5387 GB, free: 26.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 (467) * Number of variables: 501 (499) Notification: Performance of [SIM] Bindings: time 0.009213/0.04613, allocations: 14.95 MB / 0.5533 GB, free: 15.7 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002325/0.04845, allocations: 2.637 MB / 0.5559 GB, free: 14 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.008987/0.05744, allocations: 13.77 MB / 0.5694 GB, free: 3.215 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001851/0.05929, allocations: 1.351 MB / 0.5707 GB, free: 1.934 MB / 478.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.01306/0.07235, allocations: 11.33 MB / 0.5817 GB, free: 5.48 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001537/0.07389, allocations: 0.9884 MB / 0.5827 GB, free: 4.398 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007791/0.07467, allocations: 0.7278 MB / 0.5834 GB, free: 3.629 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.002903/0.07757, allocations: 2.795 MB / 0.5861 GB, free: 0.707 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.0009862/0.07856, allocations: 0.8062 MB / 0.5869 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.003806/0.08237, allocations: 3.292 MB / 0.5902 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of [SIM] Causalize: time 0.007482/0.08985, allocations: 5.734 MB / 0.5958 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005905/0.09575, allocations: 6.749 MB / 0.6023 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of [INI] Simplify: time 0.01034/0.1061, allocations: 5.71 MB / 0.6079 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of [INI] Inline: time 0.01214/0.1182, allocations: 13.44 MB / 0.621 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 0.0006134/0.1188, allocations: 240.7 kB / 0.6213 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.003792/0.1226, allocations: 4.325 MB / 0.6255 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.07452/0.1972, allocations: 56.07 MB / 0.6803 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of [INI] Tearing: time 0.001759/0.1989, allocations: 1.764 MB / 0.682 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of [SIM] Initialization: time 1.262e-06/0.1989, allocations: 0 / 0.682 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of [SIM] Remove Dummies: time 3.427e-05/0.199, allocations: 6 kB / 0.682 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of [SIM] Tearing: time 0.0006995/0.1997, allocations: 0.6478 MB / 0.6826 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of [SIM] Categorize: time 2.553e-05/0.1997, allocations: 12 kB / 0.6826 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of [SIM] Solve: time 0.008018/0.2077, allocations: 4.952 MB / 0.6875 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of [SIM] Jacobian: time 0.008594/0.2163, allocations: 7.514 MB / 0.6948 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.084e-05/0.2163, allocations: 0 / 0.6948 GB, free: 15.93 MB / 0.6075 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 14 (14) {PV.wecc_regc.rateLimFirstOrderFreeze2.y, PV.wecc_regc.rateLimFirstOrderFreeze1.y, PV.wecc_regc.firstOrder.y, PV.wecc_regc.vSourceRef.firstOrder.y, PV.wecc_regc.vSourceRef.firstOrder1.y, PV.wecc_regc.phi, PV.pll.limIntegrator.y, PV.wecc_reec.UFilteredPu, PV.wecc_reec.firstOrder1.y, PV.wecc_reec.limPIDFreeze.I.y, PV.wecc_reec.rateLimFirstOrderFreeze1.y, PV.wecc_reec.switch3.u3, PV.wecc_reec.POrdPu, PV.wecc_reec.varLimPIDFreeze.I.y} * Number of discrete states: .................... 13 (13) {PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu, PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime, PV.wecc_reec.iqInjectionLogic.vDipInjEndTime, PV.LvTfo.running.value, PV.LvTfo.state, PV.source.running.value, PV.source.state, PV.injector.running.value, PV.injector.state, PV.wecc_regc.offDelay.tNext, PV.wecc_regc.offDelay.delaySignal, line.running.value, line.state} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 70 (68) {PV.wecc_regc.frtOn, PV.wecc_regc.offDelay.u, PV.wecc_regc.offDelay.y, PV.wecc_regc.and1.u, PV.wecc_regc.and1.y, PV.wecc_regc.and2.u, PV.wecc_regc.and2.y, PV.wecc_reec.iqInjectionLogic.vDip, PV.wecc_reec.currentLimitsCalculation1.vDip, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 249 (scalar:249, array:0, record:0) * Number of multi strong components: ............ 13 (algorithm:0, when:13, if:0, tuple:6) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 722 (scalar:668, array:54, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:17) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 722 (scalar:668, array:54, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:17) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0003011/0.2166, allocations: 287.5 kB / 0.6951 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01973/0.2363, allocations: 18.11 MB / 0.7128 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.2574/0.4938, allocations: 37.23 MB / 0.7491 GB, free: 169.1 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.527983391657472] Failed to read output from testmodel.py, exit status != 0: 0.5000649373978376 0.510650438 0.471527848 Calling exit ...