Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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.001821/0.001821, allocations: 83.67 kB / 21.74 MB, free: 2.539 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.001841/0.001841, allocations: 164.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.352/1.352, allocations: 158.6 MB / 187.1 MB, free: 2.652 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.911/0.911, allocations: 90.84 MB / 330.3 MB, free: 7.715 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.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.125e-05, allocations: 5.547 kB / 387 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.02196/0.02198, allocations: 14.52 MB / 401.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.04089, allocations: 7.176 MB / 408.7 MB, free: 1.891 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.04478, allocations: 96 kB / 408.8 MB, free: 1.797 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.04739, allocations: 0.9234 MB / 409.7 MB, free: 0.8672 MB / 378.7 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.004825/0.05221, allocations: 1.425 MB / 411.1 MB, free: 15.44 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.007724/0.05994, allocations: 3.298 MB / 414.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01185/0.07179, allocations: 7.117 MB / 421.5 MB, free: 5.082 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.07504, allocations: 1.244 MB / 422.8 MB, free: 3.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.07946, allocations: 2.302 MB / 425.1 MB, free: 1.441 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.08217, allocations: 1.682 MB / 426.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008937/0.08306, allocations: 0.5586 MB / 427.3 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.08487, allocations: 0.9252 MB / 428.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.009099/0.09397, allocations: 7.872 MB / 436.1 MB, free: 6.348 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.005458/0.09942, allocations: 4.544 MB / 440.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.1005, allocations: 244 kB / 440.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.001315/0.1018, allocations: 254 kB / 441.2 MB, free: 1.277 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: 749 (703) * Number of variables: 749 (747) Notification: Performance of [SIM] Bindings: time 0.03274/0.1345, allocations: 23.44 MB / 464.6 MB, free: 9.277 MB / 442.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.008027/0.1426, allocations: 4.42 MB / 469 MB, free: 4.797 MB / 442.7 MB Notification: Performance of [SIM] Early Inline: time 0.04253/0.1851, allocations: 26.1 MB / 495.1 MB, free: 10.39 MB / 474.7 MB Notification: Performance of [SIM] Simplify 1: time 0.003361/0.1885, allocations: 1.575 MB / 496.7 MB, free: 8.707 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.0389/0.2274, allocations: 22.34 MB / 0.5069 GB, free: 124 kB / 490.7 MB Notification: Performance of [SIM] Simplify 2: time 0.002373/0.2297, allocations: 1.128 MB / 0.508 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of [SIM] Remove Stream: time 0.001756/0.2315, allocations: 1.105 MB / 0.509 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of [SIM] Algorithm Locals: time 0.005266/0.2368, allocations: 2.829 MB / 0.5118 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of [SIM] Detect States: time 0.004737/0.2415, allocations: 3.661 MB / 0.5154 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of [SIM] Events: time 0.002658/0.2442, allocations: 1.849 MB / 0.5172 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of [SIM] Partitioning: time 0.008514/0.2527, allocations: 5.181 MB / 0.5222 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of [SIM] Causalize: time 0.01315/0.2658, allocations: 6.912 MB / 0.529 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.2509/0.5167, allocations: 11.24 MB / 0.54 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of [INI] Simplify: time 0.02762/0.5443, allocations: 12.6 MB / 0.5523 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of [INI] Inline: time 0.02365/0.568, allocations: 22.79 MB / 0.5745 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of [INI] Partitioning: time 0.001372/0.5693, allocations: 294.6 kB / 0.5748 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of [INI] Cleanup: time 0.005123/0.5744, allocations: 5.397 MB / 0.5801 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of [INI] Causalize: time 0.08294/0.6574, allocations: 43.75 MB / 0.6228 GB, free: 74 MB / 0.5105 GB Notification: Performance of [INI] Tearing: time 0.01347/0.6709, allocations: 5.475 MB / 0.6282 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of [SIM] Initialization: time 2.966e-06/0.6709, allocations: 0 / 0.6282 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of [SIM] Remove Dummies: time 0.0001088/0.671, allocations: 3.891 kB / 0.6282 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of [SIM] Tearing: time 0.006577/0.6776, allocations: 2.514 MB / 0.6306 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of [SIM] Categorize: time 4.816e-05/0.6776, allocations: 22.8 kB / 0.6306 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of [SIM] Solve: time 0.02025/0.6979, allocations: 7.198 MB / 0.6377 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of [SIM] Jacobian: time 0.01537/0.7132, allocations: 9.191 MB / 0.6466 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.172e-05/0.7132, allocations: 0 / 0.6466 GB, free: 50.39 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: ......... 1 * 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: ............................. 20 (20) {BESS.reecC.UFilteredPu, BESS.reecC.firstOrder1.y, BESS.reecC.limPIDFreeze.I.y, BESS.reecC.rateLimFirstOrderFreeze1.y, BESS.reecC.slewRateLimiter.y, BESS.reecC.rateLimFirstOrderFreeze.y, BESS.reecC.varLimPIDFreeze.I.y, BESS.reecC.integrator.y, BESS.regcA.rateLimFirstOrderFreeze2.y, BESS.regcA.rateLimFirstOrderFreeze1.y, BESS.regcA.firstOrder.y, BESS.injector.UPhase, BESS.pll.limIntegrator.y, BESS.repcA.firstOrder.y, BESS.repcA.limPID.I.y, BESS.repcA.firstOrder1.y, BESS.repcA.firstOrder2.y, BESS.repcA.firstOrder3.y, BESS.repcA.limPIDFreeze.I.y, BESS.repcA.leadLag.x_scaled} * Number of discrete states: .................... 12 (12) {Zcc.running, Zcc.state, ZPcs.running, ZPcs.state, BESS.HvTfo.running, BESS.HvTfo.state, BESS.LvTfo.running, BESS.LvTfo.state, BESS.injector.running, BESS.injector.state, BESS.regcA.offDelay.tNext, BESS.regcA.offDelay.delaySignal} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 94 (92) {BESS.regcA.frtOn, BESS.regcA.offDelay.u, BESS.regcA.offDelay.y, BESS.regcA.and1.u, BESS.regcA.and1.y, BESS.regcA.and2.u, BESS.regcA.and2.y, BESS.repcA.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_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} * 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: ........... 460 (scalar:459, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 761 (scalar:702, array:59, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:42) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 761 (scalar:702, array:59, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:42) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.000506/0.7138, allocations: 346.5 kB / 0.647 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of SimCode: time 0.03038/0.7441, allocations: 15.19 MB / 0.6618 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.1015/0.8456, allocations: 61.21 MB / 0.7216 GB, free: 6.086 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.388852902688086]