Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.001369/0.001369, allocations: 109.5 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.001456/0.001456, allocations: 189.2 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.494/1.494, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.2028/0.2028, allocations: 38.53 MB / 346.3 MB, free: 2.07 MB / 270.1 MB
"
[Timeout remaining time 180]
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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line")
translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.359, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.00624/0.3652, allocations: 5.345 MB / 0.5382 GB, free: 1.676 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002817/0.368, allocations: 1.774 MB / 0.54 GB, free: 268 kB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.3683, allocations: 26.81 kB / 0.54 GB, free: 252 kB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001253/0.3695, allocations: 450.6 kB / 0.5404 GB, free: 15.9 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006775/0.3702, allocations: 303.6 kB / 0.5407 GB, free: 15.66 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3712, allocations: 371.5 kB / 0.5411 GB, free: 15.4 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009539/0.3722, allocations: 0.776 MB / 0.5418 GB, free: 14.96 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004791/0.3727, allocations: 256.5 kB / 0.5421 GB, free: 14.79 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.3732, allocations: 356.9 kB / 0.5424 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.3739, allocations: 490.5 kB / 0.5429 GB, free: 14.32 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.374, allocations: 49.38 kB / 0.5429 GB, free: 14.32 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.3744, allocations: 193.6 kB / 0.5431 GB, free: 14.24 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.3747, allocations: 294.2 kB / 0.5434 GB, free: 14.05 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.3751, allocations: 335.3 kB / 0.5437 GB, free: 13.83 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3761, allocations: 0.8142 MB / 0.5445 GB, free: 13.31 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3761, allocations: 7.922 kB / 0.5445 GB, free: 13.3 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.264e-06/0.3761, allocations: 4 kB / 0.5445 GB, free: 13.3 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.26e-05/0.3762, allocations: 0 / 0.5445 GB, free: 13.3 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 139
 * Number of variables: 139
Notification: Performance of Generate backend data structure: time 0.001907/0.3781, allocations: 0.8518 MB / 0.5454 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3781, allocations: 8.406 kB / 0.5454 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.3792, allocations: 146.7 kB / 0.5455 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3804, allocations: 472.8 kB / 0.546 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.3804, allocations: 34.75 kB / 0.546 GB, free: 12.21 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.3808, allocations: 133 kB / 0.5461 GB, free: 12.16 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.3822, allocations: 0.8653 MB / 0.547 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3822, allocations: 2.688 kB / 0.547 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.3823, allocations: 16.91 kB / 0.547 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004814/0.3828, allocations: 74.89 kB / 0.547 GB, free: 11.54 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3839, allocations: 0.6234 MB / 0.5477 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/0.3895, allocations: 3.716 MB / 0.5513 GB, free: 8.273 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.3907, allocations: 0.532 MB / 0.5518 GB, free: 8.004 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/0.3913, allocations: 311 kB / 0.5521 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.3913, allocations: 9.766 kB / 0.5521 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3914, allocations: 46.44 kB / 0.5522 GB, free: 7.789 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=48): time 2.946e-06/0.3914, allocations: 0 / 0.5522 GB, free: 7.789 MB / 398.1 MB
Notification: Performance of matching and sorting (n=49): time 0.003528/0.3949, allocations: 1.773 MB / 0.5539 GB, free: 6.406 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.395, allocations: 85.55 kB / 0.554 GB, free: 6.305 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.3955, allocations: 413.8 kB / 0.5544 GB, free: 5.887 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.3956, allocations: 37.64 kB / 0.5544 GB, free: 5.844 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.3959, allocations: 344.4 kB / 0.5547 GB, free: 5.5 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.3961, allocations: 210.3 kB / 0.5549 GB, free: 5.293 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.3963, allocations: 146.3 kB / 0.5551 GB, free: 5.141 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002412/0.3966, allocations: 378.8 kB / 0.5554 GB, free: 4.762 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006504/0.3972, allocations: 373.5 kB / 0.5558 GB, free: 4.398 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.3981, allocations: 0.6018 MB / 0.5564 GB, free: 3.703 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.3997, allocations: 1.062 MB / 0.5574 GB, free: 2.539 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3997, allocations: 4 kB / 0.5574 GB, free: 2.535 MB / 398.1 MB
Notification: Performance of matching and sorting (n=100) (initialization): time 0.004717/0.4044, allocations: 1.97 MB / 0.5593 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4044, allocations: 8 kB / 0.5593 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4044, allocations: 8 kB / 0.5594 GB, free: 0.5391 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/0.4071, allocations: 0.9698 MB / 0.5603 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.4075, allocations: 119.8 kB / 0.5604 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.4201, allocations: 7.994 MB / 0.5682 GB, free: 7.227 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.4208, allocations: 39.88 kB / 0.5683 GB, free: 7.188 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.4209, allocations: 35.98 kB / 0.5683 GB, free: 7.152 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 32
 * 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 (60):
 * Single equations (assignments): 58
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,6,100.0%), (23,12,23.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004697/0.4214, allocations: 245.5 kB / 0.5685 GB, free: 6.902 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.4215, allocations: 51.67 kB / 0.5686 GB, free: 6.852 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.423, allocations: 0.7334 MB / 0.5693 GB, free: 6.105 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.423, allocations: 8 kB / 0.5693 GB, free: 6.098 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.423, allocations: 0 / 0.5693 GB, free: 6.098 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.423, allocations: 3.984 kB / 0.5693 GB, free: 6.094 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.426, allocations: 1.496 MB / 0.5708 GB, free: 4.539 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.426, allocations: 64 / 0.5708 GB, free: 4.539 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.4271, allocations: 187.8 kB / 0.5709 GB, free: 4.355 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.4272, allocations: 4 kB / 0.5709 GB, free: 4.352 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.069e-05/0.4272, allocations: 31.92 kB / 0.571 GB, free: 4.32 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.4272, allocations: 8.094 kB / 0.571 GB, free: 4.312 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4272, allocations: 0 / 0.571 GB, free: 4.312 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.4289, allocations: 0.9936 MB / 0.572 GB, free: 3.293 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.429, allocations: 55.61 kB / 0.572 GB, free: 3.238 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.4292, allocations: 27.98 kB / 0.572 GB, free: 3.211 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.4295, allocations: 27.97 kB / 0.5721 GB, free: 3.184 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.4296, allocations: 32.38 kB / 0.5721 GB, free: 3.148 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.4297, allocations: 19.98 kB / 0.5721 GB, free: 3.129 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000387/0.43, allocations: 279.1 kB / 0.5724 GB, free: 2.855 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.43, allocations: 0 / 0.5724 GB, free: 2.855 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000879/0.4309, allocations: 216 kB / 0.5726 GB, free: 2.645 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4])
 * 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 (52):
 * Single equations (assignments): 51
 * 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.000178/0.4311, allocations: 127.1 kB / 0.5727 GB, free: 2.512 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.00307/0.4342, allocations: 1.41 MB / 0.5741 GB, free: 1.074 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4342, allocations: 0 / 0.5741 GB, free: 1.074 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007592/0.4349, allocations: 299.1 kB / 0.5744 GB, free: 0.7812 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.4357, allocations: 143.7 kB / 0.5745 GB, free: 0.6484 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.4405, allocations: 2.721 MB / 0.5772 GB, free: 13.88 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/0.4413, allocations: 0.9881 MB / 0.5781 GB, free: 12.86 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.000531/0.4418, allocations: 200.6 kB / 0.5783 GB, free: 12.67 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.442, allocations: 47.42 kB / 0.5784 GB, free: 12.62 MB / 430.1 MB
Notification: Performance of SimCode: time 9.12e-07/0.442, allocations: 0 / 0.5784 GB, free: 12.62 MB / 430.1 MB
Notification: Performance of Templates: time 0.02184/0.4639, allocations: 11.61 MB / 0.5897 GB, free: 1.062 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.787230388261378]
Failed to read output from testmodel.py, exit status != 0:
0.47321890760213137 0.49802990500000005 0.11807378700000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc6805957b0>