Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.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.001419/0.001419, allocations: 110 kB / 18.94 MB, free: 2.949 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.001527/0.001527, allocations: 191.1 kB / 22.23 MB, free: 5.137 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.659/1.659, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.166/0.166, allocations: 22.7 MB / 329 MB, free: 2.344 MB / 254.1 MB
"
[Timeout remaining time 180]
Using package AES with version  (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P")
translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.88 kB / 460.7 MB, free: 0.9648 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 58.05 MB / 0.5066 GB, free: 6.809 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.003407/0.1659, allocations: 1.616 MB / 0.5082 GB, free: 5.172 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009152/0.1668, allocations: 459 kB / 0.5086 GB, free: 4.723 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.1669, allocations: 0 / 0.5086 GB, free: 4.723 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.759e-05/0.167, allocations: 7.875 kB / 0.5086 GB, free: 4.715 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1672, allocations: 31.77 kB / 0.5087 GB, free: 4.684 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 7.479e-05/0.1673, allocations: 19.98 kB / 0.5087 GB, free: 4.664 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000158/0.1674, allocations: 111.5 kB / 0.5088 GB, free: 4.555 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1676, allocations: 15.94 kB / 0.5088 GB, free: 4.539 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1677, allocations: 51.78 kB / 0.5089 GB, free: 4.488 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1678, allocations: 47.77 kB / 0.5089 GB, free: 4.441 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1679, allocations: 8 kB / 0.5089 GB, free: 4.434 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.389e-05/0.1679, allocations: 8 kB / 0.5089 GB, free: 4.426 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.1679, allocations: 27.84 kB / 0.509 GB, free: 4.398 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.168, allocations: 43.8 kB / 0.509 GB, free: 4.355 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1682, allocations: 87.56 kB / 0.5091 GB, free: 4.27 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1682, allocations: 4 kB / 0.5091 GB, free: 4.266 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.473e-06/0.1682, allocations: 0 / 0.5091 GB, free: 4.266 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.288e-05/0.1682, allocations: 0 / 0.5091 GB, free: 4.266 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: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.000805/0.169, allocations: 333.8 kB / 0.5094 GB, free: 3.91 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.1691, allocations: 12.03 kB / 0.5094 GB, free: 3.898 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1691, allocations: 8.891 kB / 0.5094 GB, free: 3.891 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1694, allocations: 141.3 kB / 0.5096 GB, free: 3.73 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1694, allocations: 4.375 kB / 0.5096 GB, free: 3.727 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1694, allocations: 12.38 kB / 0.5096 GB, free: 3.715 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1697, allocations: 77.55 kB / 0.5096 GB, free: 3.633 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1697, allocations: 4 kB / 0.5097 GB, free: 3.629 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1697, allocations: 4 kB / 0.5097 GB, free: 3.625 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.1697, allocations: 0 / 0.5097 GB, free: 3.625 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1698, allocations: 43.97 kB / 0.5097 GB, free: 3.582 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.1707, allocations: 335.6 kB / 0.51 GB, free: 3.211 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.1711, allocations: 90.48 kB / 0.5101 GB, free: 3.113 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.1711, allocations: 40.94 kB / 0.5101 GB, free: 3.07 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1712, allocations: 0 / 0.5101 GB, free: 3.07 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1712, allocations: 34.56 kB / 0.5102 GB, free: 3.027 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1712, allocations: 0 / 0.5102 GB, free: 3.027 MB / 382.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0009736/0.1722, allocations: 345.8 kB / 0.5105 GB, free: 2.652 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.1722, allocations: 55.41 kB / 0.5106 GB, free: 2.586 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1724, allocations: 148.8 kB / 0.5107 GB, free: 2.434 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.1724, allocations: 33.7 kB / 0.5107 GB, free: 2.395 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1725, allocations: 100 kB / 0.5108 GB, free: 2.293 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.1726, allocations: 39.64 kB / 0.5109 GB, free: 2.254 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.1726, allocations: 33.7 kB / 0.5109 GB, free: 2.215 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001771/0.1728, allocations: 326.8 kB / 0.5112 GB, free: 1.887 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1728, allocations: 27.94 kB / 0.5112 GB, free: 1.859 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.1729, allocations: 58.48 kB / 0.5113 GB, free: 1.793 MB / 382.1 MB
Error: Initialization problem is structural singular. Please, check the initial conditions.
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.1734, allocations: 162.4 kB / 0.5114 GB, free: 1.625 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1734, allocations: 4 kB / 0.5115 GB, free: 1.621 MB / 382.1 MB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002706/0.1737, allocations: 154.2 kB / 0.5116 GB, free: 1.461 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1737, allocations: 4 kB / 0.5116 GB, free: 1.457 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.1737, allocations: 4 kB / 0.5116 GB, free: 1.453 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.1739, allocations: 40.89 kB / 0.5116 GB, free: 1.41 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.174, allocations: 23.98 kB / 0.5117 GB, free: 1.387 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3276/0.5017, allocations: 1.506 MB / 0.5131 GB, free: 13.72 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.5018, allocations: 3.656 kB / 0.5131 GB, free: 13.72 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.5018, allocations: 7.391 kB / 0.5131 GB, free: 13.72 MB / 382.1 MB
Warning: Assuming fixed start value for the following 1 variables:
         G.deltag:VARIABLE(unit = \"rad\" fixed = true )  \"generator angle wrt port\" type: Real
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         G.Pm = G.Pcmd.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 12
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.5019, allocations: 121.9 kB / 0.5133 GB, free: 13.61 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.502, allocations: 11.72 kB / 0.5133 GB, free: 13.61 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.502, allocations: 16.66 kB / 0.5133 GB, free: 13.6 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.502, allocations: 1.375 kB / 0.5133 GB, free: 13.6 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.502, allocations: 3.125 kB / 0.5133 GB, free: 13.6 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.502, allocations: 1.172 kB / 0.5133 GB, free: 13.6 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.5026, allocations: 408.3 kB / 0.5137 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5026, allocations: 2.938 kB / 0.5137 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.5027, allocations: 20.3 kB / 0.5137 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.5029, allocations: 41.02 kB / 0.5137 GB, free: 13.31 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5029, allocations: 5.469 kB / 0.5138 GB, free: 13.31 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009565/0.5039, allocations: 1.506 MB / 0.5152 GB, free: 11.96 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5039, allocations: 0.875 kB / 0.5152 GB, free: 11.96 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.5042, allocations: 272 kB / 0.5155 GB, free: 11.8 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.5042, allocations: 18.98 kB / 0.5155 GB, free: 11.8 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.5042, allocations: 1.219 kB / 0.5155 GB, free: 11.8 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.5043, allocations: 2.844 kB / 0.5155 GB, free: 11.8 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.5043, allocations: 13.7 kB / 0.5155 GB, free: 11.8 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.5043, allocations: 2.781 kB / 0.5155 GB, free: 11.8 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 8.315e-05/0.5044, allocations: 113.2 kB / 0.5156 GB, free: 11.73 MB / 382.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5044, allocations: 0 / 0.5156 GB, free: 11.73 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0003519/0.5048, allocations: 27.94 kB / 0.5157 GB, free: 11.73 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 3 (G.thetap,G.deltag,G.wg)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 7
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 9.261e-05/0.5049, allocations: 108.4 kB / 0.5158 GB, free: 11.64 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003602/0.5052, allocations: 189.8 kB / 0.5159 GB, free: 11.54 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5052, allocations: 1.625 kB / 0.5159 GB, free: 11.54 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.5054, allocations: 162.4 kB / 0.5161 GB, free: 11.42 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.5056, allocations: 11.47 kB / 0.5161 GB, free: 11.42 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.5065, allocations: 466 kB / 0.5166 GB, free: 11.17 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.5067, allocations: 0.7023 MB / 0.5172 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 4.115e-05/0.5067, allocations: 12.05 kB / 0.5173 GB, free: 10.47 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.5068, allocations: 12.31 kB / 0.5173 GB, free: 10.47 MB / 382.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.5068, allocations: 0 / 0.5173 GB, free: 10.47 MB / 382.1 MB
Notification: Performance of Templates: time 0.005605/0.5124, allocations: 1.495 MB / 0.5187 GB, free: 10.38 MB / 382.1 MB
"
[Timeout remaining time 659]
make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile [Timeout 660]
(rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P  -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.57398537080735]
Failed to read output from testmodel.py, exit status != 0:
0.5214242469519377 0.535224835 0.363933943
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb17580d7b0>