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.001372/0.001372, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001654/0.001654, allocations: 210.2 kB / 23.01 MB, free: 4.992 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1078/0.1078, allocations: 24.03 MB / 337.2 MB, free: 11.32 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.002117/0.002117, allocations: 75.89 kB / 472 MB, free: 8.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4283, allocations: 59.56 MB / 0.5191 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002783/0.4311, allocations: 1.653 MB / 0.5207 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.4319, allocations: 470.9 kB / 0.5211 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.432, allocations: 1.25 kB / 0.5211 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.4321, allocations: 11.5 kB / 0.5212 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.4323, allocations: 38.5 kB / 0.5212 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.503e-05/0.4324, allocations: 23.62 kB / 0.5212 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.4325, allocations: 126.5 kB / 0.5213 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4327, allocations: 20.98 kB / 0.5214 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.4328, allocations: 54.12 kB / 0.5214 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.4329, allocations: 51.44 kB / 0.5215 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.433, allocations: 8.625 kB / 0.5215 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.353e-05/0.433, allocations: 12.47 kB / 0.5215 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.433, allocations: 28.44 kB / 0.5215 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.4331, allocations: 43.53 kB / 0.5215 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.4332, allocations: 101.8 kB / 0.5216 GB, free: 7.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4332, allocations: 0.6562 kB / 0.5216 GB, free: 7.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4332, allocations: 0 / 0.5216 GB, free: 7.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4332, allocations: 0 / 0.5216 GB, free: 7.742 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.0005406/0.4338, allocations: 352 kB / 0.522 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4338, allocations: 9.625 kB / 0.522 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.4338, allocations: 19.7 kB / 0.522 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.4341, allocations: 150 kB / 0.5222 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4341, allocations: 10.88 kB / 0.5222 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.4341, allocations: 10.56 kB / 0.5222 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.4343, allocations: 77.25 kB / 0.5222 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4343, allocations: 0 / 0.5222 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4343, allocations: 5.375 kB / 0.5223 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4343, allocations: 5.344 kB / 0.5223 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.4344, allocations: 46.11 kB / 0.5223 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.4349, allocations: 314.9 kB / 0.5226 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.4352, allocations: 92.91 kB / 0.5227 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.4352, allocations: 41.44 kB / 0.5227 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4352, allocations: 3.312 kB / 0.5227 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.4353, allocations: 35.08 kB / 0.5228 GB, free: 6.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.4353, allocations: 4 kB / 0.5228 GB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007042/0.436, allocations: 360 kB / 0.5231 GB, free: 6.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.436, allocations: 57.28 kB / 0.5232 GB, free: 6.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.4361, allocations: 156.5 kB / 0.5233 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.4361, allocations: 34.95 kB / 0.5233 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.4362, allocations: 109 kB / 0.5235 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.4362, allocations: 57.89 kB / 0.5235 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.4363, allocations: 30.58 kB / 0.5235 GB, free: 6.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.4363, allocations: 326 kB / 0.5238 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.4364, allocations: 31.27 kB / 0.5239 GB, free: 5.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.4364, allocations: 58.06 kB / 0.5239 GB, free: 5.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.4369, allocations: 173.5 kB / 0.5241 GB, free: 5.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4369, allocations: 5 kB / 0.5241 GB, free: 5.707 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.0004127/0.4373, allocations: 194.8 kB / 0.5243 GB, free: 5.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4373, allocations: 4.906 kB / 0.5243 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4373, allocations: 1.312 kB / 0.5243 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.4375, allocations: 59.62 kB / 0.5244 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4376, allocations: 26.31 kB / 0.5244 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.4393, allocations: 4.379 MB / 0.5287 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-05/0.4394, allocations: 3.203 kB / 0.5287 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4394, allocations: 7.812 kB / 0.5287 GB, free: 1.148 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 8.892e-05/0.4395, allocations: 128.8 kB / 0.5288 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.4395, allocations: 13.91 kB / 0.5288 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.4396, allocations: 17.73 kB / 0.5288 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4396, allocations: 4.719 kB / 0.5288 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4396, allocations: 4.844 kB / 0.5288 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4396, allocations: 1.938 kB / 0.5288 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.44, allocations: 388 kB / 0.5292 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.44, allocations: 0 / 0.5292 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4402, allocations: 18.64 kB / 0.5292 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.4403, allocations: 41.06 kB / 0.5293 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4403, allocations: 19 kB / 0.5293 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.4414, allocations: 1.473 MB / 0.5307 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4414, allocations: 1.25 kB / 0.5307 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.4418, allocations: 293.3 kB / 0.531 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.4418, allocations: 13.91 kB / 0.531 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4419, allocations: 5.984 kB / 0.531 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.442, allocations: 6.125 kB / 0.531 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.442, allocations: 8.797 kB / 0.531 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.442, allocations: 4.062 kB / 0.531 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.4421, allocations: 121.4 kB / 0.5311 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4421, allocations: 0 / 0.5311 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.4425, allocations: 29.81 kB / 0.5312 GB, free: 14.88 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.0001493/0.4427, allocations: 106 kB / 0.5313 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005039/0.4432, allocations: 314.9 kB / 0.5316 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4432, allocations: 5.031 kB / 0.5316 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.4434, allocations: 156.3 kB / 0.5317 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4437, allocations: 23.58 kB / 0.5318 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.4447, allocations: 0.5029 MB / 0.5322 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.4448, allocations: 101.1 kB / 0.5323 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.4449, allocations: 10.75 kB / 0.5323 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.4449, allocations: 13.56 kB / 0.5324 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4449, allocations: 0 / 0.5324 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Templates: time 0.005314/0.4502, allocations: 1.696 MB / 0.534 GB, free: 13.72 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.234925286844373] Failed to read output from testmodel.py, exit status != 0: 0.4588577337563038 0.47473079599999995 0.038356182 Calling exit ...