Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.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.001311/0.001311, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001332/0.001332, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.293 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.09859/0.09859, allocations: 22.68 MB / 327.2 MB, free: 7.305 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.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop") translateModel(AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.59 kB / 460.6 MB, free: 40.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1377, allocations: 58.03 MB / 0.5065 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop): time 0.003399/0.1411, allocations: 2.631 MB / 0.5091 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1425, allocations: 0.799 MB / 0.5099 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1427, allocations: 4 kB / 0.5099 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.1432, allocations: 99.2 kB / 0.51 GB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.1435, allocations: 147.1 kB / 0.5101 GB, free: 2.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1438, allocations: 195.7 kB / 0.5103 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.1443, allocations: 0.5576 MB / 0.5108 GB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1445, allocations: 92.48 kB / 0.5109 GB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.1447, allocations: 239.1 kB / 0.5111 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.145, allocations: 262.8 kB / 0.5114 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.145, allocations: 40 kB / 0.5114 GB, free: 1.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.1451, allocations: 36 kB / 0.5115 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1452, allocations: 119.5 kB / 0.5116 GB, free: 1.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1453, allocations: 202.7 kB / 0.5118 GB, free: 1.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.1457, allocations: 426 kB / 0.5122 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1457, allocations: 0 / 0.5122 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1457, allocations: 0 / 0.5122 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1457, allocations: 0 / 0.5122 GB, free: 0.8398 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00173/0.1474, allocations: 0.866 MB / 0.513 GB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1475, allocations: 12.75 kB / 0.513 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1476, allocations: 52.61 kB / 0.5131 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.1485, allocations: 434.3 kB / 0.5135 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.1485, allocations: 25.03 kB / 0.5135 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.654e-05/0.1486, allocations: 39.89 kB / 0.5136 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.1492, allocations: 309.9 kB / 0.5139 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1492, allocations: 0 / 0.5139 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1492, allocations: 16 kB / 0.5139 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1492, allocations: 8 kB / 0.5139 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.1497, allocations: 234.4 kB / 0.5141 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1515, allocations: 1.066 MB / 0.5151 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/0.1524, allocations: 403.9 kB / 0.5155 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.1526, allocations: 153.4 kB / 0.5157 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.1527, allocations: 4.328 kB / 0.5157 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1527, allocations: 34.83 kB / 0.5157 GB, free: 13.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.1527, allocations: 0 / 0.5157 GB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.003212/0.1559, allocations: 1.194 MB / 0.5169 GB, free: 11.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.156, allocations: 59.41 kB / 0.5169 GB, free: 11.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.1568, allocations: 437.5 kB / 0.5174 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.1568, allocations: 33.7 kB / 0.5174 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.157, allocations: 208.7 kB / 0.5176 GB, free: 11.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.1571, allocations: 162.6 kB / 0.5177 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1573, allocations: 78.08 kB / 0.5178 GB, free: 10.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1574, allocations: 358.7 kB / 0.5182 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1576, allocations: 112.8 kB / 0.5183 GB, free: 10.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.1579, allocations: 173 kB / 0.5184 GB, free: 10.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.1621, allocations: 0.9165 MB / 0.5193 GB, free: 9.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1621, allocations: 0 / 0.5193 GB, free: 9.191 MB / 382.1 MB Warning: The linear system: 1 : Ge2.Pm = Ge2.Pcmd 2 : Ge2.Pm = Ge2.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ Ge2.Pcmd ; Ge2.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge2.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. 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=54) (initialization): time 0.002392/0.1645, allocations: 0.9548 MB / 0.5203 GB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1645, allocations: 4 kB / 0.5203 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1645, allocations: 3.938 kB / 0.5203 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.1662, allocations: 262.9 kB / 0.5205 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.1666, allocations: 87.89 kB / 0.5206 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009709/0.1763, allocations: 8.605 MB / 0.529 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.1769, allocations: 47.95 kB / 0.529 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.1769, allocations: 16 kB / 0.5291 GB, free: 14.57 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: Ge2.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: 5 * Number of states: 0 () * Number of discrete variables: 1 (Cs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003054/0.1772, allocations: 161.8 kB / 0.5292 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/0.1773, allocations: 39.77 kB / 0.5293 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.1789, allocations: 0.5452 MB / 0.5298 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.1789, allocations: 4 kB / 0.5298 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.1789, allocations: 0 / 0.5298 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1789, allocations: 0 / 0.5298 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.1812, allocations: 1.035 MB / 0.5308 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1812, allocations: 4 kB / 0.5308 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.1815, allocations: 63.91 kB / 0.5309 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000985/0.1825, allocations: 180.7 kB / 0.531 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.1826, allocations: 16 kB / 0.5311 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004819/0.1874, allocations: 2.408 MB / 0.5334 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1874, allocations: 4.094 kB / 0.5334 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.1892, allocations: 0.7642 MB / 0.5342 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1893, allocations: 124.8 kB / 0.5343 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.1894, allocations: 12 kB / 0.5343 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.1898, allocations: 35.95 kB / 0.5343 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.1899, allocations: 31.94 kB / 0.5344 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1899, allocations: 12 kB / 0.5344 GB, free: 8.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006621/0.1905, allocations: 331 kB / 0.5347 GB, free: 8.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1905, allocations: 3.938 kB / 0.5347 GB, free: 8.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006022/0.1911, allocations: 96 kB / 0.5348 GB, free: 8.469 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (G1.x_scaled[1],G2.x_scaled[1],Cs.y,Ge1.deltag,Ge1.wg,Ge2.thetap,Ge2.deltag,Ge2.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 (32): * Single equations (assignments): 31 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.1913, allocations: 117.7 kB / 0.5349 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.1925, allocations: 0.6591 MB / 0.5355 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1925, allocations: 0 / 0.5355 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.1929, allocations: 306.6 kB / 0.5358 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.1934, allocations: 65.41 kB / 0.5359 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1953, allocations: 1.063 MB / 0.5369 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.1958, allocations: 0.8354 MB / 0.5377 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.196, allocations: 51.25 kB / 0.5378 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.1961, allocations: 27.44 kB / 0.5378 GB, free: 5.242 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1961, allocations: 0 / 0.5378 GB, free: 5.242 MB / 398.1 MB Notification: Performance of Templates: time 0.0116/0.2077, allocations: 5.414 MB / 0.5431 GB, free: 15.83 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe ; mkfifo AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe >> ../files/AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.sim & ./AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.055131614208221]