Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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.001428/0.001428, allocations: 111.2 kB / 19.74 MB, free: 2.152 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.001401/0.001401, allocations: 191.9 kB / 23.03 MB, free: 5.016 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.5/1.5, 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.06655/0.06655, allocations: 8.236 MB / 315.3 MB, free: 368 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.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault")
translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 439.7 MB, free: 12.15 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.121, allocations: 54.39 MB / 494.1 MB, free: 5.668 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003952/0.1249, allocations: 1.936 MB / 496.1 MB, free: 3.73 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002542/0.1275, allocations: 1.61 MB / 497.7 MB, free: 2.105 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1276, allocations: 4 kB / 497.7 MB, free: 2.102 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.1281, allocations: 139.2 kB / 497.8 MB, free: 1.965 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.1285, allocations: 159 kB / 498 MB, free: 1.809 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.1302, allocations: 0.8753 MB / 498.8 MB, free: 0.9297 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005376/0.1307, allocations: 350.4 kB / 499.2 MB, free: 0.5859 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1309, allocations: 91.09 kB / 499.3 MB, free: 0.4961 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1311, allocations: 143.5 kB / 499.4 MB, free: 364 kB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.1314, allocations: 179.3 kB / 499.6 MB, free: 184 kB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.1314, allocations: 32 kB / 499.6 MB, free: 152 kB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.1318, allocations: 223.8 kB / 499.8 MB, free: 15.93 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.1319, allocations: 71.75 kB / 499.9 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000191/0.1321, allocations: 171.1 kB / 0.4883 GB, free: 15.69 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.1328, allocations: 0.5217 MB / 0.4889 GB, free: 15.17 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1328, allocations: 0 / 0.4889 GB, free: 15.17 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.543e-06/0.1328, allocations: 0 / 0.4889 GB, free: 15.17 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 6.372e-06/0.1328, allocations: 0 / 0.4889 GB, free: 15.17 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 53
 * Number of variables: 53
Notification: Performance of Generate backend data structure: time 0.002865/0.1357, allocations: 0.8536 MB / 0.4897 GB, free: 14.27 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1358, allocations: 11.89 kB / 0.4897 GB, free: 14.26 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.136, allocations: 52.72 kB / 0.4898 GB, free: 14.21 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.1365, allocations: 257.9 kB / 0.49 GB, free: 13.93 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.1365, allocations: 16.81 kB / 0.49 GB, free: 13.91 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.1366, allocations: 24.38 kB / 0.49 GB, free: 13.89 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.1373, allocations: 339.8 kB / 0.4904 GB, free: 13.55 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1373, allocations: 4.172 kB / 0.4904 GB, free: 13.55 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.1374, allocations: 11.94 kB / 0.4904 GB, free: 13.54 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.1374, allocations: 8 kB / 0.4904 GB, free: 13.53 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.138, allocations: 337.6 kB / 0.4907 GB, free: 13.2 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1401, allocations: 1.329 MB / 0.492 GB, free: 11.75 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.1411, allocations: 330.5 kB / 0.4923 GB, free: 11.42 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.1414, allocations: 188.8 kB / 0.4925 GB, free: 11.23 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.1426, allocations: 0.7264 MB / 0.4932 GB, free: 10.49 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006033/0.1432, allocations: 358 kB / 0.4936 GB, free: 10.1 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.1432, allocations: 0 / 0.4936 GB, free: 10.1 MB / 366.1 MB
Notification: Performance of matching and sorting (n=32): time 0.003499/0.1467, allocations: 1.024 MB / 0.4946 GB, free: 9.062 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.1468, allocations: 199.8 kB / 0.4947 GB, free: 8.824 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.1471, allocations: 272.8 kB / 0.495 GB, free: 8.543 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.1472, allocations: 33.7 kB / 0.495 GB, free: 8.504 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1473, allocations: 156.7 kB / 0.4952 GB, free: 8.344 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1475, allocations: 111.1 kB / 0.4953 GB, free: 8.234 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1476, allocations: 82.11 kB / 0.4954 GB, free: 8.148 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001743/0.1478, allocations: 342.8 kB / 0.4957 GB, free: 7.805 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.1481, allocations: 184.8 kB / 0.4959 GB, free: 7.625 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.1485, allocations: 268.9 kB / 0.4961 GB, free: 7.336 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005358/0.1539, allocations: 1.423 MB / 0.4975 GB, free: 5.859 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.1539, allocations: 0 / 0.4975 GB, free: 5.859 MB / 366.1 MB
Notification: Performance of matching and sorting (n=54) (initialization): time 0.002112/0.156, allocations: 0.8235 MB / 0.4983 GB, free: 5.02 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.1561, allocations: 37.69 kB / 0.4984 GB, free: 4.977 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1561, allocations: 0 / 0.4984 GB, free: 4.977 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.1576, allocations: 316.6 kB / 0.4987 GB, free: 4.664 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1578, allocations: 59.91 kB / 0.4987 GB, free: 4.605 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.1626, allocations: 2.842 MB / 0.5015 GB, free: 1.641 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.1629, allocations: 43.7 kB / 0.5015 GB, free: 1.598 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.163, allocations: 16 kB / 0.5015 GB, free: 1.582 MB / 366.1 MB
Warning: Assuming fixed start value for the following 3 variables:
         lnFault.myFault.fault:DISCRETE(start = false fixed = true )  \"true means the fault is active\" type: Boolean
         lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true )  \"Real part of complex number\" type: Real
         lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = true )  \"Imaginary part of complex number\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (40):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 1
 * 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): 1 system
   {(3,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003525/0.1633, allocations: 203.8 kB / 0.5017 GB, free: 1.367 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.1634, allocations: 35.81 kB / 0.5018 GB, free: 1.332 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.1653, allocations: 0.737 MB / 0.5025 GB, free: 0.5781 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1653, allocations: 7.938 kB / 0.5025 GB, free: 0.5703 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/0.1654, allocations: 4 kB / 0.5025 GB, free: 0.5664 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1654, allocations: 7.984 kB / 0.5025 GB, free: 0.5586 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.1659, allocations: 448.2 kB / 0.5029 GB, free: 80 kB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1659, allocations: 0 / 0.5029 GB, free: 80 kB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.166, allocations: 23.98 kB / 0.503 GB, free: 56 kB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.1673, allocations: 312.4 kB / 0.5033 GB, free: 15.75 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.1673, allocations: 8 kB / 0.5033 GB, free: 15.74 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.1717, allocations: 2.824 MB / 0.506 GB, free: 12.8 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1717, allocations: 0 / 0.506 GB, free: 12.8 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.1736, allocations: 0.7336 MB / 0.5067 GB, free: 12.04 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.1737, allocations: 31.73 kB / 0.5068 GB, free: 12.01 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.1737, allocations: 12 kB / 0.5068 GB, free: 12 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.174, allocations: 8 kB / 0.5068 GB, free: 11.99 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.1741, allocations: 39.88 kB / 0.5068 GB, free: 11.95 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1741, allocations: 8 kB / 0.5068 GB, free: 11.94 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0002239/0.1743, allocations: 200.4 kB / 0.507 GB, free: 11.75 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1743, allocations: 0 / 0.507 GB, free: 11.75 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.000559/0.1749, allocations: 123.9 kB / 0.5072 GB, free: 11.62 MB / 382.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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault)
 * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (18):
 * Single equations (assignments): 16
 * Array equations: 0
 * Algorithm blocks: 1
 * 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): 1 system
   {(3,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002361/0.1751, allocations: 133.1 kB / 0.5073 GB, free: 11.49 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001612/0.1768, allocations: 0.6895 MB / 0.508 GB, free: 10.77 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1768, allocations: 3.938 kB / 0.508 GB, free: 10.77 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.1777, allocations: 477.7 kB / 0.5084 GB, free: 10.28 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.178, allocations: 35.38 kB / 0.5084 GB, free: 10.25 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1793, allocations: 0.6055 MB / 0.509 GB, free: 9.617 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.1797, allocations: 0.7647 MB / 0.5098 GB, free: 8.828 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001219/0.1799, allocations: 30.36 kB / 0.5098 GB, free: 8.793 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.1799, allocations: 23.44 kB / 0.5098 GB, free: 8.77 MB / 382.1 MB
Notification: Performance of SimCode: time 1.052e-06/0.1799, allocations: 4 kB / 0.5098 GB, free: 8.766 MB / 382.1 MB
Notification: Performance of Templates: time 0.01311/0.193, allocations: 6.817 MB / 0.5165 GB, free: 1.969 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.18400239944458]
Failed to read output from testmodel.py, exit status != 0:
0.2011632015928626 0.41308191800000005 0.27783684000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f15d3c9d7b0>