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.001336/0.001336, allocations: 108.2 kB / 17.15 MB, free: 6.02 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.001511/0.001511, allocations: 204.5 kB / 20.11 MB, free: 3.066 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1081/0.1081, allocations: 24.03 MB / 333.6 MB, free: 1.551 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_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.002058/0.002058, allocations: 68.58 kB / 466.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.1013, allocations: 59.54 MB / 0.514 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003211/0.1045, allocations: 1.694 MB / 0.5156 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.1054, allocations: 0.4911 MB / 0.5161 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.1055, allocations: 3.938 kB / 0.5161 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.1055, allocations: 11.86 kB / 0.5161 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1057, allocations: 35.72 kB / 0.5162 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.538e-05/0.1058, allocations: 23.97 kB / 0.5162 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.106, allocations: 127.5 kB / 0.5163 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1061, allocations: 21.44 kB / 0.5163 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1063, allocations: 59.72 kB / 0.5164 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1065, allocations: 55.75 kB / 0.5164 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1065, allocations: 8 kB / 0.5164 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.901e-05/0.1065, allocations: 8 kB / 0.5164 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.1065, allocations: 23.92 kB / 0.5165 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.1066, allocations: 55.61 kB / 0.5165 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1067, allocations: 103.5 kB / 0.5166 GB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1067, allocations: 0 / 0.5166 GB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1067, allocations: 0 / 0.5166 GB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1068, allocations: 0 / 0.5166 GB, free: 11.2 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.0006569/0.1074, allocations: 426.9 kB / 0.517 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1074, allocations: 12.03 kB / 0.517 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1075, allocations: 12.84 kB / 0.5171 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1078, allocations: 220.6 kB / 0.5173 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1078, allocations: 8.125 kB / 0.5173 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1078, allocations: 8 kB / 0.5173 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.108, allocations: 85.66 kB / 0.5174 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.108, allocations: 0 / 0.5174 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.108, allocations: 0 / 0.5174 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.108, allocations: 0 / 0.5174 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1081, allocations: 43.89 kB / 0.5174 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.1088, allocations: 392.5 kB / 0.5178 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.1092, allocations: 179.6 kB / 0.5179 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.1093, allocations: 40.84 kB / 0.518 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1093, allocations: 0 / 0.518 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1093, allocations: 34.56 kB / 0.518 GB, free: 9.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1093, allocations: 4 kB / 0.518 GB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008505/0.1102, allocations: 451.7 kB / 0.5185 GB, free: 9.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1102, allocations: 51.41 kB / 0.5185 GB, free: 9.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1104, allocations: 160.1 kB / 0.5187 GB, free: 8.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1104, allocations: 25.7 kB / 0.5187 GB, free: 8.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.1105, allocations: 116.2 kB / 0.5188 GB, free: 8.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.1105, allocations: 51.59 kB / 0.5188 GB, free: 8.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.1106, allocations: 29.7 kB / 0.5189 GB, free: 8.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1107, allocations: 326.8 kB / 0.5192 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.1108, allocations: 31.98 kB / 0.5192 GB, free: 8.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.1109, allocations: 52.44 kB / 0.5193 GB, free: 8.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.1113, allocations: 179.5 kB / 0.5194 GB, free: 8.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.1114, allocations: 3.938 kB / 0.5194 GB, free: 8.008 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.0005451/0.1119, allocations: 348 kB / 0.5198 GB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1119, allocations: 7.938 kB / 0.5198 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1119, allocations: 0 / 0.5198 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.1121, allocations: 61.62 kB / 0.5198 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1122, allocations: 23.98 kB / 0.5199 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.1155, allocations: 4.644 MB / 0.5244 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.1156, allocations: 4 kB / 0.5244 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1156, allocations: 7.938 kB / 0.5244 GB, free: 2.52 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.0001351/0.1157, allocations: 130.6 kB / 0.5245 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.1158, allocations: 11.91 kB / 0.5245 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.1158, allocations: 16.72 kB / 0.5246 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1158, allocations: 3.984 kB / 0.5246 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1158, allocations: 0 / 0.5246 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1158, allocations: 0 / 0.5246 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.1164, allocations: 460.8 kB / 0.525 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1164, allocations: 0 / 0.525 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1165, allocations: 19.98 kB / 0.525 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.1167, allocations: 44.8 kB / 0.5251 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1167, allocations: 7.938 kB / 0.5251 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.1181, allocations: 1.615 MB / 0.5266 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1181, allocations: 0 / 0.5266 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.1185, allocations: 289.9 kB / 0.5269 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.1185, allocations: 89.06 kB / 0.527 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1186, allocations: 4 kB / 0.527 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.1187, allocations: 0 / 0.527 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.1187, allocations: 16.03 kB / 0.527 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.1187, allocations: 7.938 kB / 0.527 GB, free: 15.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1188, allocations: 122.1 kB / 0.5271 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1188, allocations: 0 / 0.5271 GB, free: 15.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.1192, allocations: 28 kB / 0.5272 GB, free: 15.42 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.000121/0.1193, allocations: 105.2 kB / 0.5273 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.1198, allocations: 315 kB / 0.5276 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1198, allocations: 0 / 0.5276 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.12, allocations: 162.6 kB / 0.5277 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1203, allocations: 16 kB / 0.5277 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009856/0.1213, allocations: 0.5024 MB / 0.5282 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1216, allocations: 0.7085 MB / 0.5289 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.1217, allocations: 8.656 kB / 0.5289 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.1217, allocations: 11.44 kB / 0.5289 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1217, allocations: 0 / 0.5289 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.005041/0.1268, allocations: 1.65 MB / 0.5306 GB, free: 11.85 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: 4.618688892573118] Failed to read output from testmodel.py, exit status != 0: 0.13414456322789192 0.147861074 0.03832271 Calling exit ...