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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 113.5 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.5 MB / 252.8 MB, free: 8.973 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.1002/0.1002, allocations: 22.93 MB / 331.8 MB, free: 13.8 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 464.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1457, allocations: 59.27 MB / 0.5114 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.3177/0.4634, allocations: 1.685 MB / 0.513 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.4643, allocations: 0.4889 MB / 0.5135 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.378e-05/0.4644, allocations: 1.031 kB / 0.5135 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.821e-05/0.4645, allocations: 13.03 kB / 0.5135 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.4647, allocations: 35.89 kB / 0.5136 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.882e-05/0.4648, allocations: 30.95 kB / 0.5136 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.465, allocations: 118.8 kB / 0.5137 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.4652, allocations: 19.73 kB / 0.5137 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.4654, allocations: 62.14 kB / 0.5138 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.4655, allocations: 57.33 kB / 0.5139 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.4655, allocations: 8.562 kB / 0.5139 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.4655, allocations: 9 kB / 0.5139 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.4656, allocations: 23.78 kB / 0.5139 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.4656, allocations: 52.2 kB / 0.5139 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.4658, allocations: 105.5 kB / 0.514 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4658, allocations: 0 / 0.514 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4658, allocations: 1.938 kB / 0.514 GB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4658, allocations: 1.531 kB / 0.514 GB, free: 8.516 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.0006519/0.4665, allocations: 431 kB / 0.5145 GB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4665, allocations: 10.16 kB / 0.5145 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.4666, allocations: 14.44 kB / 0.5145 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.4669, allocations: 204.3 kB / 0.5147 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.4669, allocations: 15.03 kB / 0.5147 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4669, allocations: 6.391 kB / 0.5147 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4671, allocations: 79.97 kB / 0.5148 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4671, allocations: 4.438 kB / 0.5148 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4671, allocations: 6.406 kB / 0.5148 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4671, allocations: 1.844 kB / 0.5148 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4673, allocations: 44.53 kB / 0.5148 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.4679, allocations: 390.9 kB / 0.5152 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.4682, allocations: 172.5 kB / 0.5154 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.4683, allocations: 42.05 kB / 0.5154 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.4683, allocations: 10.12 kB / 0.5154 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4683, allocations: 31.66 kB / 0.5154 GB, free: 7.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.4683, allocations: 0 / 0.5154 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008419/0.4692, allocations: 446.3 kB / 0.5159 GB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.4692, allocations: 57.73 kB / 0.5159 GB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4694, allocations: 158.2 kB / 0.5161 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.4694, allocations: 30.11 kB / 0.5161 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.4694, allocations: 105 kB / 0.5162 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.4695, allocations: 52.86 kB / 0.5163 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.4695, allocations: 32.84 kB / 0.5163 GB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.4696, allocations: 321.7 kB / 0.5166 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.4697, allocations: 29.94 kB / 0.5166 GB, free: 6.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.4697, allocations: 58.94 kB / 0.5167 GB, free: 6.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.4702, allocations: 172.4 kB / 0.5168 GB, free: 6.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4702, allocations: 7.938 kB / 0.5168 GB, free: 6.355 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.0004779/0.4707, allocations: 346.9 kB / 0.5172 GB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4707, allocations: 7.406 kB / 0.5172 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4707, allocations: 1.188 kB / 0.5172 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.4709, allocations: 56.44 kB / 0.5172 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.471, allocations: 30.92 kB / 0.5173 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.4728, allocations: 4.645 MB / 0.5218 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.4729, allocations: 6.672 kB / 0.5218 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4729, allocations: 7.438 kB / 0.5218 GB, free: 1.27 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.0001003/0.473, allocations: 126.8 kB / 0.5219 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.4731, allocations: 13.22 kB / 0.522 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.4731, allocations: 18.2 kB / 0.522 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4731, allocations: 2.812 kB / 0.522 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4731, allocations: 0 / 0.522 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4731, allocations: 2.125 kB / 0.522 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.4736, allocations: 461.6 kB / 0.5224 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4736, allocations: 1.281 kB / 0.5224 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4737, allocations: 22.34 kB / 0.5224 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.4739, allocations: 36.03 kB / 0.5225 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4739, allocations: 7.703 kB / 0.5225 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.4751, allocations: 1.614 MB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4751, allocations: 0.9375 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.4755, allocations: 284.5 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.4756, allocations: 90.22 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4756, allocations: 6.297 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4757, allocations: 9.219 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.4758, allocations: 7.703 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4758, allocations: 8.391 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.4759, allocations: 120.6 kB / 0.5246 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4759, allocations: 0 / 0.5246 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.4763, allocations: 29.47 kB / 0.5246 GB, free: 14.68 MB / 398.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 0.0001609/0.4764, allocations: 105.8 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.477, allocations: 310.9 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.477, allocations: 0 / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.4772, allocations: 164.4 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4775, allocations: 20.72 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.4786, allocations: 0.495 MB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.479, allocations: 0.7139 MB / 0.5263 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.4791, allocations: 9.609 kB / 0.5264 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.4791, allocations: 17.53 kB / 0.5264 GB, free: 13.13 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4791, allocations: 288 / 0.5264 GB, free: 13.13 MB / 398.1 MB Notification: Performance of Templates: time 0.006178/0.4853, allocations: 1.655 MB / 0.528 GB, free: 12.98 MB / 398.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.173265343531966] Failed to read output from testmodel.py, exit status != 0: 0.49386715330183506 0.508512072 0.039415493 Calling exit ...