Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001303/0.001303, allocations: 110 kB / 18.93 MB, free: 2.945 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.408/1.408, allocations: 225.6 MB / 247.7 MB, free: 13.43 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.001501/0.001501, allocations: 200 kB / 303.1 MB, free: 8.672 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5386/0.5386, allocations: 99.66 MB / 458 MB, free: 3.973 MB / 318.1 MB
"
[Timeout remaining time 179]
Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.FACTS.STATCOM_Test")
translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 83.86 kB / 0.6129 GB, free: 6.617 MB / 414.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1684, allocations: 76.98 MB / 0.6881 GB, free: 9.469 MB / 494.1 MB
Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.007153/0.1755, allocations: 5.297 MB / 0.6932 GB, free: 4.141 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003062/0.1786, allocations: 1.419 MB / 0.6946 GB, free: 2.719 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.179, allocations: 8 kB / 0.6946 GB, free: 2.711 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.1794, allocations: 166.5 kB / 0.6948 GB, free: 2.547 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008215/0.1803, allocations: 369.5 kB / 0.6952 GB, free: 2.184 MB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1818, allocations: 0.6398 MB / 0.6958 GB, free: 1.547 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001338/0.1831, allocations: 1.066 MB / 0.6968 GB, free: 488 kB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.1835, allocations: 164.2 kB / 0.697 GB, free: 312 kB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.2934/0.4769, allocations: 445.8 kB / 0.6974 GB, free: 10.3 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008101/0.4777, allocations: 0.537 MB / 0.6979 GB, free: 10.3 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.4779, allocations: 76.06 kB / 0.698 GB, free: 10.3 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.4782, allocations: 137.9 kB / 0.6981 GB, free: 10.3 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.4784, allocations: 207.7 kB / 0.6983 GB, free: 10.26 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.4788, allocations: 466 kB / 0.6988 GB, free: 10.11 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001302/0.4801, allocations: 1.092 MB / 0.6998 GB, free: 9.926 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4801, allocations: 0 / 0.6998 GB, free: 9.926 MB / 494.1 MB
Notification: Performance of FrontEnd: time 1.453e-06/0.4801, allocations: 0.5938 kB / 0.6998 GB, free: 9.926 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 2.571e-05/0.4801, allocations: 2.031 kB / 0.6998 GB, free: 9.926 MB / 494.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.005688/0.4858, allocations: 1.811 MB / 0.7016 GB, free: 9.25 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4858, allocations: 14.55 kB / 0.7016 GB, free: 9.246 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.4886, allocations: 451.2 kB / 0.7021 GB, free: 9.188 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.4899, allocations: 0.5572 MB / 0.7026 GB, free: 8.93 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.4901, allocations: 207.4 kB / 0.7028 GB, free: 8.766 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4902, allocations: 55.08 kB / 0.7028 GB, free: 8.762 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.4918, allocations: 0.773 MB / 0.7036 GB, free: 8.695 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4919, allocations: 0 / 0.7036 GB, free: 8.695 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.4919, allocations: 23 kB / 0.7036 GB, free: 8.695 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4919, allocations: 10.94 kB / 0.7036 GB, free: 8.695 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.4935, allocations: 0.7026 MB / 0.7043 GB, free: 8.688 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004605/0.4981, allocations: 2.627 MB / 0.7069 GB, free: 7.762 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4995, allocations: 0.6076 MB / 0.7075 GB, free: 7.539 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009263/0.5004, allocations: 445.6 kB / 0.7079 GB, free: 7.375 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.499e-05/0.5005, allocations: 15.08 kB / 0.7079 GB, free: 7.371 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.5017, allocations: 0.5934 MB / 0.7085 GB, free: 7.137 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.5017, allocations: 0.8438 kB / 0.7085 GB, free: 7.137 MB / 494.1 MB
Notification: Performance of matching and sorting (n=66): time 0.02076/0.5225, allocations: 4.514 MB / 0.7129 GB, free: 6.355 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.5225, allocations: 85.69 kB / 0.713 GB, free: 6.262 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.5237, allocations: 0.704 MB / 0.7137 GB, free: 5.961 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000135/0.5238, allocations: 37.5 kB / 0.7137 GB, free: 5.922 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.5241, allocations: 384.7 kB / 0.7141 GB, free: 5.613 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.5243, allocations: 243.1 kB / 0.7143 GB, free: 5.426 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.5246, allocations: 107 kB / 0.7144 GB, free: 5.367 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 6.681e-05/0.5246, allocations: 331.4 kB / 0.7147 GB, free: 5.051 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.5257, allocations: 403.3 kB / 0.7151 GB, free: 4.914 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.5267, allocations: 0.5041 MB / 0.7156 GB, free: 4.66 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.5287, allocations: 0.9246 MB / 0.7165 GB, free: 4.223 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5287, allocations: 1.656 kB / 0.7165 GB, free: 4.223 MB / 494.1 MB
Notification: Performance of matching and sorting (n=78) (initialization): time 0.009822/0.5386, allocations: 2.578 MB / 0.719 GB, free: 3.652 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.5386, allocations: 6.875 kB / 0.719 GB, free: 3.652 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.5386, allocations: 2.75 kB / 0.719 GB, free: 3.652 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004374/0.543, allocations: 1.124 MB / 0.7201 GB, free: 3.453 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.5435, allocations: 92.92 kB / 0.7202 GB, free: 3.449 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.5597, allocations: 6.681 MB / 0.7267 GB, free: 15.3 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.5609, allocations: 113 kB / 0.7269 GB, free: 15.24 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.5609, allocations: 29.45 kB / 0.7269 GB, free: 15.23 MB / 0.4981 GB
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.0004337/0.5614, allocations: 196.3 kB / 0.7271 GB, free: 15.07 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.5616, allocations: 104.2 kB / 0.7272 GB, free: 15.01 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009866/0.5714, allocations: 2.601 MB / 0.7297 GB, free: 13.69 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.5714, allocations: 6.688 kB / 0.7297 GB, free: 13.69 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5715, allocations: 1.266 kB / 0.7297 GB, free: 13.69 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.5715, allocations: 5.297 kB / 0.7297 GB, free: 13.69 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.5832, allocations: 3.775 MB / 0.7334 GB, free: 11.33 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5833, allocations: 4 kB / 0.7334 GB, free: 11.32 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.5837, allocations: 86.2 kB / 0.7335 GB, free: 11.3 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004196/0.5879, allocations: 1.072 MB / 0.7345 GB, free: 10.82 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.588, allocations: 11.47 kB / 0.7346 GB, free: 10.82 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.6032, allocations: 5.923 MB / 0.7403 GB, free: 6.957 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6032, allocations: 3.984 kB / 0.7403 GB, free: 6.953 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.6139, allocations: 3.204 MB / 0.7435 GB, free: 5.309 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.6143, allocations: 102.9 kB / 0.7436 GB, free: 5.23 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6145, allocations: 15.53 kB / 0.7436 GB, free: 5.219 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/0.6153, allocations: 82.09 kB / 0.7437 GB, free: 5.18 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/0.6158, allocations: 155.1 kB / 0.7438 GB, free: 5.074 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.6158, allocations: 16.38 kB / 0.7438 GB, free: 5.07 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.0006925/0.6165, allocations: 0.4961 MB / 0.7443 GB, free: 4.758 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 9e-08/0.6165, allocations: 0 / 0.7443 GB, free: 4.758 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.001046/0.6176, allocations: 291.8 kB / 0.7446 GB, free: 4.473 MB / 0.4981 GB
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.0002048/0.6178, allocations: 117.8 kB / 0.7447 GB, free: 4.355 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.004702/0.6225, allocations: 1.494 MB / 0.7462 GB, free: 2.863 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6225, allocations: 0 / 0.7462 GB, free: 2.863 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.003436/0.6259, allocations: 1.025 MB / 0.7472 GB, free: 1.836 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.6268, allocations: 85.97 kB / 0.7472 GB, free: 1.75 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.6307, allocations: 1.616 MB / 0.7488 GB, free: 132 kB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.6313, allocations: 0.9748 MB / 0.7498 GB, free: 15.12 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.0002502/0.6316, allocations: 65.14 kB / 0.7498 GB, free: 15.06 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.6317, allocations: 51.36 kB / 0.7499 GB, free: 15.01 MB / 0.5137 GB
Notification: Performance of SimCode: time 1.002e-06/0.6317, allocations: 0 / 0.7499 GB, free: 15.01 MB / 0.5137 GB
Notification: Performance of Templates: time 0.03185/0.6636, allocations: 17.88 MB / 0.7673 GB, free: 13.21 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile [Timeout 660]
(rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.223302732221782]
Failed to read output from testmodel.py, exit status != 0:
0.6728895278647542 0.688268258 0.20477678500000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc1939957b0>