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.0009621/0.0009621, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.00102/0.00102, allocations: 173 kB / 24.17 MB, free: 332 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.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.047 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.09563/0.09563, allocations: 18.14 MB / 279.2 MB, free: 11.03 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.633e-06/1.633e-06, allocations: 0 / 304.6 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.789e-05, allocations: 3.594 kB / 304.6 MB, free: 228 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001918/0.001946, allocations: 0.6151 MB / 305.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.002151, allocations: 39.06 kB / 305.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.002186, allocations: 1.312 kB / 305.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.002202, allocations: 0 / 305.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.002284, allocations: 11.22 kB / 305.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.002404, allocations: 9.328 kB / 305.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.002494, allocations: 31.73 kB / 305.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.002547, allocations: 7.141 kB / 305.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.002582, allocations: 12.3 kB / 305.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.002697, allocations: 20.53 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.002718, allocations: 2.875 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.00273, allocations: 1.562 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.002756, allocations: 3.766 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.002787, allocations: 8.656 kB / 305.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.541e-05/0.002883, allocations: 27.48 kB / 305.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.002885, allocations: 0 / 305.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002886, allocations: 0 / 305.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.002891, allocations: 0 / 305.4 MB, free: 15.79 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.0004708/0.003362, allocations: 266.5 kB / 305.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.003426, allocations: 9.359 kB / 305.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.003481, allocations: 6.156 kB / 305.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.003617, allocations: 116.8 kB / 305.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.003636, allocations: 1.656 kB / 305.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.003666, allocations: 7.406 kB / 305.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.003783, allocations: 45.56 kB / 305.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.003792, allocations: 192 / 305.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.003803, allocations: 384 / 305.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.003814, allocations: 5.781 kB / 305.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.921e-05/0.003843, allocations: 14.28 kB / 305.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.004287, allocations: 161.9 kB / 306 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.004483, allocations: 41.62 kB / 306 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.004511, allocations: 9.594 kB / 306 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.004521, allocations: 1.312 kB / 306 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.004562, allocations: 36.77 kB / 306.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/0.004564, allocations: 0 / 306.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002391/0.004803, allocations: 53.58 kB / 306.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.004847, allocations: 56.75 kB / 306.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.004958, allocations: 125.4 kB / 306.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.004971, allocations: 26.95 kB / 306.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.005027, allocations: 100.2 kB / 306.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.005044, allocations: 15.83 kB / 306.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.005089, allocations: 20.45 kB / 306.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005189, allocations: 315.4 kB / 306.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.005205, allocations: 4.562 kB / 306.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.005242, allocations: 30.3 kB / 306.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.005327, allocations: 41.05 kB / 306.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005329, allocations: 0 / 306.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001069/0.005436, allocations: 60.84 kB / 306.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.005453, allocations: 5.859 kB / 306.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.00546, allocations: 64 / 306.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.005478, allocations: 9.094 kB / 306.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.005661, allocations: 27.62 kB / 306.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005665, allocations: 1.281 kB / 306.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.005702, allocations: 6.5 kB / 306.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.005713, allocations: 14.23 kB / 307 MB, free: 14.32 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.0001242/0.005838, allocations: 118.4 kB / 307.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.005865, allocations: 3.391 kB / 307.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.005898, allocations: 14.78 kB / 307.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.005901, allocations: 1.156 kB / 307.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.005903, allocations: 0 / 307.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.005908, allocations: 1.844 kB / 307.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.006092, allocations: 72.98 kB / 307.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.006096, allocations: 7.984 kB / 307.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.00622, allocations: 32.14 kB / 307.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.006223, allocations: 0 / 307.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.006234, allocations: 1.438 kB / 307.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.006239, allocations: 4.781 kB / 307.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.00624, allocations: 0 / 307.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.0064, allocations: 147.9 kB / 307.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.006419, allocations: 6.141 kB / 307.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.006434, allocations: 6.156 kB / 307.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.006492, allocations: 5.312 kB / 307.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.006511, allocations: 6.75 kB / 307.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.006515, allocations: 0 / 307.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.971e-05/0.006545, allocations: 18.58 kB / 307.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006545, allocations: 0 / 307.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.006757, allocations: 7.562 kB / 307.4 MB, free: 13.94 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.0001024/0.00686, allocations: 83.55 kB / 307.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.006952, allocations: 28.5 kB / 307.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.006958, allocations: 1.5 kB / 307.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.006978, allocations: 11.73 kB / 307.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.007163, allocations: 11.16 kB / 307.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.007554, allocations: 152.3 kB / 307.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.22e-05/0.007617, allocations: 57.75 kB / 307.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.007667, allocations: 4.938 kB / 307.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.007743, allocations: 54.45 kB / 307.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.007745, allocations: 0 / 307.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of Templates: time 0.003135/0.01088, allocations: 0.5509 MB / 308.4 MB, free: 13.43 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7101509920321405]