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.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.002033/0.002033, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002408/0.002408, allocations: 186 kB / 20.78 MB, free: 1.547 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.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.1116/0.1116, allocations: 22.69 MB / 327.2 MB, free: 7.234 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_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 0.001975/0.001975, allocations: 66.61 kB / 460.6 MB, free: 41.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1484, allocations: 58.03 MB / 0.5065 GB, free: 6.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.003129/0.1515, allocations: 1.89 MB / 0.5083 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.1525, allocations: 0.5146 MB / 0.5088 GB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1526, allocations: 8 kB / 0.5088 GB, free: 4.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1529, allocations: 35.7 kB / 0.5089 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.153, allocations: 47.7 kB / 0.5089 GB, free: 4.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.1532, allocations: 51.91 kB / 0.509 GB, free: 4.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1534, allocations: 211.4 kB / 0.5092 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1535, allocations: 29.48 kB / 0.5092 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1537, allocations: 91.67 kB / 0.5093 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1539, allocations: 91.66 kB / 0.5094 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1539, allocations: 16 kB / 0.5094 GB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.1539, allocations: 12 kB / 0.5094 GB, free: 3.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.154, allocations: 39.89 kB / 0.5094 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1541, allocations: 71.53 kB / 0.5095 GB, free: 3.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1542, allocations: 151.4 kB / 0.5097 GB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1542, allocations: 0 / 0.5097 GB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1542, allocations: 0 / 0.5097 GB, free: 3.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1542, allocations: 0 / 0.5097 GB, free: 3.566 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008937/0.1551, allocations: 0.4909 MB / 0.5101 GB, free: 3.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1552, allocations: 8.75 kB / 0.5101 GB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1552, allocations: 16.84 kB / 0.5102 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1556, allocations: 261.1 kB / 0.5104 GB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1556, allocations: 8.375 kB / 0.5104 GB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1556, allocations: 12.38 kB / 0.5104 GB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1558, allocations: 118.4 kB / 0.5105 GB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1558, allocations: 0 / 0.5105 GB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1558, allocations: 4 kB / 0.5105 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1558, allocations: 4 kB / 0.5105 GB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.156, allocations: 95.81 kB / 0.5106 GB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.1567, allocations: 468.4 kB / 0.5111 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.157, allocations: 142.8 kB / 0.5112 GB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.1571, allocations: 64.83 kB / 0.5113 GB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1571, allocations: 4 kB / 0.5113 GB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.1571, allocations: 38.5 kB / 0.5113 GB, free: 1.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.1571, allocations: 0 / 0.5113 GB, free: 1.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008866/0.158, allocations: 0.5325 MB / 0.5118 GB, free: 1.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.158, allocations: 59.34 kB / 0.5119 GB, free: 1.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1583, allocations: 202.1 kB / 0.5121 GB, free: 0.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1583, allocations: 29.7 kB / 0.5121 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.1583, allocations: 112.3 kB / 0.5122 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1584, allocations: 63.47 kB / 0.5123 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.1584, allocations: 33.72 kB / 0.5123 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.1585, allocations: 330.8 kB / 0.5126 GB, free: 252 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.1585, allocations: 51.92 kB / 0.5127 GB, free: 200 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.831e-05/0.1586, allocations: 69.62 kB / 0.5128 GB, free: 124 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.1594, allocations: 264.1 kB / 0.513 GB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1594, allocations: 0 / 0.513 GB, free: 15.86 MB / 382.1 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.0006295/0.16, allocations: 387.6 kB / 0.5134 GB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.16, allocations: 7.938 kB / 0.5134 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.16, allocations: 0 / 0.5134 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.1602, allocations: 53.62 kB / 0.5134 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.1604, allocations: 40 kB / 0.5135 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.1636, allocations: 4.64 MB / 0.518 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1638, allocations: 16 kB / 0.518 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1638, allocations: 8 kB / 0.518 GB, free: 10.32 MB / 382.1 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.0001572/0.164, allocations: 138.5 kB / 0.5182 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.164, allocations: 7.953 kB / 0.5182 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.1641, allocations: 29.23 kB / 0.5182 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.1641, allocations: 4 kB / 0.5182 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1641, allocations: 3.938 kB / 0.5182 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1641, allocations: 0 / 0.5182 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.1648, allocations: 0.498 MB / 0.5187 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1648, allocations: 4 kB / 0.5187 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.165, allocations: 23.98 kB / 0.5187 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.1652, allocations: 44.81 kB / 0.5188 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1652, allocations: 0 / 0.5188 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.1666, allocations: 1.626 MB / 0.5203 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1666, allocations: 0 / 0.5203 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.1671, allocations: 340.2 kB / 0.5207 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.1672, allocations: 93.09 kB / 0.5208 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1672, allocations: 11.94 kB / 0.5208 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.1674, allocations: 12.02 kB / 0.5208 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1675, allocations: 23.86 kB / 0.5208 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1675, allocations: 4 kB / 0.5208 GB, free: 7.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.1678, allocations: 151.2 kB / 0.521 GB, free: 7.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1678, allocations: 4 kB / 0.521 GB, free: 7.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.1682, allocations: 32 kB / 0.521 GB, free: 7.047 MB / 382.1 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 0.0001658/0.1683, allocations: 99.25 kB / 0.5211 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.1691, allocations: 345.7 kB / 0.5214 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1691, allocations: 64 / 0.5214 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.1694, allocations: 182.6 kB / 0.5216 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1697, allocations: 22.02 kB / 0.5216 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1707, allocations: 0.5114 MB / 0.5221 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1711, allocations: 0.728 MB / 0.5228 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.44e-05/0.1712, allocations: 17.42 kB / 0.5228 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.1712, allocations: 19.38 kB / 0.5229 GB, free: 5.043 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1712, allocations: 0 / 0.5229 GB, free: 5.043 MB / 382.1 MB Notification: Performance of Templates: time 0.006194/0.1774, allocations: 2.07 MB / 0.5249 GB, free: 2.973 MB / 382.1 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 -lv LOG_STATS > AES_AES.Coursework.ElecSys_case_studies.foo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.978113346733153]