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.0009839/0.0009839, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002136, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007538/0.0007538, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001782, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9569/0.9569, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08294/1.04, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.06379/0.06379, allocations: 18.12 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01086/0.07464, allocations: 6.778 MB / 268.9 MB, free: 6.352 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 2.094e-06/2.094e-06, allocations: 0 / 270.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.912e-05, allocations: 5.828 kB / 270.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.003173/0.003202, allocations: 1.94 MB / 272.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.004105, allocations: 0.5531 MB / 272.8 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.004187, allocations: 4 kB / 272.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.00439, allocations: 27.77 kB / 272.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.004549, allocations: 55.62 kB / 272.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.00475, allocations: 71.88 kB / 272.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.004958, allocations: 175.3 kB / 273.1 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.005067, allocations: 30.38 kB / 273.1 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.00533, allocations: 143.6 kB / 273.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.005482, allocations: 71.77 kB / 273.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.005515, allocations: 16 kB / 273.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.674e-05/0.005542, allocations: 12 kB / 273.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.005595, allocations: 27.92 kB / 273.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.005653, allocations: 35.88 kB / 273.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.005821, allocations: 99.55 kB / 273.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.005835, allocations: 0 / 273.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005836, allocations: 0 / 273.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.00585, allocations: 0 / 273.5 MB, free: 1.641 MB / 266.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.0006507/0.006501, allocations: 403.8 kB / 273.9 MB, free: 1.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.006534, allocations: 12.03 kB / 273.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.00658, allocations: 12.92 kB / 274 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.00682, allocations: 166.2 kB / 274.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.00684, allocations: 12.38 kB / 274.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.006866, allocations: 12.38 kB / 274.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.007024, allocations: 93.55 kB / 274.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007033, allocations: 192 / 274.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007045, allocations: 11.88 kB / 274.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.007051, allocations: 4 kB / 274.3 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.007131, allocations: 27.98 kB / 274.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.007637, allocations: 289.5 kB / 274.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.007856, allocations: 142.9 kB / 274.7 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.007906, allocations: 32.83 kB / 274.7 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.007917, allocations: 4 kB / 274.7 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.00794, allocations: 34.56 kB / 274.8 MB, free: 316 kB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.007942, allocations: 0 / 274.8 MB, free: 316 kB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.1087/0.1167, allocations: 331.7 kB / 275.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.1167, allocations: 54.19 kB / 275.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1168, allocations: 151.6 kB / 275.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.1168, allocations: 29.27 kB / 275.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.1168, allocations: 108.1 kB / 275.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1169, allocations: 63.34 kB / 275.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1169, allocations: 40.03 kB / 275.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.1169, allocations: 330.6 kB / 275.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.117, allocations: 17.67 kB / 275.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.117, allocations: 36.55 kB / 275.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1171, allocations: 96.47 kB / 276 MB, free: 2.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1171, allocations: 0 / 276 MB, free: 2.66 MB / 266.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.0003168/0.1174, allocations: 153.7 kB / 276.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1175, allocations: 6.391 kB / 276.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1175, allocations: 0 / 276.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.1177, allocations: 53.64 kB / 276.2 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.1179, allocations: 64.72 kB / 276.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1193, allocations: 4.196 MB / 280.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.1194, allocations: 9.359 kB / 280.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1194, allocations: 2.188 kB / 280.5 MB, free: 14.46 MB / 282.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 8.819e-05/0.1195, allocations: 127.9 kB / 280.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1195, allocations: 14.92 kB / 280.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.1195, allocations: 22.33 kB / 280.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1195, allocations: 3.609 kB / 280.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1195, allocations: 0.6562 kB / 280.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1195, allocations: 1.891 kB / 280.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.1198, allocations: 341.4 kB / 281 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1198, allocations: 1.875 kB / 281 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.12, allocations: 35.77 kB / 281 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.12, allocations: 21.55 kB / 281 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.1201, allocations: 43.53 kB / 281.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1201, allocations: 7.109 kB / 281.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005986/0.1207, allocations: 1.354 MB / 282.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1207, allocations: 4.812 kB / 282.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1209, allocations: 287.4 kB / 282.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.121, allocations: 8.656 kB / 282.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.121, allocations: 7.844 kB / 282.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.121, allocations: 10.98 kB / 282.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1211, allocations: 3.625 kB / 282.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.1211, allocations: 46.22 kB / 282.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1211, allocations: 0.6562 kB / 282.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.1213, allocations: 33.61 kB / 282.8 MB, free: 12.61 MB / 282.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 8.738e-05/0.1214, allocations: 86.62 kB / 282.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.1217, allocations: 306.2 kB / 283.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.1217, allocations: 3.062 kB / 283.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1218, allocations: 170.3 kB / 283.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.122, allocations: 33.47 kB / 283.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1234, allocations: 372.4 kB / 283.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.002e-05/0.1234, allocations: 81.17 kB / 283.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.1235, allocations: 16.72 kB / 283.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.1235, allocations: 67.22 kB / 283.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1235, allocations: 0 / 283.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of Templates: time 0.004551/0.1281, allocations: 2.311 MB / 286.3 MB, free: 11.78 MB / 282.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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_case_studies.foo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.604194742627442]