Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 186.4 kB / 23.71 MB, free: 4.715 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1862/0.1862, allocations: 38.52 MB / 346.3 MB, free: 2.098 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0")
translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3505, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007295/0.3578, allocations: 7.609 MB / 0.5405 GB, free: 15.9 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007167/0.365, allocations: 4.507 MB / 0.5449 GB, free: 12.31 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.3655, allocations: 21.56 kB / 0.5449 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002791/0.3683, allocations: 1.078 MB / 0.5459 GB, free: 11.47 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003565/0.3719, allocations: 1.287 MB / 0.5472 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3729, allocations: 345.6 kB / 0.5475 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001931/0.3749, allocations: 1.41 MB / 0.5489 GB, free: 9.48 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/0.3757, allocations: 0.5143 MB / 0.5494 GB, free: 9.16 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3768, allocations: 0.6556 MB / 0.55 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.3778, allocations: 0.805 MB / 0.5508 GB, free: 8.277 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.378, allocations: 78.78 kB / 0.5509 GB, free: 8.277 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.381, allocations: 1.649 MB / 0.5525 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0006461/0.3817, allocations: 0.6085 MB / 0.5531 GB, free: 6.984 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007052/0.3824, allocations: 0.5662 MB / 0.5537 GB, free: 6.625 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002831/0.3852, allocations: 1.891 MB / 0.5555 GB, free: 5.102 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3852, allocations: 3.938 kB / 0.5555 GB, free: 5.098 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.593e-06/0.3852, allocations: 4 kB / 0.5555 GB, free: 5.094 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.744e-05/0.3852, allocations: 0 / 0.5555 GB, free: 5.094 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 267
 * Number of variables: 267
Notification: Performance of Generate backend data structure: time 0.002211/0.3874, allocations: 1.288 MB / 0.5568 GB, free: 3.77 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3875, allocations: 8.031 kB / 0.5568 GB, free: 3.762 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/0.3916, allocations: 0.5464 MB / 0.5573 GB, free: 3.215 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3927, allocations: 0.5076 MB / 0.5578 GB, free: 2.68 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.3927, allocations: 66.36 kB / 0.5579 GB, free: 2.617 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.3929, allocations: 92.31 kB / 0.558 GB, free: 2.527 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.3955, allocations: 1.508 MB / 0.5594 GB, free: 0.9805 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.3955, allocations: 0 / 0.5594 GB, free: 0.9805 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.3957, allocations: 39.98 kB / 0.5595 GB, free: 0.9414 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.3958, allocations: 98 kB / 0.5596 GB, free: 0.8438 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.3985, allocations: 1.554 MB / 0.5611 GB, free: 15.28 MB / 414.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008462/0.407, allocations: 4.829 MB / 0.5658 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.409, allocations: 1.09 MB / 0.5669 GB, free: 9.141 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.4102, allocations: 0.6904 MB / 0.5675 GB, free: 8.445 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.65e-05/0.4102, allocations: 21.05 kB / 0.5676 GB, free: 8.426 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.4103, allocations: 43.56 kB / 0.5676 GB, free: 8.375 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.4103, allocations: 4 kB / 0.5676 GB, free: 8.371 MB / 414.1 MB
Notification: Performance of matching and sorting (n=108): time 0.008492/0.4188, allocations: 3.529 MB / 0.5711 GB, free: 4.828 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.4189, allocations: 94.14 kB / 0.5711 GB, free: 4.719 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.4195, allocations: 469.8 kB / 0.5716 GB, free: 4.246 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.4196, allocations: 41.7 kB / 0.5716 GB, free: 4.199 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.4199, allocations: 440.6 kB / 0.5721 GB, free: 3.762 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.4203, allocations: 392.6 kB / 0.5724 GB, free: 3.375 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.4207, allocations: 198.9 kB / 0.5726 GB, free: 3.176 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002822/0.421, allocations: 382.8 kB / 0.573 GB, free: 2.793 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009219/0.4219, allocations: 0.5296 MB / 0.5735 GB, free: 2.262 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.423, allocations: 0.7617 MB / 0.5742 GB, free: 1.422 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.4251, allocations: 1.404 MB / 0.5756 GB, free: 15.94 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4251, allocations: 7.938 kB / 0.5756 GB, free: 15.93 MB / 430.1 MB
Notification: Performance of matching and sorting (n=139) (initialization): time 0.003373/0.4285, allocations: 1.786 MB / 0.5774 GB, free: 14.13 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4285, allocations: 4.5 kB / 0.5774 GB, free: 14.12 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4285, allocations: 11.98 kB / 0.5774 GB, free: 14.11 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.4297, allocations: 406.1 kB / 0.5778 GB, free: 13.71 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.4307, allocations: 235.6 kB / 0.578 GB, free: 13.48 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00802/0.4387, allocations: 5.867 MB / 0.5837 GB, free: 7.367 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.4395, allocations: 63.92 kB / 0.5838 GB, free: 7.305 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.4396, allocations: 43.98 kB / 0.5838 GB, free: 7.262 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 26
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (105):
 * Single equations (assignments): 103
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(2,26,100.0%), (1,7,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0006081/0.4402, allocations: 365.4 kB / 0.5842 GB, free: 6.895 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4404, allocations: 83.52 kB / 0.5843 GB, free: 6.812 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.4438, allocations: 1.795 MB / 0.586 GB, free: 5.004 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.4439, allocations: 12 kB / 0.586 GB, free: 4.992 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4439, allocations: 11.94 kB / 0.586 GB, free: 4.98 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4439, allocations: 7.969 kB / 0.586 GB, free: 4.973 MB / 430.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006387/0.4503, allocations: 3.421 MB / 0.5894 GB, free: 1.426 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.4503, allocations: 4 kB / 0.5894 GB, free: 1.422 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/0.4511, allocations: 187.8 kB / 0.5896 GB, free: 1.238 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.4521, allocations: 358.3 kB / 0.5899 GB, free: 0.8828 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/0.4522, allocations: 31.88 kB / 0.5899 GB, free: 0.8516 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007611/0.4598, allocations: 5.571 MB / 0.5954 GB, free: 11.04 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.4598, allocations: 7.984 kB / 0.5954 GB, free: 11.03 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.463, allocations: 1.825 MB / 0.5972 GB, free: 9.133 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.4632, allocations: 79.5 kB / 0.5972 GB, free: 9.055 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.4633, allocations: 28 kB / 0.5973 GB, free: 9.027 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/0.4639, allocations: 51.95 kB / 0.5973 GB, free: 8.977 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.4641, allocations: 100.7 kB / 0.5974 GB, free: 8.879 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.4642, allocations: 32 kB / 0.5974 GB, free: 8.848 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0004249/0.4646, allocations: 327.1 kB / 0.5978 GB, free: 8.527 MB / 446.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4646, allocations: 0 / 0.5978 GB, free: 8.527 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001198/0.4658, allocations: 396 kB / 0.5981 GB, free: 8.141 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (91):
 * Single equations (assignments): 88
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,7,100.0%), (2,24,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.466, allocations: 142 kB / 0.5983 GB, free: 7.996 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002851/0.4688, allocations: 1.677 MB / 0.5999 GB, free: 6.293 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.4688, allocations: 8.5 kB / 0.5999 GB, free: 6.285 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001664/0.4705, allocations: 1.022 MB / 0.6009 GB, free: 5.242 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.4713, allocations: 129.5 kB / 0.601 GB, free: 5.117 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.4751, allocations: 2.237 MB / 0.6032 GB, free: 2.809 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.4762, allocations: 1.174 MB / 0.6044 GB, free: 1.605 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0006068/0.4768, allocations: 233.4 kB / 0.6046 GB, free: 1.375 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.477, allocations: 63.42 kB / 0.6047 GB, free: 1.312 MB / 446.1 MB
Notification: Performance of SimCode: time 7.71e-07/0.477, allocations: 0 / 0.6047 GB, free: 1.312 MB / 446.1 MB
Notification: Performance of Templates: time 0.02612/0.5031, allocations: 13.97 MB / 0.6183 GB, free: 3.352 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.577154875732958]
Failed to read output from testmodel.py, exit status != 0:
0.5122653637081385 0.527694654 0.139149759
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fde81efd7b0>