Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001367/0.001367, allocations: 111.3 kB / 19.74 MB, free: 2.16 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.001558/0.001558, allocations: 188 kB / 23.02 MB, free: 5.023 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.448/1.448, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06295/0.06295, allocations: 8.246 MB / 315.3 MB, free: 380 kB / 238.1 MB
"
[Timeout remaining time 180]
Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad")
translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 67.89 kB / 439.7 MB, free: 12.18 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1182, allocations: 54.39 MB / 494.1 MB, free: 5.699 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.003258/0.1215, allocations: 1.586 MB / 495.7 MB, free: 4.117 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002409/0.1239, allocations: 1.559 MB / 497.3 MB, free: 2.543 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.124, allocations: 0 / 497.3 MB, free: 2.543 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.1244, allocations: 119.4 kB / 497.4 MB, free: 2.426 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.1247, allocations: 115.2 kB / 497.5 MB, free: 2.312 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.1264, allocations: 0.9252 MB / 498.4 MB, free: 1.387 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000353/0.1268, allocations: 242.8 kB / 498.7 MB, free: 1.148 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.127, allocations: 60.55 kB / 498.7 MB, free: 1.086 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1271, allocations: 95.64 kB / 498.8 MB, free: 0.9922 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1273, allocations: 127.5 kB / 498.9 MB, free: 0.8672 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.1273, allocations: 20 kB / 499 MB, free: 0.8477 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.1277, allocations: 203.8 kB / 499.2 MB, free: 0.6484 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.1278, allocations: 51.77 kB / 499.2 MB, free: 0.5977 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1279, allocations: 103.5 kB / 499.3 MB, free: 0.4961 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.1285, allocations: 394.6 kB / 499.7 MB, free: 112 kB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1285, allocations: 0 / 499.7 MB, free: 112 kB / 350.1 MB
Notification: Performance of FrontEnd: time 1.333e-06/0.1285, allocations: 8 kB / 499.7 MB, free: 104 kB / 350.1 MB
Notification: Performance of Transformations before backend: time 9.859e-06/0.1285, allocations: 0 / 499.7 MB, free: 104 kB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 40
 * Number of variables: 40
Notification: Performance of Generate backend data structure: time 0.002643/0.1311, allocations: 0.7429 MB / 0.4887 GB, free: 15.32 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1312, allocations: 15.89 kB / 0.4887 GB, free: 15.31 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.1312, allocations: 28.8 kB / 0.4888 GB, free: 15.28 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1316, allocations: 202.1 kB / 0.4889 GB, free: 15.06 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1316, allocations: 12.7 kB / 0.489 GB, free: 15.05 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.1317, allocations: 24.38 kB / 0.489 GB, free: 15.02 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.1322, allocations: 268 kB / 0.4892 GB, free: 14.76 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1322, allocations: 192 / 0.4892 GB, free: 14.76 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.1322, allocations: 11.88 kB / 0.4893 GB, free: 14.75 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1322, allocations: 4 kB / 0.4893 GB, free: 14.74 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.1326, allocations: 259.8 kB / 0.4895 GB, free: 14.49 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1343, allocations: 1.085 MB / 0.4906 GB, free: 13.29 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.1351, allocations: 290.5 kB / 0.4908 GB, free: 12.99 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.1353, allocations: 132.8 kB / 0.491 GB, free: 12.86 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.1354, allocations: 15.97 kB / 0.491 GB, free: 12.84 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1354, allocations: 35 kB / 0.491 GB, free: 12.8 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.1354, allocations: 0 / 0.491 GB, free: 12.8 MB / 366.1 MB
Notification: Performance of matching and sorting (n=25): time 0.003412/0.1388, allocations: 0.8918 MB / 0.4919 GB, free: 11.9 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1388, allocations: 59.41 kB / 0.4919 GB, free: 11.83 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1391, allocations: 190.4 kB / 0.4921 GB, free: 11.63 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1391, allocations: 29.7 kB / 0.4922 GB, free: 11.6 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1392, allocations: 128.6 kB / 0.4923 GB, free: 11.47 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.1393, allocations: 99.2 kB / 0.4924 GB, free: 11.37 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1394, allocations: 61.64 kB / 0.4924 GB, free: 11.3 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001646/0.1396, allocations: 326.8 kB / 0.4927 GB, free: 10.98 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.1398, allocations: 163.9 kB / 0.4929 GB, free: 10.82 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.1401, allocations: 165 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.1407, allocations: 354.3 kB / 0.4934 GB, free: 10.3 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1407, allocations: 0 / 0.4934 GB, free: 10.3 MB / 366.1 MB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.001705/0.1424, allocations: 0.6304 MB / 0.494 GB, free: 9.664 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1424, allocations: 4 kB / 0.494 GB, free: 9.66 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1424, allocations: 4 kB / 0.494 GB, free: 9.656 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.1439, allocations: 324.5 kB / 0.4943 GB, free: 9.336 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1441, allocations: 43.91 kB / 0.4944 GB, free: 9.293 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.1491, allocations: 2.652 MB / 0.497 GB, free: 6.523 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.1494, allocations: 35.78 kB / 0.497 GB, free: 6.488 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.1494, allocations: 11.98 kB / 0.497 GB, free: 6.477 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (27):
 * Single equations (assignments): 26
 * 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
   {(6,4)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.1496, allocations: 140.4 kB / 0.4971 GB, free: 6.332 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.1497, allocations: 23.86 kB / 0.4972 GB, free: 6.309 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.1514, allocations: 0.6091 MB / 0.4978 GB, free: 5.684 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1514, allocations: 4 kB / 0.4978 GB, free: 5.68 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1514, allocations: 3.938 kB / 0.4978 GB, free: 5.676 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1514, allocations: 0 / 0.4978 GB, free: 5.676 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1518, allocations: 356.3 kB / 0.4981 GB, free: 5.285 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1518, allocations: 0 / 0.4981 GB, free: 5.285 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.152, allocations: 31.98 kB / 0.4981 GB, free: 5.254 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.1534, allocations: 320.6 kB / 0.4984 GB, free: 4.938 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1534, allocations: 7.984 kB / 0.4984 GB, free: 4.93 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.1578, allocations: 2.632 MB / 0.501 GB, free: 2.184 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1578, allocations: 0 / 0.501 GB, free: 2.184 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.1594, allocations: 0.6722 MB / 0.5017 GB, free: 1.492 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.1595, allocations: 19.84 kB / 0.5017 GB, free: 1.473 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.1595, allocations: 7.984 kB / 0.5017 GB, free: 1.465 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.1597, allocations: 15.12 kB / 0.5017 GB, free: 1.453 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.1598, allocations: 23.95 kB / 0.5017 GB, free: 1.43 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1598, allocations: 8 kB / 0.5017 GB, free: 1.422 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001801/0.16, allocations: 143.2 kB / 0.5019 GB, free: 1.281 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.16, allocations: 4 kB / 0.5019 GB, free: 1.277 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0004663/0.1605, allocations: 99.89 kB / 0.502 GB, free: 1.18 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (20):
 * Single equations (assignments): 19
 * 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
   {(6,4)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.1607, allocations: 119.2 kB / 0.5021 GB, free: 1.055 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001613/0.1623, allocations: 0.6001 MB / 0.5027 GB, free: 452 kB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1623, allocations: 0 / 0.5027 GB, free: 452 kB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001139/0.1634, allocations: 418.4 kB / 0.5031 GB, free: 20 kB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1638, allocations: 35.61 kB / 0.5031 GB, free: 15.98 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.1648, allocations: 0.5011 MB / 0.5036 GB, free: 15.46 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1652, allocations: 0.7446 MB / 0.5043 GB, free: 14.7 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001045/0.1653, allocations: 30.05 kB / 0.5044 GB, free: 14.67 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.1654, allocations: 27.42 kB / 0.5044 GB, free: 14.64 MB / 382.1 MB
Notification: Performance of SimCode: time 4.1e-07/0.1654, allocations: 0 / 0.5044 GB, free: 14.64 MB / 382.1 MB
Notification: Performance of Templates: time 0.01201/0.1774, allocations: 6.305 MB / 0.5105 GB, free: 8.367 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.990117654204369]
Failed to read output from testmodel.py, exit status != 0:
0.18561625108122826 0.391247333 0.25953385799999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f313b4957b0>