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.001007/0.001007, allocations: 87.56 kB / 20.97 MB, free: 3.574 MB / 18.57 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.001151/0.001151, allocations: 173 kB / 24.27 MB, free: 276 kB / 18.57 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.067/1.067, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.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.06849/0.06849, allocations: 18.15 MB / 279.2 MB, free: 11.39 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 2.194e-06/2.194e-06, allocations: 0 / 357.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.439e-05, allocations: 2.312 kB / 357.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001763/0.001797, allocations: 0.5823 MB / 357.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000119/0.001916, allocations: 35.81 kB / 357.9 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.00194, allocations: 0 / 357.9 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.001954, allocations: 3.938 kB / 357.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.002005, allocations: 0 / 357.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.66e-05/0.002091, allocations: 11.92 kB / 357.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.002146, allocations: 27.92 kB / 357.9 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.002191, allocations: 7.984 kB / 357.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.002221, allocations: 11.94 kB / 357.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.002311, allocations: 23.95 kB / 357.9 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.002333, allocations: 0 / 357.9 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.002342, allocations: 7.938 kB / 358 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.002362, allocations: 3.938 kB / 358 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.002394, allocations: 11.98 kB / 358 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.881e-05/0.002463, allocations: 19.84 kB / 358 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.002467, allocations: 7.984 kB / 358 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.002468, allocations: 0 / 358 MB, free: 7.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.002472, allocations: 0 / 358 MB, free: 7.453 MB / 282.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.0003214/0.002794, allocations: 384.5 kB / 358.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.002827, allocations: 8.922 kB / 358.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.002858, allocations: 8.938 kB / 358.4 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.994e-05/0.002948, allocations: 116.5 kB / 358.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.002958, allocations: 384 / 358.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.002979, allocations: 8.375 kB / 358.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.003067, allocations: 46.23 kB / 358.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.003074, allocations: 4.125 kB / 358.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003082, allocations: 384 / 358.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.00309, allocations: 384 / 358.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.003133, allocations: 15.94 kB / 358.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.003485, allocations: 271.7 kB / 358.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.003624, allocations: 51.05 kB / 358.9 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.003649, allocations: 15.69 kB / 358.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.003661, allocations: 4 kB / 358.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.003686, allocations: 41.27 kB / 359 MB, free: 6.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.003687, allocations: 0 / 359 MB, free: 6.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001379/0.003825, allocations: 57.73 kB / 359 MB, free: 6.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.003852, allocations: 55.39 kB / 359.1 MB, free: 6.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.003937, allocations: 185.9 kB / 359.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.003947, allocations: 29.64 kB / 359.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.004012, allocations: 146.8 kB / 359.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.004026, allocations: 15.97 kB / 359.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.004066, allocations: 27.38 kB / 359.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.004203, allocations: 496.1 kB / 359.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.004219, allocations: 8 kB / 359.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.004249, allocations: 31.3 kB / 360 MB, free: 5.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.004313, allocations: 47.38 kB / 360 MB, free: 5.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.004314, allocations: 0 / 360 MB, free: 5.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.087e-05/0.004385, allocations: 77.58 kB / 360.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.004397, allocations: 7.938 kB / 360.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.004401, allocations: 160 / 360.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.004412, allocations: 4 kB / 360.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.004468, allocations: 19.98 kB / 360.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.004473, allocations: 3.984 kB / 360.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.004496, allocations: 7.891 kB / 360.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.0045, allocations: 4 kB / 360.1 MB, free: 5.078 MB / 282.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.0001013/0.004602, allocations: 168.5 kB / 360.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.004616, allocations: 7.938 kB / 360.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.004639, allocations: 12.05 kB / 360.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.004642, allocations: 4 kB / 360.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.004645, allocations: 0 / 360.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.004647, allocations: 0 / 360.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/0.00474, allocations: 128.6 kB / 360.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.00474, allocations: 0 / 360.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.004792, allocations: 12 kB / 360.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.004794, allocations: 0 / 360.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.004808, allocations: 16.11 kB / 360.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.004809, allocations: 0 / 360.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.004809, allocations: 0 / 360.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.004942, allocations: 211.9 kB / 360.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.004954, allocations: 3.953 kB / 360.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.00497, allocations: 7.938 kB / 360.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.005036, allocations: 7.984 kB / 360.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.005052, allocations: 0 / 360.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005056, allocations: 3.938 kB / 360.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.005168, allocations: 139.2 kB / 360.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.005168, allocations: 0 / 360.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.00545, allocations: 12.03 kB / 360.9 MB, free: 4.293 MB / 282.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 0.000119/0.005569, allocations: 91.25 kB / 361 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.005723, allocations: 35.61 kB / 361 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.005728, allocations: 4 kB / 361 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.005756, allocations: 19.67 kB / 361 MB, free: 4.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.006026, allocations: 4 kB / 361 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.006436, allocations: 161.9 kB / 361.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.006483, allocations: 59.41 kB / 361.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.006517, allocations: 8 kB / 361.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.006547, allocations: 8.5 kB / 361.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.006548, allocations: 0 / 361.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of Templates: time 0.00273/0.009278, allocations: 443.7 kB / 361.7 MB, free: 3.406 MB / 282.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.9632938751019537]