Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.001311/0.001311, 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.001633/0.001633, 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.506/1.506, allocations: 225.6 MB / 252.5 MB, free: 13 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.2599/0.2599, allocations: 38.53 MB / 346.3 MB, free: 2.09 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.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid")
translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.389, allocations: 61.28 MB / 0.533 GB, free: 5.578 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008576/0.3976, allocations: 6.272 MB / 0.5391 GB, free: 0.9922 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002791/0.4003, allocations: 1.43 MB / 0.5405 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.4007, allocations: 34.81 kB / 0.5406 GB, free: 15.82 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.4013, allocations: 144.8 kB / 0.5407 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001032/0.4023, allocations: 390.4 kB / 0.5411 GB, free: 15.38 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.4029, allocations: 204.1 kB / 0.5413 GB, free: 15.22 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0012/0.4041, allocations: 0.92 MB / 0.5422 GB, free: 14.7 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.4045, allocations: 178.4 kB / 0.5424 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.4052, allocations: 413.4 kB / 0.5427 GB, free: 14.36 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008023/0.406, allocations: 497.6 kB / 0.5432 GB, free: 14.08 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.416e-05/0.4061, allocations: 47.03 kB / 0.5433 GB, free: 14.08 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.4062, allocations: 47.66 kB / 0.5433 GB, free: 14.08 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.4066, allocations: 270.5 kB / 0.5436 GB, free: 13.91 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.4069, allocations: 316.1 kB / 0.5439 GB, free: 13.7 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009093/0.4079, allocations: 0.6806 MB / 0.5445 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4079, allocations: 0 / 0.5445 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.4079, allocations: 0 / 0.5445 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.223e-05/0.4079, allocations: 4 kB / 0.5445 GB, free: 13.24 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: 123
 * Number of variables: 123
Notification: Performance of Generate backend data structure: time 0.002042/0.4099, allocations: 0.8918 MB / 0.5454 GB, free: 12.56 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.41, allocations: 9.344 kB / 0.5454 GB, free: 12.56 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.4101, allocations: 72.72 kB / 0.5455 GB, free: 12.52 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4112, allocations: 0.4891 MB / 0.546 GB, free: 12.15 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.4113, allocations: 41.56 kB / 0.546 GB, free: 12.13 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.4114, allocations: 48.22 kB / 0.546 GB, free: 12.12 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4124, allocations: 0.6266 MB / 0.5467 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4125, allocations: 0 / 0.5467 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.4125, allocations: 21.56 kB / 0.5467 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.4126, allocations: 34.12 kB / 0.5467 GB, free: 11.68 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.4135, allocations: 0.5028 MB / 0.5472 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.4169, allocations: 2.179 MB / 0.5493 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.4178, allocations: 476.5 kB / 0.5498 GB, free: 9.465 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007228/0.4185, allocations: 324.8 kB / 0.5501 GB, free: 9.312 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4186, allocations: 11.59 kB / 0.5501 GB, free: 9.305 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4186, allocations: 38.25 kB / 0.5501 GB, free: 9.262 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.4186, allocations: 0 / 0.5501 GB, free: 9.262 MB / 398.1 MB
Notification: Performance of matching and sorting (n=47): time 0.003532/0.4221, allocations: 1.601 MB / 0.5517 GB, free: 8.332 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.4222, allocations: 90.02 kB / 0.5518 GB, free: 8.23 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.4228, allocations: 431.2 kB / 0.5522 GB, free: 7.965 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.4228, allocations: 35.86 kB / 0.5522 GB, free: 7.926 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.4231, allocations: 296.7 kB / 0.5525 GB, free: 7.66 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.4232, allocations: 178.7 kB / 0.5527 GB, free: 7.504 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.4234, allocations: 93.34 kB / 0.5528 GB, free: 7.445 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002153/0.4236, allocations: 359.8 kB / 0.5531 GB, free: 7.098 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.4239, allocations: 185.2 kB / 0.5533 GB, free: 7.012 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.4244, allocations: 310.5 kB / 0.5536 GB, free: 6.711 MB / 398.1 MB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1])
Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.4271, allocations: 1.171 MB / 0.5547 GB, free: 5.496 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4271, allocations: 4 kB / 0.5547 GB, free: 5.492 MB / 398.1 MB
Notification: Performance of matching and sorting (n=65) (initialization): time 0.001281/0.4284, allocations: 0.7111 MB / 0.5554 GB, free: 4.77 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4284, allocations: 8 kB / 0.5554 GB, free: 4.762 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4284, allocations: 4 kB / 0.5555 GB, free: 4.758 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.4288, allocations: 132.8 kB / 0.5556 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.4294, allocations: 111.8 kB / 0.5557 GB, free: 4.516 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.4328, allocations: 2.511 MB / 0.5581 GB, free: 1.891 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.4332, allocations: 20.03 kB / 0.5582 GB, free: 1.871 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.4332, allocations: 23.98 kB / 0.5582 GB, free: 1.848 MB / 398.1 MB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         ind.i[1] = ind.i_start[1].
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * 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 (54):
 * Single equations (assignments): 53
 * 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): 1 system
   {(3,9,88.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003851/0.4336, allocations: 225.7 kB / 0.5584 GB, free: 1.617 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4337, allocations: 55.61 kB / 0.5584 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.4349, allocations: 0.6503 MB / 0.5591 GB, free: 0.8984 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4349, allocations: 8 kB / 0.5591 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4349, allocations: 0 / 0.5591 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4349, allocations: 3.938 kB / 0.5591 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.4373, allocations: 1.341 MB / 0.5604 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4373, allocations: 4 kB / 0.5604 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.4377, allocations: 79.83 kB / 0.5605 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/0.4381, allocations: 140.8 kB / 0.5606 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.4381, allocations: 19.98 kB / 0.5606 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.4414, allocations: 2.508 MB / 0.5631 GB, free: 12.6 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.4414, allocations: 8 kB / 0.5631 GB, free: 12.59 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.4431, allocations: 0.9892 MB / 0.5641 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4432, allocations: 47.67 kB / 0.5641 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.4433, allocations: 20.12 kB / 0.5641 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.4436, allocations: 27.86 kB / 0.5642 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.4437, allocations: 35.94 kB / 0.5642 GB, free: 11.44 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4437, allocations: 19.98 kB / 0.5642 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003661/0.4441, allocations: 287.1 kB / 0.5645 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4441, allocations: 0 / 0.5645 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006776/0.4447, allocations: 148 kB / 0.5646 GB, free: 11 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2])
 * 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 (41):
 * Single equations (assignments): 39
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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,88.9%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.4449, allocations: 111.5 kB / 0.5647 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001309/0.4462, allocations: 0.6291 MB / 0.5653 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4462, allocations: 4.25 kB / 0.5653 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.447, allocations: 421.9 kB / 0.5657 GB, free: 9.809 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008414/0.4478, allocations: 143.8 kB / 0.5659 GB, free: 9.672 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.4506, allocations: 1.335 MB / 0.5672 GB, free: 8.289 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.4513, allocations: 0.9331 MB / 0.5681 GB, free: 7.328 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0003232/0.4516, allocations: 104.7 kB / 0.5682 GB, free: 7.223 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4518, allocations: 43.42 kB / 0.5682 GB, free: 7.184 MB / 414.1 MB
Notification: Performance of SimCode: time 5.91e-07/0.4518, allocations: 0 / 0.5682 GB, free: 7.184 MB / 414.1 MB
Notification: Performance of Templates: time 0.01558/0.4673, allocations: 7.249 MB / 0.5753 GB, free: 15.99 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.505469109863043]
Failed to read output from testmodel.py, exit status != 0:
0.4780396493151784 0.491320042 0.08018140900000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f51462997b0>