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.001488/0.001488, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001615/0.001615, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.1007/0.1007, allocations: 17.8 MB / 277.6 MB, free: 15.33 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.003263/0.003263, allocations: 66.25 kB / 412.3 MB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1287, allocations: 59.56 MB / 471.9 MB, free: 11.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003084/0.1318, allocations: 1.646 MB / 473.5 MB, free: 9.512 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.1328, allocations: 471 kB / 474 MB, free: 9.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.1328, allocations: 4 kB / 474 MB, free: 9.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/0.1329, allocations: 11.86 kB / 474 MB, free: 9.035 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1331, allocations: 35.7 kB / 474 MB, free: 9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.513e-05/0.1332, allocations: 27.97 kB / 474 MB, free: 8.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.1334, allocations: 119.5 kB / 474.2 MB, free: 8.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1335, allocations: 25.61 kB / 474.2 MB, free: 8.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.1337, allocations: 59.72 kB / 474.2 MB, free: 8.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1339, allocations: 43.75 kB / 474.3 MB, free: 8.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1339, allocations: 12 kB / 474.3 MB, free: 8.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.1339, allocations: 8 kB / 474.3 MB, free: 8.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.1339, allocations: 23.92 kB / 474.3 MB, free: 8.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.134, allocations: 43.67 kB / 474.4 MB, free: 8.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1342, allocations: 107.5 kB / 474.5 MB, free: 8.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1342, allocations: 4 kB / 474.5 MB, free: 8.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1342, allocations: 0 / 474.5 MB, free: 8.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1342, allocations: 0 / 474.5 MB, free: 8.527 MB / 446.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.0006698/0.1349, allocations: 357.7 kB / 474.8 MB, free: 8.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1349, allocations: 8.031 kB / 474.8 MB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.135, allocations: 8.891 kB / 474.8 MB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.1352, allocations: 154.8 kB / 475 MB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1353, allocations: 16.12 kB / 475 MB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.1353, allocations: 8 kB / 475 MB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1355, allocations: 81.66 kB / 475.1 MB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1355, allocations: 0 / 475.1 MB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1355, allocations: 0 / 475.1 MB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1355, allocations: 4 kB / 475.1 MB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1356, allocations: 35.98 kB / 475.1 MB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.1362, allocations: 316.1 kB / 475.4 MB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.1365, allocations: 102.4 kB / 475.5 MB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.1366, allocations: 56.81 kB / 475.6 MB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.1366, allocations: 0 / 475.6 MB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1366, allocations: 30.56 kB / 475.6 MB, free: 7.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.1366, allocations: 0 / 475.6 MB, free: 7.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008243/0.1375, allocations: 366.7 kB / 476 MB, free: 6.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1375, allocations: 51.41 kB / 476 MB, free: 6.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1377, allocations: 165.1 kB / 476.2 MB, free: 6.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1377, allocations: 37.58 kB / 476.2 MB, free: 6.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.1378, allocations: 108.3 kB / 476.3 MB, free: 6.477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.1379, allocations: 51.53 kB / 476.4 MB, free: 6.426 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.1379, allocations: 33.7 kB / 476.4 MB, free: 6.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1381, allocations: 322.8 kB / 476.7 MB, free: 6.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.1381, allocations: 31.98 kB / 476.8 MB, free: 6.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.1382, allocations: 57.06 kB / 476.8 MB, free: 5.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.1387, allocations: 177.4 kB / 477 MB, free: 5.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1387, allocations: 0 / 477 MB, free: 5.789 MB / 446.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.0004744/0.1392, allocations: 203.9 kB / 477.2 MB, free: 5.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1392, allocations: 4 kB / 477.2 MB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1392, allocations: 0 / 477.2 MB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.1394, allocations: 57.62 kB / 477.3 MB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1395, allocations: 27.92 kB / 477.3 MB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.1428, allocations: 4.376 MB / 481.7 MB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.1429, allocations: 7.953 kB / 481.7 MB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1429, allocations: 4 kB / 481.7 MB, free: 0.8281 MB / 446.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.0001658/0.1431, allocations: 130 kB / 481.8 MB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.1431, allocations: 15.88 kB / 481.8 MB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.1431, allocations: 16.78 kB / 481.8 MB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1431, allocations: 0 / 481.8 MB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1431, allocations: 0 / 481.8 MB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1431, allocations: 0 / 481.8 MB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.1438, allocations: 388.5 kB / 482.2 MB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1438, allocations: 0 / 482.2 MB, free: 236 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1439, allocations: 16.06 kB / 482.2 MB, free: 220 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.144, allocations: 44.91 kB / 482.3 MB, free: 172 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.144, allocations: 15.88 kB / 482.3 MB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.265/0.409, allocations: 1.477 MB / 483.8 MB, free: 50.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.409, allocations: 4.594 kB / 483.8 MB, free: 50.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.4093, allocations: 282.3 kB / 484 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.4093, allocations: 10.81 kB / 484.1 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4093, allocations: 10.34 kB / 484.1 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4094, allocations: 2.688 kB / 484.1 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.4095, allocations: 6.328 kB / 484.1 MB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4095, allocations: 6.156 kB / 484.1 MB, free: 50.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.267e-05/0.4095, allocations: 122.7 kB / 484.2 MB, free: 50.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4095, allocations: 0 / 484.2 MB, free: 50.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004104/0.4099, allocations: 28.94 kB / 484.2 MB, free: 50.23 MB / 446.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 7.839e-05/0.41, allocations: 106.8 kB / 484.3 MB, free: 50.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.4104, allocations: 317.2 kB / 484.6 MB, free: 49.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4104, allocations: 0 / 484.6 MB, free: 49.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.4105, allocations: 157.5 kB / 484.8 MB, free: 49.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.4108, allocations: 19.38 kB / 484.8 MB, free: 49.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.4116, allocations: 0.493 MB / 485.3 MB, free: 49.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.792e-05/0.4116, allocations: 99.06 kB / 485.4 MB, free: 49.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.4117, allocations: 11.58 kB / 485.4 MB, free: 49.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.4117, allocations: 18.88 kB / 485.4 MB, free: 49.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4117, allocations: 0 / 485.4 MB, free: 49.48 MB / 446.1 MB Notification: Performance of Templates: time 0.004357/0.4161, allocations: 1.595 MB / 487 MB, free: 49.36 MB / 446.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 -s ida -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.897067426936701] Failed to read output from testmodel.py, exit status != 0: 0.4265500420005992 0.432964652 0.296530216 Calling exit ...