Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_case_studies.foo.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.0007864/0.0007864, allocations: 75.7 kB / 20.8 MB, free: 3.711 MB / 18.57 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.0007283/0.0007283, allocations: 166 kB / 24.09 MB, free: 424 kB / 18.57 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 0.8641/0.8641, allocations: 177.1 MB / 204.4 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.05932/0.05932, allocations: 18.13 MB / 279 MB, free: 11.48 MB / 266.7 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.Coursework.ElecSys_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") translateModel(AES.Coursework.ElecSys_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 416.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.109e-05, allocations: 2.281 kB / 416.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.001782/0.001803, allocations: 1.828 MB / 418.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006051/0.002408, allocations: 0.5303 MB / 418.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.002468, allocations: 1.406 kB / 418.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.002676, allocations: 29.27 kB / 418.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.002794, allocations: 51.23 kB / 419 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.002938, allocations: 73.17 kB / 419 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003085, allocations: 179.9 kB / 419.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.003176, allocations: 31.7 kB / 419.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.00332, allocations: 83.59 kB / 419.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.003425, allocations: 71.61 kB / 419.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.003447, allocations: 12.09 kB / 419.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.003466, allocations: 13.19 kB / 419.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.00351, allocations: 45.58 kB / 419.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.003553, allocations: 43.81 kB / 419.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.003695, allocations: 149.7 kB / 419.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003697, allocations: 0.7031 kB / 419.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003698, allocations: 0 / 419.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.003701, allocations: 1.406 kB / 419.7 MB, free: 10.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005053/0.004206, allocations: 425 kB / 420.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.004233, allocations: 10.42 kB / 420.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.004264, allocations: 20.55 kB / 420.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.004479, allocations: 198.5 kB / 420.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.004492, allocations: 9.75 kB / 420.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.004515, allocations: 13.19 kB / 420.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.004656, allocations: 112.7 kB / 420.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004662, allocations: 192 / 420.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.004673, allocations: 9.219 kB / 420.4 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.004677, allocations: 2.5 kB / 420.5 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.0048, allocations: 89.19 kB / 420.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.005224, allocations: 382.8 kB / 420.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.005433, allocations: 149.3 kB / 421.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.005503, allocations: 61.73 kB / 421.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.005513, allocations: 2 kB / 421.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.14e-05/0.005525, allocations: 37.17 kB / 421.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 8.82e-07/0.005526, allocations: 0 / 421.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005991/0.006125, allocations: 480.7 kB / 421.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.006142, allocations: 54.36 kB / 421.7 MB, free: 9.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.006311, allocations: 200.4 kB / 421.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.006319, allocations: 25.7 kB / 421.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.006357, allocations: 120.3 kB / 422 MB, free: 8.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.006383, allocations: 55.05 kB / 422.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.006418, allocations: 41.06 kB / 422.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.923e-05/0.006447, allocations: 326.9 kB / 422.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.006505, allocations: 47.98 kB / 422.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.006572, allocations: 68.45 kB / 422.5 MB, free: 8.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.007003, allocations: 268.6 kB / 422.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.007004, allocations: 0.5156 kB / 422.8 MB, free: 8.383 MB / 330.7 MB Warning: The linear system: 1 : Ge1.Pm = Ge1.Pcmd 2 : Ge1.Pm = Ge1.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ Ge1.Pm ; Ge1.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge1.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003228/0.007327, allocations: 240.6 kB / 423 MB, free: 8.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.007338, allocations: 7.453 kB / 423 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007344, allocations: 1.688 kB / 423.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001173/0.007461, allocations: 48.17 kB / 423.1 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.007566, allocations: 41.2 kB / 423.1 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.00896, allocations: 4.387 MB / 427.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.009135, allocations: 20.62 kB / 427.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.009146, allocations: 5.547 kB / 427.5 MB, free: 3.797 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: Ge1.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: 2 * 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 (17): * Single equations (assignments): 15 * 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.0001061/0.009252, allocations: 137.4 kB / 427.7 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.009279, allocations: 10.14 kB / 427.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.0093, allocations: 21.98 kB / 427.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009303, allocations: 6.734 kB / 427.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.009306, allocations: 0 / 427.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.00931, allocations: 1.641 kB / 427.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.009719, allocations: 425.5 kB / 428.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.009722, allocations: 0 / 428.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.009822, allocations: 28.52 kB / 428.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.009923, allocations: 35.67 kB / 428.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.009936, allocations: 7.406 kB / 428.2 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005565/0.01049, allocations: 1.483 MB / 429.7 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01049, allocations: 4.656 kB / 429.7 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.01079, allocations: 342.3 kB / 430 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.01081, allocations: 15.8 kB / 430 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.01083, allocations: 10.62 kB / 430.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01093, allocations: 12.09 kB / 430.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.01099, allocations: 19.27 kB / 430.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.01099, allocations: 2.984 kB / 430.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.01112, allocations: 156.7 kB / 430.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01112, allocations: 3.938 kB / 430.2 MB, free: 1.535 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01139, allocations: 37.91 kB / 430.3 MB, free: 1.527 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Ge1.thetap,Ge1.deltag,Ge1.wg,C.x_scaled[1]) * 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 (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 Backend phase and start with SimCode phase: time 7.096e-05/0.01146, allocations: 97.83 kB / 430.4 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.01179, allocations: 347.9 kB / 430.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01179, allocations: 1.219 kB / 430.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.01194, allocations: 184.8 kB / 430.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.01215, allocations: 17.45 kB / 430.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.0127, allocations: 435.2 kB / 431.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.01278, allocations: 120.8 kB / 431.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01284, allocations: 19.7 kB / 431.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.01287, allocations: 17.22 kB / 431.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01288, allocations: 4 kB / 431.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of Templates: time 0.00395/0.01683, allocations: 1.987 MB / 433.5 MB, free: 420 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_case_studies.foo.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; mkfifo AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_case_studies.foo.pipe >> ../files/AES_AES.Coursework.ElecSys_case_studies.foo.sim & ./AES_AES.Coursework.ElecSys_case_studies.foo -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ElecSys_case_studies.foo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.736889909952879] Failed to read output from testmodel.py, exit status != 0: 0.02155614923685789 0.030468259 0.024813789000000003 Calling exit ...