Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.001916/0.001916, allocations: 87.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.002647/0.002647, allocations: 170.7 kB / 25.18 MB, free: 8.363 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.695 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.9019/0.9019, 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.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.065e-05, allocations: 3.297 kB / 387 MB, free: 7.691 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.02225/0.02227, allocations: 14.06 MB / 401 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.03942, allocations: 7.042 MB / 408.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.04311, allocations: 91.38 kB / 408.2 MB, free: 2.469 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.04572, allocations: 0.9107 MB / 409.1 MB, free: 1.551 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.005503/0.05123, allocations: 1.389 MB / 410.5 MB, free: 168 kB / 378.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.007319/0.05854, allocations: 3.094 MB / 413.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.07121, allocations: 6.911 MB / 420.5 MB, free: 6.219 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003018/0.07423, allocations: 1.215 MB / 421.7 MB, free: 4.914 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.07856, allocations: 2.228 MB / 423.9 MB, free: 2.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.08172, allocations: 1.631 MB / 425.6 MB, free: 1.043 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.08277, allocations: 0.5469 MB / 426.1 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.0849, allocations: 0.9057 MB / 427 MB, free: 15.59 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.008596/0.0935, allocations: 7.666 MB / 434.7 MB, free: 7.875 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.005067/0.09856, allocations: 4.408 MB / 439.1 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.09967, allocations: 239.9 kB / 439.3 MB, free: 3.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.001223/0.1009, allocations: 242.1 kB / 439.6 MB, free: 2.957 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: 714 (673) * Number of variables: 714 (712) Notification: Performance of [SIM] Bindings: time 0.03227/0.1332, allocations: 22.66 MB / 462.2 MB, free: 11.74 MB / 442.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.007812/0.141, allocations: 4.112 MB / 466.3 MB, free: 7.57 MB / 442.7 MB Notification: Performance of [SIM] Early Inline: time 0.03552/0.1765, allocations: 23.94 MB / 490.3 MB, free: 15.35 MB / 474.7 MB Notification: Performance of [SIM] Simplify 1: time 0.003463/0.18, allocations: 1.475 MB / 491.7 MB, free: 13.76 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.0356/0.2156, allocations: 21.27 MB / 0.501 GB, free: 6.324 MB / 490.7 MB Notification: Performance of [SIM] Simplify 2: time 0.002133/0.2177, allocations: 1.061 MB / 0.502 GB, free: 5.172 MB / 490.7 MB Notification: Performance of [SIM] Remove Stream: time 0.001512/0.2192, allocations: 1.041 MB / 0.503 GB, free: 4.039 MB / 490.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.003903/0.2231, allocations: 2.636 MB / 0.5056 GB, free: 1.355 MB / 490.7 MB Notification: Performance of [SIM] Detect States: time 0.004451/0.2276, allocations: 3.417 MB / 0.5089 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of [SIM] Events: time 0.002337/0.2299, allocations: 1.663 MB / 0.5106 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of [SIM] Partitioning: time 0.008082/0.238, allocations: 4.729 MB / 0.5152 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of [SIM] Causalize: time 0.011/0.249, allocations: 6.258 MB / 0.5213 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01508/0.2641, allocations: 10.43 MB / 0.5315 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of [INI] Simplify: time 0.2738/0.5378, allocations: 12.36 MB / 0.5436 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of [INI] Inline: time 0.02414/0.562, allocations: 21.34 MB / 0.5644 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of [INI] Partitioning: time 0.001102/0.5631, allocations: 283.2 kB / 0.5647 GB, free: 120 MB / 0.5105 GB Notification: Performance of [INI] Cleanup: time 0.003871/0.5669, allocations: 5.074 MB / 0.5696 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of [INI] Causalize: time 0.09606/0.663, allocations: 40.67 MB / 0.6094 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of [INI] Tearing: time 0.004001/0.667, allocations: 4.009 MB / 0.6133 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of [SIM] Initialization: time 2.445e-06/0.667, allocations: 3.469 kB / 0.6133 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of [SIM] Remove Dummies: time 7.533e-05/0.6671, allocations: 3.625 kB / 0.6133 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of [SIM] Tearing: time 0.001642/0.6687, allocations: 1.728 MB / 0.615 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of [SIM] Categorize: time 3.491e-05/0.6687, allocations: 19.98 kB / 0.615 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of [SIM] Solve: time 0.0113/0.68, allocations: 6.692 MB / 0.6215 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of [SIM] Jacobian: time 0.009856/0.6899, allocations: 7.667 MB / 0.629 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.199e-05/0.6899, allocations: 3.562 kB / 0.629 GB, free: 67.4 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: .................... 10 (10) {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, line.running, line.state} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 88 (86) {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_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: ........... 428 (scalar:427, array:1, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 725 (scalar:666, array:59, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:37) * 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: ........... 725 (scalar:666, array:59, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:37) * 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.0003056/0.6902, allocations: 325 kB / 0.6293 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of SimCode: time 0.02115/0.7114, allocations: 13.79 MB / 0.6428 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.08001/0.7914, allocations: 57.15 MB / 0.6986 GB, free: 12.62 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource -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.BESSCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.923965903930366]