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.00211/0.00211, allocations: 108.5 kB / 16.46 MB, free: 6.508 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.002397/0.002397, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.619/1.619, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1042/0.1042, allocations: 24.11 MB / 333 MB, free: 12.63 MB / 270.1 MB " [Timeout remaining time 179] 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.002375/0.002375, allocations: 63.89 kB / 468.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5412, allocations: 59.56 MB / 0.5155 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001836/0.543, allocations: 0.569 MB / 0.5161 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.5432, allocations: 27.55 kB / 0.5161 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.5432, allocations: 0.5938 kB / 0.5161 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.5432, allocations: 3.938 kB / 0.5161 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.5433, allocations: 10.58 kB / 0.5161 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.5434, allocations: 12.91 kB / 0.5161 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.5435, allocations: 36.3 kB / 0.5162 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.5436, allocations: 2.75 kB / 0.5162 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.5436, allocations: 14.22 kB / 0.5162 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.5437, allocations: 22.94 kB / 0.5162 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.5438, allocations: 1.344 kB / 0.5162 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.5438, allocations: 2.531 kB / 0.5162 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.5438, allocations: 6.438 kB / 0.5162 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.5438, allocations: 15.19 kB / 0.5162 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.5439, allocations: 27.58 kB / 0.5163 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5439, allocations: 0 / 0.5163 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5439, allocations: 0.625 kB / 0.5163 GB, free: 9.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.5439, allocations: 3.938 kB / 0.5163 GB, free: 9.578 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.0004693/0.5444, allocations: 358.7 kB / 0.5166 GB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5445, allocations: 14.94 kB / 0.5166 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.5445, allocations: 7.297 kB / 0.5166 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.5446, allocations: 172.9 kB / 0.5168 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.5446, allocations: 6.375 kB / 0.5168 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.5446, allocations: 7.047 kB / 0.5168 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.5448, allocations: 49.66 kB / 0.5169 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.5448, allocations: 4.188 kB / 0.5169 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.5448, allocations: 8.781 kB / 0.5169 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5448, allocations: 1.531 kB / 0.5169 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.5449, allocations: 15.62 kB / 0.5169 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.5453, allocations: 270.3 kB / 0.5171 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.5455, allocations: 53.52 kB / 0.5172 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.5455, allocations: 19.08 kB / 0.5172 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.5455, allocations: 1.562 kB / 0.5172 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.5455, allocations: 30.56 kB / 0.5172 GB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5455, allocations: 0 / 0.5172 GB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001935/0.5457, allocations: 62.72 kB / 0.5173 GB, free: 8.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.5457, allocations: 53.53 kB / 0.5174 GB, free: 8.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.5458, allocations: 119.2 kB / 0.5175 GB, free: 8.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.5458, allocations: 30.67 kB / 0.5175 GB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.5459, allocations: 100.8 kB / 0.5176 GB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.5459, allocations: 15.66 kB / 0.5176 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.5459, allocations: 23.69 kB / 0.5176 GB, free: 8.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.546, allocations: 318.9 kB / 0.5179 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.546, allocations: 7.406 kB / 0.5179 GB, free: 7.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.5461, allocations: 24.61 kB / 0.518 GB, free: 7.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.5464, allocations: 79.72 kB / 0.518 GB, free: 7.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5464, allocations: 0 / 0.518 GB, free: 7.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001424/0.5465, allocations: 69.69 kB / 0.5181 GB, free: 7.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.5465, allocations: 5.781 kB / 0.5181 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5465, allocations: 4 kB / 0.5181 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.5466, allocations: 5.438 kB / 0.5181 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.5467, allocations: 17.62 kB / 0.5181 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5467, allocations: 6 kB / 0.5181 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.5467, allocations: 14.61 kB / 0.5182 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5467, allocations: 2.047 kB / 0.5182 GB, free: 7.746 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.0001409/0.5469, allocations: 122.8 kB / 0.5183 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.5469, allocations: 7.391 kB / 0.5183 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.5469, allocations: 9.891 kB / 0.5183 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5469, allocations: 0.6562 kB / 0.5183 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5469, allocations: 5.125 kB / 0.5183 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5469, allocations: 0.75 kB / 0.5183 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.5471, allocations: 174.6 kB / 0.5185 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5471, allocations: 0 / 0.5185 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.5472, allocations: 14.86 kB / 0.5185 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5472, allocations: 0 / 0.5185 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5472, allocations: 1.125 kB / 0.5185 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5472, allocations: 0.5156 kB / 0.5185 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5472, allocations: 1.281 kB / 0.5185 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.5474, allocations: 180.8 kB / 0.5187 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.5474, allocations: 78.86 kB / 0.5187 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.5474, allocations: 1.719 kB / 0.5187 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.5475, allocations: 0.5156 kB / 0.5187 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.5475, allocations: 3.547 kB / 0.5187 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.5475, allocations: 1.312 kB / 0.5187 GB, free: 7.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.036e-05/0.5476, allocations: 98.12 kB / 0.5188 GB, free: 7.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5476, allocations: 0 / 0.5188 GB, free: 7.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.5478, allocations: 11.16 kB / 0.5188 GB, free: 7.059 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 9.646e-05/0.5479, allocations: 97.66 kB / 0.5189 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.5481, allocations: 35.28 kB / 0.519 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5481, allocations: 0 / 0.519 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.358e-05/0.5481, allocations: 9.141 kB / 0.519 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.5483, allocations: 12.09 kB / 0.519 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.5487, allocations: 164.4 kB / 0.5191 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.5488, allocations: 0.693 MB / 0.5198 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.5488, allocations: 2.531 kB / 0.5198 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.5488, allocations: 9.188 kB / 0.5198 GB, free: 6.102 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5488, allocations: 0 / 0.5198 GB, free: 6.102 MB / 382.1 MB Notification: Performance of Templates: time 0.00295/0.5518, allocations: 425.8 kB / 0.5202 GB, free: 6.035 MB / 382.1 MB " [Timeout remaining time 659] 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.514672887977213] Failed to read output from testmodel.py, exit status != 0: 0.5610611969605088 0.57285427 0.025884901000000002 Calling exit ...