Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.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.001711/0.001711, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.651/1.651, allocations: 225.6 MB / 247.7 MB, free: 13.27 MB / 206.1 MB
"
[Timeout remaining time 178]
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.001507/0.001507, allocations: 193 kB / 303.1 MB, free: 8.68 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4879/0.4879, allocations: 79.72 MB / 438.1 MB, free: 5.25 MB / 302.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test")
translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 75.88 kB / 0.5839 GB, free: 8.066 MB / 382.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1466, allocations: 72.13 MB / 0.6544 GB, free: 15.83 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006906/0.1535, allocations: 5.267 MB / 0.6595 GB, free: 10.54 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003112/0.1566, allocations: 1.419 MB / 0.6609 GB, free: 9.117 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.157, allocations: 8 kB / 0.6609 GB, free: 9.109 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.1574, allocations: 166.5 kB / 0.6611 GB, free: 8.945 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007333/0.1581, allocations: 377.3 kB / 0.6614 GB, free: 8.574 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1596, allocations: 0.639 MB / 0.662 GB, free: 7.938 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001159/0.1608, allocations: 1.066 MB / 0.6631 GB, free: 6.867 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.1611, allocations: 164.3 kB / 0.6632 GB, free: 6.695 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005295/0.1616, allocations: 450.1 kB / 0.6637 GB, free: 6.254 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.1623, allocations: 0.5367 MB / 0.6642 GB, free: 5.715 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.1625, allocations: 76 kB / 0.6643 GB, free: 5.641 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.1627, allocations: 143.9 kB / 0.6644 GB, free: 5.5 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.1629, allocations: 207.1 kB / 0.6646 GB, free: 5.297 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.1634, allocations: 465.2 kB / 0.665 GB, free: 4.84 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1647, allocations: 1.089 MB / 0.6661 GB, free: 3.746 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1647, allocations: 0 / 0.6661 GB, free: 3.746 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.503e-06/0.1647, allocations: 0 / 0.6661 GB, free: 3.746 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 1.244e-05/0.1648, allocations: 0 / 0.6661 GB, free: 3.746 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 132
 * Number of variables: 132
Notification: Performance of Generate backend data structure: time 0.005128/0.1699, allocations: 1.818 MB / 0.6679 GB, free: 1.883 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1699, allocations: 8.031 kB / 0.6679 GB, free: 1.875 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.1726, allocations: 447.2 kB / 0.6683 GB, free: 1.438 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1737, allocations: 0.5702 MB / 0.6689 GB, free: 0.8359 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.174, allocations: 197.8 kB / 0.6691 GB, free: 0.6094 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1741, allocations: 52 kB / 0.6691 GB, free: 0.5586 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.1758, allocations: 0.7719 MB / 0.6699 GB, free: 15.77 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.1758, allocations: 0 / 0.6699 GB, free: 15.77 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.1759, allocations: 20 kB / 0.6699 GB, free: 15.75 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.1759, allocations: 15.94 kB / 0.6699 GB, free: 15.74 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.1775, allocations: 0.7 MB / 0.6706 GB, free: 15.04 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.1822, allocations: 2.632 MB / 0.6732 GB, free: 12.26 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.1837, allocations: 0.6122 MB / 0.6738 GB, free: 11.62 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/0.1847, allocations: 443.4 kB / 0.6742 GB, free: 11.18 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1848, allocations: 16.64 kB / 0.6742 GB, free: 11.17 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.186, allocations: 0.5935 MB / 0.6748 GB, free: 10.55 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=66): time 2.033e-06/0.186, allocations: 0 / 0.6748 GB, free: 10.55 MB / 478.1 MB
Notification: Performance of matching and sorting (n=66): time 0.0184/0.2044, allocations: 4.505 MB / 0.6792 GB, free: 6.031 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.2045, allocations: 81.77 kB / 0.6793 GB, free: 5.934 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.2055, allocations: 0.7196 MB / 0.68 GB, free: 5.207 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.15e-05/0.2056, allocations: 33.7 kB / 0.68 GB, free: 5.168 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.2059, allocations: 389.2 kB / 0.6804 GB, free: 4.781 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.2062, allocations: 237.9 kB / 0.6806 GB, free: 4.547 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.2064, allocations: 110.4 kB / 0.6807 GB, free: 4.434 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001487/0.2065, allocations: 330 kB / 0.681 GB, free: 4.105 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009877/0.2075, allocations: 401.1 kB / 0.6814 GB, free: 3.715 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.2086, allocations: 0.5098 MB / 0.6819 GB, free: 3.168 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.2106, allocations: 0.9178 MB / 0.6828 GB, free: 2.207 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2106, allocations: 0 / 0.6828 GB, free: 2.207 MB / 478.1 MB
Notification: Performance of matching and sorting (n=78) (initialization): time 0.009229/0.2199, allocations: 2.573 MB / 0.6853 GB, free: 15.62 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2199, allocations: 8 kB / 0.6853 GB, free: 15.61 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.2199, allocations: 7.938 kB / 0.6853 GB, free: 15.61 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0042/0.2241, allocations: 1.124 MB / 0.6864 GB, free: 14.48 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.2246, allocations: 99.77 kB / 0.6865 GB, free: 14.38 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.2417, allocations: 6.682 MB / 0.693 GB, free: 7.578 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.2427, allocations: 111.5 kB / 0.6931 GB, free: 7.469 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.2428, allocations: 20 kB / 0.6932 GB, free: 7.449 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 2 ($whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (51):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(18,10)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.2432, allocations: 202.5 kB / 0.6933 GB, free: 7.242 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.2434, allocations: 95.42 kB / 0.6934 GB, free: 7.148 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009022/0.2525, allocations: 2.617 MB / 0.696 GB, free: 4.516 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.2525, allocations: 7.984 kB / 0.696 GB, free: 4.508 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2525, allocations: 3.938 kB / 0.696 GB, free: 4.504 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2525, allocations: 7.984 kB / 0.696 GB, free: 4.496 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.263, allocations: 3.771 MB / 0.6997 GB, free: 0.6094 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.263, allocations: 4 kB / 0.6997 GB, free: 0.6055 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.2635, allocations: 79.89 kB / 0.6998 GB, free: 0.5273 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.2747/0.5381, allocations: 1.067 MB / 0.7008 GB, free: 43.82 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.5383, allocations: 15.27 kB / 0.7008 GB, free: 43.82 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.552, allocations: 5.908 MB / 0.7066 GB, free: 42.04 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5521, allocations: 4.828 kB / 0.7066 GB, free: 42.04 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.5622, allocations: 3.208 MB / 0.7097 GB, free: 41.2 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.5625, allocations: 107.9 kB / 0.7098 GB, free: 41.13 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.5627, allocations: 14.67 kB / 0.7099 GB, free: 41.12 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007831/0.5634, allocations: 73.83 kB / 0.7099 GB, free: 41.12 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005286/0.564, allocations: 152 kB / 0.7101 GB, free: 41.08 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.564, allocations: 25.95 kB / 0.7101 GB, free: 41.08 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0006898/0.5647, allocations: 0.4938 MB / 0.7106 GB, free: 40.86 MB / 494.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.5647, allocations: 0 / 0.7106 GB, free: 40.86 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.001112/0.5658, allocations: 292.8 kB / 0.7109 GB, free: 40.83 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq)
 * Number of discrete variables: 2 ($whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (41):
 * Single equations (assignments): 40
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(17,11)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.566, allocations: 113.6 kB / 0.711 GB, free: 40.72 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.004129/0.5701, allocations: 1.494 MB / 0.7124 GB, free: 40.21 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.5701, allocations: 0 / 0.7124 GB, free: 40.21 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002869/0.573, allocations: 1.018 MB / 0.7134 GB, free: 39.83 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.5736, allocations: 80.27 kB / 0.7135 GB, free: 39.79 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.5766, allocations: 1.632 MB / 0.7151 GB, free: 38.95 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.577, allocations: 0.9741 MB / 0.716 GB, free: 38.23 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0002165/0.5772, allocations: 65.84 kB / 0.7161 GB, free: 38.22 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.5774, allocations: 52.58 kB / 0.7162 GB, free: 38.21 MB / 494.1 MB
Notification: Performance of SimCode: time 6.61e-07/0.5774, allocations: 1.312 kB / 0.7162 GB, free: 38.21 MB / 494.1 MB
Notification: Performance of Templates: time 0.0284/0.6058, allocations: 17.87 MB / 0.7336 GB, free: 31.31 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile [Timeout 660]
(rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.3297637719661]
Failed to read output from testmodel.py, exit status != 0:
0.6129588987678289 0.623485214 0.45643348199999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1e4dd7d7b0>