Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_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.00138/0.00138, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002348/0.002348, allocations: 190.4 kB / 22.23 MB, free: 5.098 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.597/1.597, allocations: 225.6 MB / 251 MB, free: 13.2 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.09895/0.09895, allocations: 22.71 MB / 329 MB, free: 2.383 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_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P")
translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.88 kB / 460.7 MB, free: 1.008 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1559, allocations: 58.06 MB / 0.5066 GB, free: 6.844 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003223/0.1592, allocations: 1.682 MB / 0.5083 GB, free: 5.141 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0008962/0.1601, allocations: 475 kB / 0.5087 GB, free: 4.676 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.1601, allocations: 3.938 kB / 0.5087 GB, free: 4.672 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.1602, allocations: 11.81 kB / 0.5087 GB, free: 4.66 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1604, allocations: 35.77 kB / 0.5088 GB, free: 4.625 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 9.202e-05/0.1605, allocations: 27.91 kB / 0.5088 GB, free: 4.598 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1607, allocations: 127.5 kB / 0.5089 GB, free: 4.473 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1609, allocations: 17.62 kB / 0.5089 GB, free: 4.449 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.161, allocations: 47.8 kB / 0.509 GB, free: 4.402 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1611, allocations: 59.69 kB / 0.509 GB, free: 4.344 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1611, allocations: 8 kB / 0.509 GB, free: 4.336 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.1612, allocations: 12 kB / 0.5091 GB, free: 4.324 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.1612, allocations: 23.86 kB / 0.5091 GB, free: 4.301 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.1613, allocations: 55.72 kB / 0.5091 GB, free: 4.246 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1614, allocations: 103.5 kB / 0.5092 GB, free: 4.145 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1615, allocations: 0 / 0.5092 GB, free: 4.145 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.1615, allocations: 3.938 kB / 0.5092 GB, free: 4.141 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.104e-05/0.1615, allocations: 0 / 0.5092 GB, free: 4.141 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: 18
 * Number of variables: 18
Notification: Performance of Generate backend data structure: time 0.0007029/0.1622, allocations: 353.7 kB / 0.5096 GB, free: 3.766 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1622, allocations: 8.031 kB / 0.5096 GB, free: 3.758 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.1623, allocations: 20.84 kB / 0.5096 GB, free: 3.738 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1625, allocations: 158.8 kB / 0.5098 GB, free: 3.559 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1626, allocations: 12.12 kB / 0.5098 GB, free: 3.547 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.1626, allocations: 7.953 kB / 0.5098 GB, free: 3.539 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1628, allocations: 84.62 kB / 0.5099 GB, free: 3.453 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1628, allocations: 0 / 0.5099 GB, free: 3.453 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1628, allocations: 4 kB / 0.5099 GB, free: 3.449 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.1628, allocations: 0 / 0.5099 GB, free: 3.449 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1629, allocations: 47.83 kB / 0.5099 GB, free: 3.402 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.1636, allocations: 351.7 kB / 0.5102 GB, free: 3.016 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.1639, allocations: 98.52 kB / 0.5103 GB, free: 2.91 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.164, allocations: 40.84 kB / 0.5104 GB, free: 2.867 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.164, allocations: 0 / 0.5104 GB, free: 2.867 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.164, allocations: 34.56 kB / 0.5104 GB, free: 2.824 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.164, allocations: 0 / 0.5104 GB, free: 2.824 MB / 382.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0008899/0.1649, allocations: 377.7 kB / 0.5108 GB, free: 2.418 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.165, allocations: 51.41 kB / 0.5108 GB, free: 2.355 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1651, allocations: 160.3 kB / 0.511 GB, free: 2.188 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1652, allocations: 33.7 kB / 0.511 GB, free: 2.148 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.1652, allocations: 108.2 kB / 0.5111 GB, free: 2.035 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.1653, allocations: 43.64 kB / 0.5111 GB, free: 1.992 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.1653, allocations: 37.64 kB / 0.5112 GB, free: 1.949 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001531/0.1655, allocations: 326.8 kB / 0.5115 GB, free: 1.621 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.1655, allocations: 27.98 kB / 0.5115 GB, free: 1.594 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.1656, allocations: 50.56 kB / 0.5116 GB, free: 1.535 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.1661, allocations: 181.8 kB / 0.5117 GB, free: 1.352 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1661, allocations: 3.938 kB / 0.5117 GB, free: 1.348 MB / 382.1 MB
Warning: The linear system: 
1 : G.Pm = G.Pcmd
2 : G.Pm = G.Pcmd
[
  1.0 , -1.0 ;
  1.0 , -1.0
]
  *
[
  G.Pm ;
  G.Pcmd
]
  =
[
  0.0 ;
  0.0
]
 might be structurally or numerically singular for variable G.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway.
Notification: Performance of matching and sorting (n=18) (initialization): time 0.000502/0.1666, allocations: 199.9 kB / 0.5119 GB, free: 1.137 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1666, allocations: 4 kB / 0.5119 GB, free: 1.133 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1666, allocations: 4 kB / 0.5119 GB, free: 1.129 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.1668, allocations: 53.69 kB / 0.512 GB, free: 1.07 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1669, allocations: 23.98 kB / 0.512 GB, free: 1.047 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3122/0.4791, allocations: 4.421 MB / 0.5163 GB, free: 10.67 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.4792, allocations: 8.75 kB / 0.5163 GB, free: 10.67 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4792, allocations: 6.453 kB / 0.5163 GB, free: 10.67 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
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 (14):
 * 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: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.4793, allocations: 128.5 kB / 0.5165 GB, free: 10.55 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.4794, allocations: 13.69 kB / 0.5165 GB, free: 10.55 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.4794, allocations: 19.23 kB / 0.5165 GB, free: 10.54 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4794, allocations: 3.047 kB / 0.5165 GB, free: 10.54 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4794, allocations: 0 / 0.5165 GB, free: 10.54 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4794, allocations: 3.328 kB / 0.5165 GB, free: 10.54 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.48, allocations: 426.9 kB / 0.5169 GB, free: 10.26 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.48, allocations: 1.25 kB / 0.5169 GB, free: 10.26 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.4801, allocations: 24.52 kB / 0.5169 GB, free: 10.26 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.4802, allocations: 42.73 kB / 0.517 GB, free: 10.25 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4802, allocations: 1.969 kB / 0.517 GB, free: 10.25 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008653/0.4811, allocations: 1.513 MB / 0.5185 GB, free: 8.895 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4811, allocations: 4.5 kB / 0.5185 GB, free: 8.895 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.4814, allocations: 288 kB / 0.5187 GB, free: 8.738 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.4814, allocations: 13.39 kB / 0.5188 GB, free: 8.738 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4815, allocations: 4.703 kB / 0.5188 GB, free: 8.738 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.4816, allocations: 5.406 kB / 0.5188 GB, free: 8.738 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.4816, allocations: 6.094 kB / 0.5188 GB, free: 8.738 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.4816, allocations: 6.375 kB / 0.5188 GB, free: 8.738 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 8.713e-05/0.4817, allocations: 122.4 kB / 0.5189 GB, free: 8.664 MB / 382.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4817, allocations: 0 / 0.5189 GB, free: 8.664 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0004119/0.4821, allocations: 28.81 kB / 0.5189 GB, free: 8.664 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 4 (G.thetap,G.deltag,G.wg,Gact.y)
 * 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 (9):
 * Single equations (assignments): 8
 * 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.819e-05/0.4822, allocations: 109.3 kB / 0.519 GB, free: 8.578 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.000402/0.4826, allocations: 312.4 kB / 0.5193 GB, free: 8.359 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4826, allocations: 0 / 0.5193 GB, free: 8.359 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4827, allocations: 163.3 kB / 0.5195 GB, free: 8.242 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4831, allocations: 23.31 kB / 0.5195 GB, free: 8.238 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.4839, allocations: 0.4953 MB / 0.52 GB, free: 7.953 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.4841, allocations: 0.7152 MB / 0.5207 GB, free: 7.254 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 5.324e-05/0.4842, allocations: 11.08 kB / 0.5207 GB, free: 7.254 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.4842, allocations: 16.09 kB / 0.5207 GB, free: 7.246 MB / 382.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.4842, allocations: 0 / 0.5207 GB, free: 7.246 MB / 382.1 MB
Notification: Performance of Templates: time 0.005871/0.4901, allocations: 1.742 MB / 0.5224 GB, free: 7.129 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile [Timeout 660]
(rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P  -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.450018902309239]
Failed to read output from testmodel.py, exit status != 0:
0.4983812887221575 0.512424198 0.34794128300000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcda03d57b0>