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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 105.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.1543/0.1543, allocations: 22.7 MB / 325.4 MB, free: 3.555 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.89 kB / 455.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1293, allocations: 58.02 MB / 0.5015 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.003259/0.1325, allocations: 1.62 MB / 0.5031 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.1334, allocations: 451.1 kB / 0.5035 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.1334, allocations: 0 / 0.5035 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.1335, allocations: 11.92 kB / 0.5035 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1337, allocations: 31.72 kB / 0.5036 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.733e-05/0.1338, allocations: 15.97 kB / 0.5036 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.1339, allocations: 111.6 kB / 0.5037 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.134, allocations: 19.94 kB / 0.5037 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1341, allocations: 39.84 kB / 0.5037 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1343, allocations: 55.69 kB / 0.5038 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1343, allocations: 8 kB / 0.5038 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.117e-05/0.1343, allocations: 8 kB / 0.5038 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.1343, allocations: 23.92 kB / 0.5038 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.1344, allocations: 43.8 kB / 0.5039 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1345, allocations: 87.56 kB / 0.504 GB, free: 6.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1345, allocations: 0 / 0.504 GB, free: 6.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1345, allocations: 0 / 0.504 GB, free: 6.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1346, allocations: 0 / 0.504 GB, free: 6.762 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.0007093/0.1353, allocations: 411 kB / 0.5044 GB, free: 6.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1353, allocations: 11.97 kB / 0.5044 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.1354, allocations: 12.89 kB / 0.5044 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1356, allocations: 192.2 kB / 0.5046 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1356, allocations: 8.375 kB / 0.5046 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1357, allocations: 4.375 kB / 0.5046 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1358, allocations: 81.55 kB / 0.5046 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1358, allocations: 0 / 0.5046 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1359, allocations: 4 kB / 0.5047 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1359, allocations: 3.938 kB / 0.5047 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.136, allocations: 47.91 kB / 0.5047 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.1366, allocations: 372.5 kB / 0.5051 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1369, allocations: 82.64 kB / 0.5051 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.1369, allocations: 36.84 kB / 0.5052 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.137, allocations: 4 kB / 0.5052 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.137, allocations: 34.75 kB / 0.5052 GB, free: 5.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.137, allocations: 0 / 0.5052 GB, free: 5.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008225/0.1378, allocations: 422.7 kB / 0.5056 GB, free: 4.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1379, allocations: 51.41 kB / 0.5057 GB, free: 4.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1381, allocations: 148.5 kB / 0.5058 GB, free: 4.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1381, allocations: 25.7 kB / 0.5058 GB, free: 4.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.1382, allocations: 108 kB / 0.5059 GB, free: 4.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1382, allocations: 43.64 kB / 0.506 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.1383, allocations: 25.72 kB / 0.506 GB, free: 4.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1384, allocations: 322.8 kB / 0.5063 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.1385, allocations: 31.92 kB / 0.5063 GB, free: 4.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.1386, allocations: 46.56 kB / 0.5064 GB, free: 4.012 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.1391, allocations: 251.5 kB / 0.5066 GB, free: 3.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1391, allocations: 8 kB / 0.5066 GB, free: 3.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003256/0.1394, allocations: 154.3 kB / 0.5068 GB, free: 3.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1394, allocations: 4 kB / 0.5068 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1395, allocations: 4 kB / 0.5068 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.1396, allocations: 32.83 kB / 0.5068 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.1397, allocations: 23.94 kB / 0.5068 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.1415, allocations: 1.619 MB / 0.5084 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.1416, allocations: 4.031 kB / 0.5084 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1416, allocations: 7.938 kB / 0.5084 GB, free: 1.73 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.0001479/0.1418, allocations: 125.9 kB / 0.5085 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.1418, allocations: 11.91 kB / 0.5086 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.1418, allocations: 20.78 kB / 0.5086 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1418, allocations: 0 / 0.5086 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1418, allocations: 3.938 kB / 0.5086 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1418, allocations: 4 kB / 0.5086 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.1424, allocations: 428.8 kB / 0.509 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1424, allocations: 3.938 kB / 0.509 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.1425, allocations: 16 kB / 0.509 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.1426, allocations: 44.88 kB / 0.5091 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1427, allocations: 4 kB / 0.5091 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2409/0.3835, allocations: 1.617 MB / 0.5106 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.3836, allocations: 1.297 kB / 0.5106 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.3839, allocations: 262.4 kB / 0.5109 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.384, allocations: 91.09 kB / 0.511 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.384, allocations: 8.516 kB / 0.511 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3841, allocations: 3.719 kB / 0.511 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3842, allocations: 11.75 kB / 0.511 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3842, allocations: 3.688 kB / 0.511 GB, free: 14.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.606e-05/0.3843, allocations: 112.9 kB / 0.5111 GB, free: 13.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3843, allocations: 1.375 kB / 0.5111 GB, free: 13.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.3846, allocations: 25.62 kB / 0.5111 GB, free: 13.98 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.0001021/0.3847, allocations: 101.6 kB / 0.5112 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.3851, allocations: 194.6 kB / 0.5114 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3851, allocations: 0.5938 kB / 0.5114 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.3853, allocations: 160.9 kB / 0.5116 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3856, allocations: 13.8 kB / 0.5116 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008856/0.3864, allocations: 468 kB / 0.512 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.3866, allocations: 0.705 MB / 0.5127 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.75e-05/0.3866, allocations: 11.06 kB / 0.5127 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.3867, allocations: 12.44 kB / 0.5127 GB, free: 12.74 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3867, allocations: 1.25 kB / 0.5127 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Templates: time 0.004565/0.3912, allocations: 1.411 MB / 0.5141 GB, free: 12.65 MB / 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: 5.110908577218652] Failed to read output from testmodel.py, exit status != 0: 0.3993378127925098 0.41238022100000005 0.275274636 Calling exit ...