Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001883/0.001883, allocations: 109.6 kB / 20.43 MB, free: 1.309 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.002257/0.002257, allocations: 190.5 kB / 23.72 MB, free: 4.555 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.583/1.583, 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.2024/0.2024, allocations: 38.54 MB / 346.3 MB, free: 2.051 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.89 kB / 484.5 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4024, allocations: 61.28 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006886/0.4093, allocations: 4.215 MB / 0.5371 GB, free: 2.582 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001399/0.4107, allocations: 0.9326 MB / 0.538 GB, free: 1.832 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.4109, allocations: 18.56 kB / 0.5381 GB, free: 1.82 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.4111, allocations: 48.31 kB / 0.5381 GB, free: 1.777 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.4116, allocations: 182.5 kB / 0.5383 GB, free: 1.629 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.4118, allocations: 87.78 kB / 0.5384 GB, free: 1.559 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004407/0.4122, allocations: 399.1 kB / 0.5388 GB, free: 1.336 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.4124, allocations: 81.97 kB / 0.5388 GB, free: 1.289 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.4127, allocations: 189.3 kB / 0.539 GB, free: 1.18 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.4131, allocations: 187.6 kB / 0.5392 GB, free: 1.074 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.4131, allocations: 18.75 kB / 0.5392 GB, free: 1.074 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.4132, allocations: 19.91 kB / 0.5392 GB, free: 1.074 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4133, allocations: 92.5 kB / 0.5393 GB, free: 1.012 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.4135, allocations: 147.3 kB / 0.5395 GB, free: 0.9141 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.4138, allocations: 284.7 kB / 0.5397 GB, free: 0.7266 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4139, allocations: 0 / 0.5397 GB, free: 0.7266 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.643e-06/0.4139, allocations: 4 kB / 0.5397 GB, free: 0.7227 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.558e-06/0.4139, allocations: 4.969 kB / 0.5397 GB, free: 0.7188 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.0009628/0.4148, allocations: 0.5193 MB / 0.5402 GB, free: 284 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.4149, allocations: 9.719 kB / 0.5402 GB, free: 284 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.415, allocations: 36.36 kB / 0.5403 GB, free: 264 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.4156, allocations: 279 kB / 0.5406 GB, free: 16 kB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.4156, allocations: 22.19 kB / 0.5406 GB, free: 4 kB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.683e-05/0.4157, allocations: 21.55 kB / 0.5406 GB, free: 15.99 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.4163, allocations: 297.6 kB / 0.5409 GB, free: 15.77 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.4163, allocations: 0 / 0.5409 GB, free: 15.77 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.4163, allocations: 6.5 kB / 0.5409 GB, free: 15.76 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4163, allocations: 6.188 kB / 0.5409 GB, free: 15.76 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.4167, allocations: 185.9 kB / 0.5411 GB, free: 15.67 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.4185, allocations: 1.189 MB / 0.5422 GB, free: 14.58 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.4189, allocations: 110.5 kB / 0.5423 GB, free: 14.5 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/0.4189, allocations: 37.48 kB / 0.5424 GB, free: 14.47 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.419, allocations: 10.45 kB / 0.5424 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.419, allocations: 31.78 kB / 0.5424 GB, free: 14.42 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.419, allocations: 0 / 0.5424 GB, free: 14.42 MB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0008973/0.4199, allocations: 423.5 kB / 0.5428 GB, free: 14.09 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.42, allocations: 79.83 kB / 0.5429 GB, free: 14 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.4203, allocations: 247.8 kB / 0.5431 GB, free: 13.83 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.4203, allocations: 25.7 kB / 0.5431 GB, free: 13.8 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4204, allocations: 197.5 kB / 0.5433 GB, free: 13.62 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.4205, allocations: 44.88 kB / 0.5434 GB, free: 13.58 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.4205, allocations: 40.36 kB / 0.5434 GB, free: 13.55 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000196/0.4207, allocations: 345.1 kB / 0.5437 GB, free: 13.21 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.4208, allocations: 35.19 kB / 0.5438 GB, free: 13.19 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.421, allocations: 127.6 kB / 0.5439 GB, free: 13.05 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.4213, allocations: 192.4 kB / 0.5441 GB, free: 12.86 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4213, allocations: 1.031 kB / 0.5441 GB, free: 12.86 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003423/0.4216, allocations: 218.3 kB / 0.5443 GB, free: 12.73 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4216, allocations: 6.25 kB / 0.5443 GB, free: 12.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4216, allocations: 3.875 kB / 0.5443 GB, free: 12.73 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4217, allocations: 5.062 kB / 0.5443 GB, free: 12.73 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4218, allocations: 46.83 kB / 0.5444 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4218, allocations: 3.781 kB / 0.5444 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.4219, allocations: 12.56 kB / 0.5444 GB, free: 12.71 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.422, allocations: 12.33 kB / 0.5444 GB, free: 12.71 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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 (24):
 * Single equations (assignments): 24
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.4221, allocations: 148.5 kB / 0.5445 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.4222, allocations: 21.77 kB / 0.5445 GB, free: 12.56 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.4224, allocations: 138 kB / 0.5447 GB, free: 12.46 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4225, allocations: 6.203 kB / 0.5447 GB, free: 12.46 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4225, allocations: 5.031 kB / 0.5447 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4225, allocations: 5.125 kB / 0.5447 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.4231, allocations: 460.3 kB / 0.5451 GB, free: 12.05 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4231, allocations: 5.469 kB / 0.5451 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.4232, allocations: 22.77 kB / 0.5452 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4232, allocations: 1.5 kB / 0.5452 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4233, allocations: 5.344 kB / 0.5452 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4233, allocations: 1.312 kB / 0.5452 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4233, allocations: 0 / 0.5452 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.4237, allocations: 282 kB / 0.5454 GB, free: 11.81 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.4237, allocations: 27.19 kB / 0.5455 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.4237, allocations: 5.875 kB / 0.5455 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4238, allocations: 5.094 kB / 0.5455 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.4239, allocations: 11.42 kB / 0.5455 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.4239, allocations: 8.094 kB / 0.5455 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001612/0.424, allocations: 172.9 kB / 0.5457 GB, free: 11.65 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.424, allocations: 0 / 0.5457 GB, free: 11.65 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003289/0.4244, allocations: 44.38 kB / 0.5457 GB, free: 11.65 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 1 (ind.i)
 * 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 (13):
 * Single equations (assignments): 12
 * 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.0001314/0.4245, allocations: 99.89 kB / 0.5458 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002629/0.4248, allocations: 108.9 kB / 0.5459 GB, free: 11.51 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4248, allocations: 5.094 kB / 0.5459 GB, free: 11.5 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.4249, allocations: 43.84 kB / 0.5459 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.4254, allocations: 56.53 kB / 0.546 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.4265, allocations: 0.5467 MB / 0.5465 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.4271, allocations: 0.7735 MB / 0.5473 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001134/0.4272, allocations: 29.72 kB / 0.5473 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.4272, allocations: 19.94 kB / 0.5473 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4272, allocations: 0 / 0.5473 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of Templates: time 0.006939/0.4342, allocations: 2.164 MB / 0.5494 GB, free: 9.23 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.359449493698776]
Failed to read output from testmodel.py, exit status != 0:
0.44356037955731153 0.459460448 0.042357000000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa4dc9257b0>