Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09663/0.09663, allocations: 12.78 MB / 31.61 MB, free: 6.16 MB / 26.18 MB
"
[Timeout remaining time 180]
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.001416/0.001416, allocations: 108 kB / 37.74 MB, free: 0.7578 MB / 26.18 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.558/1.558, allocations: 207.6 MB / 251.4 MB, free: 2.754 MB / 190.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.001914/0.001914, allocations: 192.4 kB / 306.7 MB, free: 11.27 MB / 254.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5114/0.5114, allocations: 79.71 MB / 441.6 MB, free: 11.3 MB / 302.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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)
Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo)
Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test")
translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") [Timeout 660]
"Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.004633/0.004633, allocations: 140.4 kB / 0.5888 GB, free: 24 kB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.356, allocations: 72.04 MB / 0.6592 GB, free: 11.8 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004555/0.3606, allocations: 5.328 MB / 0.6644 GB, free: 6.441 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002444/0.363, allocations: 1.389 MB / 0.6658 GB, free: 5.047 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/0.3634, allocations: 11.94 kB / 0.6658 GB, free: 5.035 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.3638, allocations: 162.6 kB / 0.6659 GB, free: 4.875 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.3644, allocations: 369.4 kB / 0.6663 GB, free: 4.512 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3656, allocations: 0.6411 MB / 0.6669 GB, free: 3.875 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007315/0.3663, allocations: 1.058 MB / 0.6679 GB, free: 2.812 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.3666, allocations: 168.3 kB / 0.6681 GB, free: 2.637 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.3669, allocations: 450.1 kB / 0.6685 GB, free: 2.195 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.3674, allocations: 0.5328 MB / 0.669 GB, free: 1.66 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.3675, allocations: 80 kB / 0.6691 GB, free: 1.582 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.3678, allocations: 143.9 kB / 0.6693 GB, free: 1.441 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3679, allocations: 207.1 kB / 0.6695 GB, free: 1.238 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3682, allocations: 461.3 kB / 0.6699 GB, free: 0.7852 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009876/0.3692, allocations: 1.094 MB / 0.671 GB, free: 15.7 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3692, allocations: 3.984 kB / 0.671 GB, free: 15.69 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.403e-06/0.3692, allocations: 0 / 0.671 GB, free: 15.69 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 1.886e-05/0.3692, allocations: 0 / 0.671 GB, free: 15.69 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.005601/0.3748, allocations: 1.819 MB / 0.6727 GB, free: 13.83 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3748, allocations: 12.03 kB / 0.6728 GB, free: 13.82 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.3776, allocations: 443.2 kB / 0.6732 GB, free: 13.39 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3788, allocations: 0.5663 MB / 0.6737 GB, free: 12.79 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.3792, allocations: 205.7 kB / 0.6739 GB, free: 12.55 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.3793, allocations: 48 kB / 0.674 GB, free: 12.51 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.381, allocations: 0.772 MB / 0.6747 GB, free: 11.72 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3811, allocations: 0 / 0.6747 GB, free: 11.72 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.3811, allocations: 20 kB / 0.6747 GB, free: 11.7 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3811, allocations: 19.88 kB / 0.6748 GB, free: 11.68 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.3828, allocations: 0.7 MB / 0.6754 GB, free: 10.98 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.3878, allocations: 2.632 MB / 0.678 GB, free: 8.199 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.3893, allocations: 0.6078 MB / 0.6786 GB, free: 7.578 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3904, allocations: 443.4 kB / 0.679 GB, free: 7.141 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.439e-05/0.3905, allocations: 12.64 kB / 0.679 GB, free: 7.125 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.3918, allocations: 0.5935 MB / 0.6796 GB, free: 6.516 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=66): time 3.076e-06/0.3918, allocations: 4 kB / 0.6796 GB, free: 6.512 MB / 462.1 MB
Notification: Performance of matching and sorting (n=66): time 0.02059/0.4124, allocations: 4.505 MB / 0.684 GB, free: 1.992 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.4125, allocations: 85.77 kB / 0.6841 GB, free: 1.891 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4137, allocations: 0.708 MB / 0.6848 GB, free: 1.176 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.4138, allocations: 41.69 kB / 0.6848 GB, free: 1.129 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.4142, allocations: 389.2 kB / 0.6852 GB, free: 0.7422 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.4146, allocations: 237.9 kB / 0.6854 GB, free: 0.5078 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.4148, allocations: 110.3 kB / 0.6855 GB, free: 404 kB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001513/0.415, allocations: 330 kB / 0.6859 GB, free: 68 kB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4161, allocations: 405.1 kB / 0.6862 GB, free: 15.67 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.4172, allocations: 0.5059 MB / 0.6867 GB, free: 15.12 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.4193, allocations: 0.9217 MB / 0.6876 GB, free: 14.16 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4193, allocations: 0 / 0.6876 GB, free: 14.16 MB / 478.1 MB
Notification: Performance of matching and sorting (n=78) (initialization): time 0.009608/0.4289, allocations: 2.565 MB / 0.6901 GB, free: 11.59 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.429, allocations: 11.98 kB / 0.6902 GB, free: 11.57 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.429, allocations: 3.938 kB / 0.6902 GB, free: 11.57 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004693/0.4337, allocations: 1.124 MB / 0.6913 GB, free: 10.45 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.4343, allocations: 103.8 kB / 0.6914 GB, free: 10.34 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/0.4529, allocations: 6.665 MB / 0.6979 GB, free: 3.555 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4541, allocations: 115.5 kB / 0.698 GB, free: 3.441 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.4542, allocations: 23.98 kB / 0.698 GB, free: 3.418 MB / 478.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.0005315/0.4548, allocations: 209.5 kB / 0.6982 GB, free: 3.203 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.4551, allocations: 95.44 kB / 0.6983 GB, free: 3.109 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009564/0.4646, allocations: 2.605 MB / 0.7008 GB, free: 492 kB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.4647, allocations: 8 kB / 0.7008 GB, free: 484 kB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4647, allocations: 3.938 kB / 0.7008 GB, free: 480 kB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.4647, allocations: 7.984 kB / 0.7008 GB, free: 472 kB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.4758, allocations: 3.775 MB / 0.7045 GB, free: 12.57 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.4758, allocations: 4 kB / 0.7045 GB, free: 12.57 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.4763, allocations: 79.89 kB / 0.7046 GB, free: 12.49 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004215/0.4805, allocations: 1.078 MB / 0.7057 GB, free: 11.41 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.4806, allocations: 12 kB / 0.7057 GB, free: 11.39 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/0.496, allocations: 5.912 MB / 0.7115 GB, free: 5.367 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.496, allocations: 0 / 0.7115 GB, free: 5.367 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.5068, allocations: 3.212 MB / 0.7146 GB, free: 2.129 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.5072, allocations: 103.3 kB / 0.7147 GB, free: 2.027 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.5074, allocations: 12 kB / 0.7147 GB, free: 2.016 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/0.5083, allocations: 79.91 kB / 0.7148 GB, free: 1.938 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/0.5088, allocations: 148.4 kB / 0.7149 GB, free: 1.793 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/0.5089, allocations: 23.98 kB / 0.7149 GB, free: 1.77 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0007842/0.5097, allocations: 0.4912 MB / 0.7154 GB, free: 1.285 MB / 494.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.5097, allocations: 0 / 0.7154 GB, free: 1.285 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.001144/0.5108, allocations: 303.7 kB / 0.7157 GB, free: 0.9883 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.0002478/0.511, allocations: 120.2 kB / 0.7158 GB, free: 0.8633 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.004731/0.5158, allocations: 1.495 MB / 0.7173 GB, free: 15.36 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5158, allocations: 0 / 0.7173 GB, free: 15.36 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.003412/0.5192, allocations: 1.022 MB / 0.7183 GB, free: 14.32 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009879/0.5202, allocations: 86.92 kB / 0.7184 GB, free: 14.23 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.5243, allocations: 1.621 MB / 0.7199 GB, free: 12.59 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.525, allocations: 0.9747 MB / 0.7209 GB, free: 11.58 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.0003029/0.5253, allocations: 69.12 kB / 0.721 GB, free: 11.52 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.5255, allocations: 51.44 kB / 0.721 GB, free: 11.46 MB / 0.4981 GB
Notification: Performance of SimCode: time 1.162e-06/0.5255, allocations: 0 / 0.721 GB, free: 11.46 MB / 0.4981 GB
Notification: Performance of Templates: time 0.03729/0.5628, allocations: 17.87 MB / 0.7385 GB, free: 9.57 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile [Timeout 660]
(rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.257427194155753]
Failed to read output from testmodel.py, exit status != 0:
0.5730338273569942 0.588139572 0.215806128
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0f817e97b0>