Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001362/0.001362, allocations: 112 kB / 20.43 MB, free: 1.449 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.001419/0.001419, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.533/1.533, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1976/0.1976, allocations: 38.54 MB / 346.3 MB, free: 2.086 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 71.83 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4201, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00542/0.4255, allocations: 4.222 MB / 0.5372 GB, free: 2.598 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001139/0.4266, allocations: 0.8661 MB / 0.538 GB, free: 1.902 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.4268, allocations: 14.75 kB / 0.538 GB, free: 1.895 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.427, allocations: 43.69 kB / 0.5381 GB, free: 1.855 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.4274, allocations: 171.9 kB / 0.5382 GB, free: 1.715 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.4276, allocations: 96.12 kB / 0.5383 GB, free: 1.633 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004122/0.428, allocations: 397.7 kB / 0.5387 GB, free: 1.41 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.4282, allocations: 63.06 kB / 0.5388 GB, free: 1.375 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.4284, allocations: 189.3 kB / 0.5389 GB, free: 1.266 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.4287, allocations: 189.8 kB / 0.5391 GB, free: 1.152 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.4288, allocations: 19.97 kB / 0.5391 GB, free: 1.152 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.4288, allocations: 24.66 kB / 0.5392 GB, free: 1.148 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4289, allocations: 90.23 kB / 0.5392 GB, free: 1.086 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.4291, allocations: 141.5 kB / 0.5394 GB, free: 0.9922 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.4294, allocations: 290.6 kB / 0.5397 GB, free: 0.7969 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4294, allocations: 0 / 0.5397 GB, free: 0.7969 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.973e-06/0.4294, allocations: 1.375 kB / 0.5397 GB, free: 0.7969 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 7.955e-06/0.4294, allocations: 0 / 0.5397 GB, free: 0.7969 MB / 382.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.0009406/0.4303, allocations: 0.5284 MB / 0.5402 GB, free: 356 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4304, allocations: 10.81 kB / 0.5402 GB, free: 356 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.4304, allocations: 35.64 kB / 0.5402 GB, free: 336 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.4309, allocations: 270.5 kB / 0.5405 GB, free: 96 kB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.4309, allocations: 18.22 kB / 0.5405 GB, free: 88 kB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.4311, allocations: 42.84 kB / 0.5405 GB, free: 68 kB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.4315, allocations: 290.3 kB / 0.5408 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4316, allocations: 1.469 kB / 0.5408 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.4316, allocations: 10.78 kB / 0.5408 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4316, allocations: 5.281 kB / 0.5408 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.4319, allocations: 190.9 kB / 0.541 GB, free: 15.74 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4336, allocations: 1.241 MB / 0.5422 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.4339, allocations: 118.8 kB / 0.5423 GB, free: 14.49 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.434, allocations: 44.53 kB / 0.5424 GB, free: 14.45 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.434, allocations: 1.5 kB / 0.5424 GB, free: 14.45 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4341, allocations: 39.91 kB / 0.5424 GB, free: 14.4 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.4341, allocations: 4 kB / 0.5424 GB, free: 14.4 MB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.001128/0.4352, allocations: 473.5 kB / 0.5429 GB, free: 14.04 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.4353, allocations: 104.3 kB / 0.543 GB, free: 13.91 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.4356, allocations: 236.2 kB / 0.5432 GB, free: 13.74 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4356, allocations: 30.95 kB / 0.5432 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.4359, allocations: 204.7 kB / 0.5434 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.4359, allocations: 40.81 kB / 0.5435 GB, free: 13.48 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.436, allocations: 49.12 kB / 0.5435 GB, free: 13.45 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0003695/0.4363, allocations: 334.9 kB / 0.5438 GB, free: 13.11 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.4364, allocations: 37.27 kB / 0.5439 GB, free: 13.1 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.4366, allocations: 134.1 kB / 0.544 GB, free: 12.95 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.4369, allocations: 189 kB / 0.5442 GB, free: 12.78 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4369, allocations: 1.406 kB / 0.5442 GB, free: 12.78 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004758/0.4374, allocations: 229.8 kB / 0.5444 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4374, allocations: 6.406 kB / 0.5444 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4374, allocations: 3.562 kB / 0.5444 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.4376, allocations: 35.16 kB / 0.5444 GB, free: 12.62 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.4379, allocations: 70.97 kB / 0.5445 GB, free: 12.59 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.4379, allocations: 4.688 kB / 0.5445 GB, free: 12.59 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.438, allocations: 4.375 kB / 0.5445 GB, free: 12.59 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.4381, allocations: 12.59 kB / 0.5445 GB, free: 12.59 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (23):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 1 system
   {(2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.4383, allocations: 150.2 kB / 0.5447 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.4383, allocations: 26.77 kB / 0.5447 GB, free: 12.43 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.4386, allocations: 144.2 kB / 0.5448 GB, free: 12.33 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.4386, allocations: 10.44 kB / 0.5448 GB, free: 12.32 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4386, allocations: 1.125 kB / 0.5448 GB, free: 12.32 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4386, allocations: 1.5 kB / 0.5448 GB, free: 12.32 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.4391, allocations: 254 kB / 0.5451 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4391, allocations: 1.562 kB / 0.5451 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.4392, allocations: 25.7 kB / 0.5451 GB, free: 12.08 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4392, allocations: 1.125 kB / 0.5451 GB, free: 12.08 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4392, allocations: 6.297 kB / 0.5451 GB, free: 12.08 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4393, allocations: 13.02 kB / 0.5451 GB, free: 12.07 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4393, allocations: 5.219 kB / 0.5451 GB, free: 12.06 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.4397, allocations: 359.2 kB / 0.5455 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.4398, allocations: 25.77 kB / 0.5455 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4398, allocations: 6.812 kB / 0.5455 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4399, allocations: 9.188 kB / 0.5455 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.44, allocations: 16.33 kB / 0.5455 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.44, allocations: 6.594 kB / 0.5455 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001662/0.4402, allocations: 170.8 kB / 0.5457 GB, free: 11.61 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.4402, allocations: 0 / 0.5457 GB, free: 11.61 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003521/0.4405, allocations: 44.44 kB / 0.5457 GB, free: 11.61 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (pLoadDC.i,pLoadDC.L)
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (14):
 * Single equations (assignments): 13
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.4406, allocations: 99.41 kB / 0.5458 GB, free: 11.51 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003648/0.441, allocations: 134.7 kB / 0.546 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.441, allocations: 0 / 0.546 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.4411, allocations: 54.86 kB / 0.546 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.4417, allocations: 57.66 kB / 0.5461 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.443, allocations: 0.6025 MB / 0.5467 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.4436, allocations: 0.769 MB / 0.5474 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001143/0.4437, allocations: 28.06 kB / 0.5474 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.4438, allocations: 23.98 kB / 0.5475 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of SimCode: time 4.81e-07/0.4438, allocations: 0 / 0.5475 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of Templates: time 0.007185/0.4509, allocations: 2.352 MB / 0.5498 GB, free: 9.02 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.32227420900017]
Failed to read output from testmodel.py, exit status != 0:
0.46197058726102114 0.48820825700000003 0.053506928
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fca7250d7b0>