Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_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.001792/0.001792, allocations: 83.67 kB / 21.74 MB, free: 2.543 MB / 18.57 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.001845/0.001845, allocations: 168.3 kB / 25.18 MB, free: 9.117 MB / 18.57 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.402/1.402, allocations: 158.6 MB / 187.1 MB, free: 2.676 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.5556/0.5556, allocations: 90.83 MB / 330.3 MB, free: 7.711 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.307e-05, allocations: 4.609 kB / 387 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.02139/0.02141, allocations: 14.32 MB / 401.3 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.03975, allocations: 6.785 MB / 408.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004213/0.04396, allocations: 95.38 kB / 408.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003227/0.04719, allocations: 0.7409 MB / 408.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007381/0.05457, allocations: 1.535 MB / 410.5 MB, free: 148 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:106:3-106:91:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.008631/0.0632, allocations: 2.828 MB / 413.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01288/0.07608, allocations: 6.921 MB / 420.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00496/0.08104, allocations: 1.264 MB / 421.5 MB, free: 5.105 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/0.08646, allocations: 2.209 MB / 423.7 MB, free: 2.891 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.09017, allocations: 1.643 MB / 425.3 MB, free: 1.242 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002184/0.09235, allocations: 0.5703 MB / 425.9 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.09537, allocations: 0.8902 MB / 426.8 MB, free: 15.78 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.01098/0.1063, allocations: 7.759 MB / 434.5 MB, free: 7.973 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.005656/0.112, allocations: 4.486 MB / 439 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.1137, allocations: 240 kB / 439.3 MB, free: 3.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.001724/0.1154, allocations: 249.9 kB / 439.5 MB, free: 2.969 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 758 (711) * Number of variables: 758 (756) Notification: Performance of [SIM] Bindings: time 0.03666/0.1521, allocations: 23.47 MB / 463 MB, free: 10.94 MB / 442.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.007835/0.1599, allocations: 4.19 MB / 467.2 MB, free: 6.707 MB / 442.7 MB Notification: Performance of [SIM] Early Inline: time 0.04377/0.2037, allocations: 26.47 MB / 493.6 MB, free: 12.1 MB / 474.7 MB Notification: Performance of [SIM] Simplify 1: time 0.00346/0.2071, allocations: 1.542 MB / 495.2 MB, free: 10.45 MB / 474.7 MB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.03815/0.2453, allocations: 22.58 MB / 0.5056 GB, free: 1.625 MB / 490.7 MB Notification: Performance of [SIM] Simplify 2: time 0.002421/0.2477, allocations: 1.099 MB / 0.5067 GB, free: 468 kB / 490.7 MB Notification: Performance of [SIM] Remove Stream: time 0.001514/0.2492, allocations: 1.06 MB / 0.5077 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of [SIM] Algorithm Locals: time 0.004473/0.2537, allocations: 2.817 MB / 0.5105 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of [SIM] Detect States: time 0.00595/0.2596, allocations: 3.715 MB / 0.5141 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of [SIM] Events: time 0.003157/0.2628, allocations: 1.833 MB / 0.5159 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of [SIM] Partitioning: time 0.01175/0.2745, allocations: 5.327 MB / 0.5211 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of [SIM] Causalize: time 0.0177/0.2922, allocations: 7.046 MB / 0.528 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.2526/0.5449, allocations: 11.26 MB / 0.539 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of [INI] Simplify: time 0.02188/0.5668, allocations: 12.57 MB / 0.5513 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of [INI] Inline: time 0.02386/0.5906, allocations: 23.54 MB / 0.5742 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of [INI] Partitioning: time 0.001321/0.5919, allocations: 289.5 kB / 0.5745 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of [INI] Cleanup: time 0.004253/0.5962, allocations: 5.496 MB / 0.5799 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of [INI] Causalize: time 0.07366/0.6699, allocations: 41.89 MB / 0.6208 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of [INI] Tearing: time 0.007961/0.6778, allocations: 6.125 MB / 0.6268 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of [SIM] Initialization: time 2.595e-06/0.6778, allocations: 0 / 0.6268 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of [SIM] Remove Dummies: time 0.0001106/0.6779, allocations: 3.766 kB / 0.6268 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of [SIM] Tearing: time 0.003596/0.6815, allocations: 2.568 MB / 0.6293 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of [SIM] Categorize: time 6.602e-05/0.6816, allocations: 19.38 kB / 0.6293 GB, free: 68.63 MB / 0.5105 GB Notification: Performance of [SIM] Solve: time 0.01736/0.699, allocations: 7.228 MB / 0.6364 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of [SIM] Jacobian: time 0.01816/0.7171, allocations: 9.345 MB / 0.6455 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.466e-05/0.7171, allocations: 0 / 0.6455 GB, free: 52.45 MB / 0.5105 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: ............................. 23 (23) {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_repc.firstOrder.y, PV.wecc_repc.limPID.I.y, PV.wecc_repc.firstOrder1.y, PV.wecc_repc.firstOrder2.y, PV.wecc_repc.firstOrder3.y, PV.wecc_repc.limPIDFreeze.I.y, PV.wecc_repc.leadLag.x_scaled, PV.wecc_reec.UFilteredPu, PV.wecc_reec.firstOrder1.y, PV.wecc_reec.limPIDFreeze.I.y, PV.wecc_reec.rateLimFirstOrderFreeze1.y, PV.wecc_reec.slewRateLimiter.y, PV.wecc_reec.rateLimFirstOrderFreeze.y, PV.wecc_reec.varLimPIDFreeze.I.y, PV.wecc_reec.firstOrder2.y, PV.wecc_reec.firstOrder3.y} * Number of discrete states: .................... 12 (12) {PV.LvTfo.running, PV.LvTfo.state, PV.source.running, PV.source.state, PV.injector.running, PV.injector.state, PV.wecc_regc.offDelay.tNext, PV.wecc_regc.offDelay.delaySignal, PV.HvTfo.running, PV.HvTfo.state, line.running, line.state} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 82 (80) {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_repc.freeze, $WC_31, $WC_30, $WC_29, $WC_28, $WC_27, $WC_26, $WC_25, $WC_24, $WC_23, $WC_22, $WC_21, $WC_20, $WC_19, $WC_18, $WC_17, $WC_16, $WC_15, $WC_14, $WC_13, $WC_12, $WC_11, $WC_10, $WC_9, $WC_8, $WC_7, $WC_6, $WC_5, $WC_4, $WC_3, $WC_2, $WC_1, $WC_0, $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} * Number of algorithm local variables: .......... 0 (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: ........... 466 (scalar:465, array:1, record:0) * Number of multi strong components: ............ 12 (algorithm:0, when:12, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 714 (scalar:709, array:5, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:44) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 1, nonlinear:3) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 714 (scalar:709, array:5, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:44) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 1, nonlinear:3) Notification: Performance of backend: time 0.0004687/0.7176, allocations: 341.2 kB / 0.6458 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of SimCode: time 0.02141/0.739, allocations: 13.29 MB / 0.6588 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.08773/0.8268, allocations: 58.47 MB / 0.7159 GB, free: 12.55 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.sim & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.616371749900281]