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.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.001676/0.001676, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.002229/0.002229, allocations: 204 kB / 20.11 MB, free: 2.977 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1104/0.1104, allocations: 24.02 MB / 333.5 MB, free: 1.586 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.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_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: 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.002186/0.002186, allocations: 66.73 kB / 466.8 MB, free: 32.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09871, allocations: 59.55 MB / 0.514 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002931/0.1016, allocations: 1.614 MB / 0.5155 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.1026, allocations: 494.9 kB / 0.516 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.1026, allocations: 0 / 0.516 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.1027, allocations: 11.86 kB / 0.516 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.1029, allocations: 31.77 kB / 0.5161 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.043e-05/0.1029, allocations: 27.97 kB / 0.5161 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1031, allocations: 103.6 kB / 0.5162 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1032, allocations: 19.92 kB / 0.5162 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1034, allocations: 51.78 kB / 0.5163 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1035, allocations: 43.77 kB / 0.5163 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1035, allocations: 8 kB / 0.5163 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/0.1035, allocations: 8 kB / 0.5163 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.1036, allocations: 23.92 kB / 0.5163 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.1036, allocations: 47.72 kB / 0.5164 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1038, allocations: 87.58 kB / 0.5165 GB, free: 11.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1038, allocations: 4 kB / 0.5165 GB, free: 11.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1038, allocations: 0 / 0.5165 GB, free: 11.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1038, allocations: 0 / 0.5165 GB, free: 11.38 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.0006261/0.1044, allocations: 407 kB / 0.5169 GB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1044, allocations: 8.625 kB / 0.5169 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1045, allocations: 12.84 kB / 0.5169 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1047, allocations: 196.2 kB / 0.5171 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1047, allocations: 12.38 kB / 0.5171 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1047, allocations: 8.375 kB / 0.5171 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1049, allocations: 83.62 kB / 0.5172 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1049, allocations: 0 / 0.5172 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1049, allocations: 0 / 0.5172 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1049, allocations: 3.984 kB / 0.5172 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.458e-05/0.105, allocations: 39.98 kB / 0.5172 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.1056, allocations: 376.4 kB / 0.5176 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.1059, allocations: 90.47 kB / 0.5177 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.106, allocations: 36.94 kB / 0.5177 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.106, allocations: 4 kB / 0.5177 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.106, allocations: 30.56 kB / 0.5177 GB, free: 9.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.106, allocations: 0 / 0.5177 GB, free: 9.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007825/0.1068, allocations: 423 kB / 0.5181 GB, free: 9.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1068, allocations: 51.41 kB / 0.5182 GB, free: 9.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.107, allocations: 151.8 kB / 0.5183 GB, free: 9.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.107, allocations: 29.7 kB / 0.5183 GB, free: 9.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.1071, allocations: 104 kB / 0.5184 GB, free: 9.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.1071, allocations: 39.64 kB / 0.5185 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.1072, allocations: 33.7 kB / 0.5185 GB, free: 9.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1073, allocations: 326.8 kB / 0.5188 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.1074, allocations: 24 kB / 0.5188 GB, free: 8.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.1074, allocations: 54.48 kB / 0.5189 GB, free: 8.617 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.1079, allocations: 238.7 kB / 0.5191 GB, free: 8.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1079, allocations: 4 kB / 0.5191 GB, free: 8.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002781/0.1082, allocations: 158.3 kB / 0.5193 GB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1082, allocations: 4 kB / 0.5193 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1082, allocations: 4 kB / 0.5193 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.1084, allocations: 36.83 kB / 0.5193 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.1085, allocations: 27.92 kB / 0.5194 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.11, allocations: 1.609 MB / 0.5209 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.1101, allocations: 8.125 kB / 0.5209 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1101, allocations: 11.98 kB / 0.5209 GB, free: 6.344 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.0001216/0.1102, allocations: 126.3 kB / 0.5211 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.1103, allocations: 7.953 kB / 0.5211 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.1103, allocations: 16.72 kB / 0.5211 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.1103, allocations: 0 / 0.5211 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1103, allocations: 0 / 0.5211 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1103, allocations: 11.98 kB / 0.5211 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.1109, allocations: 432.8 kB / 0.5215 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1109, allocations: 3.938 kB / 0.5215 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.111, allocations: 19.98 kB / 0.5215 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.1111, allocations: 48.83 kB / 0.5216 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1111, allocations: 0 / 0.5216 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.1125, allocations: 1.615 MB / 0.5232 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1125, allocations: 8.031 kB / 0.5232 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1129, allocations: 270 kB / 0.5234 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.1129, allocations: 93.19 kB / 0.5235 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.113, allocations: 3.984 kB / 0.5235 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.1131, allocations: 0 / 0.5235 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1131, allocations: 15.98 kB / 0.5235 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1131, allocations: 0 / 0.5235 GB, free: 3.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.499e-05/0.1132, allocations: 111.3 kB / 0.5236 GB, free: 3.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1132, allocations: 0 / 0.5236 GB, free: 3.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1135, allocations: 32 kB / 0.5237 GB, free: 3.293 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 0.000102/0.1137, allocations: 103.1 kB / 0.5238 GB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.114, allocations: 197.3 kB / 0.524 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.114, allocations: 0 / 0.524 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.1142, allocations: 158.6 kB / 0.5241 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1144, allocations: 14.28 kB / 0.5241 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.1153, allocations: 456.9 kB / 0.5246 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1157, allocations: 0.7047 MB / 0.5252 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.1157, allocations: 16.81 kB / 0.5253 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1157, allocations: 11.44 kB / 0.5253 GB, free: 1.555 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1157, allocations: 0 / 0.5253 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Templates: time 0.004542/0.1203, allocations: 1.409 MB / 0.5266 GB, free: 148 kB / 382.1 MB " [Timeout remaining time 660] 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: 4.71358573064208] Failed to read output from testmodel.py, exit status != 0: 0.12811190076172352 0.142609394 0.035851404 Calling exit ...