Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.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.001918/0.001918, allocations: 108.5 kB / 17.14 MB, free: 5.93 MB / 14.72 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.00294/0.00294, allocations: 205.1 kB / 20.11 MB, free: 2.977 MB / 14.72 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 1.65/1.65, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1255/0.1255, allocations: 24.04 MB / 333.6 MB, free: 1.57 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.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.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 66.06 kB / 468.9 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1508, allocations: 59.55 MB / 0.516 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001896/0.1527, allocations: 0.5616 MB / 0.5166 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001763/0.1529, allocations: 28.67 kB / 0.5166 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.1529, allocations: 3.938 kB / 0.5166 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1529, allocations: 3.938 kB / 0.5166 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.153, allocations: 11.92 kB / 0.5166 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.1531, allocations: 11.98 kB / 0.5166 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.1532, allocations: 23.92 kB / 0.5167 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.1533, allocations: 4 kB / 0.5167 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.1533, allocations: 27.84 kB / 0.5167 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.1534, allocations: 19.8 kB / 0.5167 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1534, allocations: 4 kB / 0.5167 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.1534, allocations: 0 / 0.5167 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.1535, allocations: 11.98 kB / 0.5167 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1535, allocations: 15.88 kB / 0.5168 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.028e-05/0.1536, allocations: 27.83 kB / 0.5168 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1536, allocations: 0 / 0.5168 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1536, allocations: 3.938 kB / 0.5168 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1536, allocations: 0 / 0.5168 GB, free: 11.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005748/0.1542, allocations: 357.7 kB / 0.5171 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1542, allocations: 12.62 kB / 0.5171 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.1543, allocations: 4.891 kB / 0.5171 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1544, allocations: 176.3 kB / 0.5173 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1544, allocations: 384 / 0.5173 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1545, allocations: 4.375 kB / 0.5173 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1546, allocations: 58.17 kB / 0.5174 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1546, allocations: 4.188 kB / 0.5174 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1546, allocations: 3.938 kB / 0.5174 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.1546, allocations: 0 / 0.5174 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.1547, allocations: 12 kB / 0.5174 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.1552, allocations: 280.8 kB / 0.5177 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1554, allocations: 50.55 kB / 0.5177 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.1554, allocations: 12.86 kB / 0.5177 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1554, allocations: 3.938 kB / 0.5177 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1555, allocations: 34.56 kB / 0.5178 GB, free: 9.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1555, allocations: 0 / 0.5178 GB, free: 9.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.1557, allocations: 65.72 kB / 0.5178 GB, free: 9.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1557, allocations: 55.41 kB / 0.5179 GB, free: 9.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1558, allocations: 117.8 kB / 0.518 GB, free: 9.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1558, allocations: 29.7 kB / 0.518 GB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.1559, allocations: 96.08 kB / 0.5181 GB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.1559, allocations: 7.984 kB / 0.5181 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.156, allocations: 25.67 kB / 0.5181 GB, free: 9.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1561, allocations: 322.8 kB / 0.5184 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.1562, allocations: 15.98 kB / 0.5185 GB, free: 9.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.1562, allocations: 33.64 kB / 0.5185 GB, free: 9.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.1565, allocations: 73.56 kB / 0.5186 GB, free: 9.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1565, allocations: 3.938 kB / 0.5186 GB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.1566, allocations: 73.62 kB / 0.5186 GB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1566, allocations: 11.97 kB / 0.5186 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1566, allocations: 0 / 0.5186 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1567, allocations: 4 kB / 0.5186 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.918e-05/0.1568, allocations: 19.98 kB / 0.5187 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1568, allocations: 0 / 0.5187 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.1568, allocations: 7.953 kB / 0.5187 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1568, allocations: 0 / 0.5187 GB, free: 8.887 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Ta:VARIABLE(start = 10.0 fixed = true ) type: Real Tw:VARIABLE(start = 10.0 fixed = true ) 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.157, allocations: 126.5 kB / 0.5188 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.157, allocations: 3.953 kB / 0.5188 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.1571, allocations: 15.89 kB / 0.5188 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1571, allocations: 0 / 0.5188 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1571, allocations: 0 / 0.5188 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1571, allocations: 0 / 0.5188 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1573, allocations: 169.6 kB / 0.519 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1573, allocations: 0 / 0.519 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1574, allocations: 16 kB / 0.519 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1574, allocations: 0 / 0.519 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1574, allocations: 4.062 kB / 0.519 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1574, allocations: 4 kB / 0.519 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1574, allocations: 4 kB / 0.519 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1576, allocations: 171.4 kB / 0.5192 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1577, allocations: 77.11 kB / 0.5192 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1577, allocations: 4.031 kB / 0.5192 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.1577, allocations: 0 / 0.5192 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.1578, allocations: 3.984 kB / 0.5192 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1578, allocations: 0 / 0.5192 GB, free: 8.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.1578, allocations: 99.78 kB / 0.5193 GB, free: 8.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1578, allocations: 0 / 0.5193 GB, free: 8.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1581, allocations: 11.98 kB / 0.5194 GB, free: 8.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Ta,Tw) * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001054/0.1582, allocations: 91.25 kB / 0.5194 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.1583, allocations: 40.06 kB / 0.5195 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1583, allocations: 0 / 0.5195 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.1583, allocations: 12 kB / 0.5195 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1585, allocations: 14.12 kB / 0.5195 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.1589, allocations: 173.8 kB / 0.5197 GB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1592, allocations: 0.6888 MB / 0.5203 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.375e-05/0.1593, allocations: 0 / 0.5203 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1593, allocations: 11.44 kB / 0.5204 GB, free: 7.012 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1593, allocations: 0 / 0.5204 GB, free: 7.012 MB / 382.1 MB Notification: Performance of Templates: time 0.002926/0.1622, allocations: 425.2 kB / 0.5208 GB, free: 6.598 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.sim & ./AES_AES.Coursework.Modelling_principles.M2_PhasorDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.128704393282533] Failed to read output from testmodel.py, exit status != 0: 0.17018252424895763 0.189420676 0.031780038000000004 Calling exit ...