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.0006754/0.0006754, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000961/0.001636, allocations: 440 kB / 10.41 MB, free: 284 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.0006604/0.0006604, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001937/0.002597, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08387/1.104, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.06383/0.06383, allocations: 18.11 MB / 262.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01154/0.07537, allocations: 6.797 MB / 269.1 MB, free: 6.242 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.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 270.5 MB, free: 4.812 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.419e-05, allocations: 2.312 kB / 270.5 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001425/0.001449, allocations: 0.6182 MB / 271.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.001791, allocations: 35.77 kB / 271.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.001811, allocations: 0 / 271.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.815e-06/0.001819, allocations: 7.938 kB / 271.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.001858, allocations: 7.922 kB / 271.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.685e-05/0.001905, allocations: 7.984 kB / 271.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.001974, allocations: 27.86 kB / 271.2 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.002019, allocations: 7.938 kB / 271.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.002083, allocations: 27.91 kB / 271.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.002157, allocations: 15.97 kB / 271.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.002177, allocations: 0 / 271.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.002186, allocations: 8 kB / 271.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.002204, allocations: 3.938 kB / 271.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.002224, allocations: 8 kB / 271.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.348e-05/0.002298, allocations: 19.86 kB / 271.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.002309, allocations: 4 kB / 271.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00231, allocations: 0 / 271.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.00232, allocations: 0 / 271.3 MB, free: 4.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004374/0.006694, allocations: 256.5 kB / 271.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.006729, allocations: 12.03 kB / 271.5 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.006762, allocations: 8.922 kB / 271.6 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/0.006857, allocations: 125.6 kB / 271.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.006868, allocations: 4.375 kB / 271.7 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.006891, allocations: 4.375 kB / 271.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.289e-05/0.006974, allocations: 46.23 kB / 271.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.00698, allocations: 192 / 271.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.006987, allocations: 384 / 271.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006993, allocations: 4.359 kB / 271.7 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.007015, allocations: 11.94 kB / 271.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.007285, allocations: 164.2 kB / 271.9 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.007406, allocations: 50.61 kB / 272 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.007425, allocations: 12.86 kB / 272 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.007432, allocations: 3.938 kB / 272 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.007453, allocations: 30.56 kB / 272 MB, free: 3.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.007454, allocations: 0 / 272 MB, free: 3.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001301/0.007584, allocations: 53.66 kB / 272.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.007612, allocations: 51.41 kB / 272.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.007692, allocations: 130.6 kB / 272.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.007705, allocations: 29.7 kB / 272.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.007749, allocations: 92.03 kB / 272.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.007764, allocations: 19.89 kB / 272.4 MB, free: 2.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.007801, allocations: 21.7 kB / 272.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.007885, allocations: 322.8 kB / 272.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.007897, allocations: 4 kB / 272.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.00792, allocations: 13.72 kB / 272.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.007989, allocations: 45.69 kB / 272.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.007992, allocations: 3.984 kB / 272.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.915e-05/0.008071, allocations: 53.69 kB / 272.8 MB, free: 2.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.008086, allocations: 8 kB / 272.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.00809, allocations: 7.969 kB / 272.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.008104, allocations: 3.938 kB / 272.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.008266, allocations: 27.98 kB / 272.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.00827, allocations: 0 / 272.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.008308, allocations: 19.94 kB / 272.9 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.008314, allocations: 0 / 272.9 MB, free: 2.23 MB / 266.7 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.0001074/0.008421, allocations: 113.8 kB / 273 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.008444, allocations: 8 kB / 273 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.00847, allocations: 11.94 kB / 273 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.008474, allocations: 3.984 kB / 273 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.008476, allocations: 0 / 273 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.008479, allocations: 0 / 273 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.008594, allocations: 73.89 kB / 273.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008596, allocations: 0 / 273.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.008708, allocations: 38.69 kB / 273.1 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.008723, allocations: 3.953 kB / 273.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.008727, allocations: 7.938 kB / 273.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.008737, allocations: 4 kB / 273.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008739, allocations: 0 / 273.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.00874, allocations: 0 / 273.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.008871, allocations: 151.5 kB / 273.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.008881, allocations: 0 / 273.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.008929, allocations: 3.938 kB / 273.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.008942, allocations: 7.984 kB / 273.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.008946, allocations: 4 kB / 273.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.126e-05/0.008967, allocations: 16.84 kB / 273.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008967, allocations: 0 / 273.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.009142, allocations: 12.03 kB / 273.3 MB, free: 1.727 MB / 266.7 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 7.929e-05/0.009221, allocations: 84.34 kB / 273.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.009294, allocations: 24.86 kB / 273.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.009299, allocations: 0 / 273.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/0.01233, allocations: 25 kB / 273.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.01251, allocations: 63.41 kB / 273.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.01278, allocations: 160.3 kB / 273.7 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.01282, allocations: 63.44 kB / 273.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.01286, allocations: 7.75 kB / 273.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.01291, allocations: 55.36 kB / 273.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01291, allocations: 0 / 273.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of Templates: time 0.002205/0.01511, allocations: 0.5301 MB / 274.3 MB, free: 0.6523 MB / 266.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5992841329425573]