Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.001145/0.001145, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001076/0.001076, allocations: 162.4 kB / 24.86 MB, free: 8.766 MB / 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.08358/0.08358, allocations: 18.14 MB / 280 MB, free: 11.14 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.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.51e-07/8.51e-07, allocations: 0 / 358.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.482e-05, allocations: 5.125 kB / 358.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001035/0.00105, allocations: 0.5948 MB / 359.2 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.001183, allocations: 59.91 kB / 359.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.001206, allocations: 0 / 359.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.001218, allocations: 3.938 kB / 359.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.00127, allocations: 7.875 kB / 359.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.971e-05/0.00136, allocations: 15.95 kB / 359.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.001411, allocations: 43.84 kB / 359.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.141e-05/0.001442, allocations: 4.188 kB / 359.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.001464, allocations: 23.97 kB / 359.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.001526, allocations: 15.92 kB / 359.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.001538, allocations: 3.938 kB / 359.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.001546, allocations: 4 kB / 359.3 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.001562, allocations: 11.92 kB / 359.3 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.001582, allocations: 19.91 kB / 359.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.033e-05/0.001632, allocations: 23.91 kB / 359.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-06/0.001633, allocations: 0 / 359.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of FrontEnd: time 3e-07/0.001634, allocations: 0 / 359.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.254e-06/0.001636, allocations: 0 / 359.4 MB, free: 7.727 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002641/0.0019, allocations: 408.4 kB / 359.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.594e-05/0.001926, allocations: 8.922 kB / 359.8 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.001947, allocations: 12.89 kB / 359.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.15e-05/0.002008, allocations: 116.5 kB / 359.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.002015, allocations: 4.375 kB / 359.9 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.002028, allocations: 12.31 kB / 359.9 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.897e-05/0.002087, allocations: 54.17 kB / 360 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.002093, allocations: 4.172 kB / 360 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.0021, allocations: 12.12 kB / 360 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.002104, allocations: 0 / 360 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.002132, allocations: 19.92 kB / 360 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.002354, allocations: 272.3 kB / 360.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.002504, allocations: 90.95 kB / 360.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.002531, allocations: 27.67 kB / 360.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.00254, allocations: 0 / 360.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.002558, allocations: 41.33 kB / 360.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 6.11e-07/0.002558, allocations: 0 / 360.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001228/0.002681, allocations: 93.75 kB / 360.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.002707, allocations: 55.41 kB / 360.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.002789, allocations: 173.9 kB / 360.8 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.002801, allocations: 29.7 kB / 360.8 MB, free: 6.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.002854, allocations: 130.9 kB / 360.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.002886, allocations: 47.67 kB / 361 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.002928, allocations: 35.3 kB / 361 MB, free: 5.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.00306, allocations: 0.4923 MB / 361.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.003083, allocations: 11.98 kB / 361.5 MB, free: 5.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.003124, allocations: 35.3 kB / 361.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.003225, allocations: 78.22 kB / 361.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.003227, allocations: 0 / 361.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001255/0.003353, allocations: 93.52 kB / 361.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.003363, allocations: 4 kB / 361.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.003367, allocations: 4 kB / 361.7 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.003374, allocations: 0 / 361.7 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.003493, allocations: 31.92 kB / 361.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.003495, allocations: 0 / 361.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.003527, allocations: 11.95 kB / 361.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.003534, allocations: 4 kB / 361.8 MB, free: 5.145 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: I:VARIABLE(start = 0.0 fixed = true ) type: Real 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 (14): * Single equations (assignments): 14 * 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.0001096/0.003644, allocations: 164.6 kB / 361.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.003674, allocations: 15.89 kB / 361.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.003807, allocations: 93.97 kB / 362 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.00381, allocations: 7.984 kB / 362 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.003812, allocations: 0 / 362 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003814, allocations: 0 / 362 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.003968, allocations: 125.2 kB / 362.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.00397, allocations: 4 kB / 362.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.004091, allocations: 27.98 kB / 362.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.004093, allocations: 4 kB / 362.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.004101, allocations: 0 / 362.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.004103, allocations: 3.938 kB / 362.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004104, allocations: 0 / 362.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.004309, allocations: 251.8 kB / 362.4 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.004318, allocations: 3.953 kB / 362.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.004339, allocations: 7.984 kB / 362.5 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.004398, allocations: 3.938 kB / 362.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.004415, allocations: 12 kB / 362.5 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.004421, allocations: 7.984 kB / 362.5 MB, free: 4.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.004468, allocations: 131.9 kB / 362.6 MB, free: 4.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004468, allocations: 0 / 362.6 MB, free: 4.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.004739, allocations: 16 kB / 362.6 MB, free: 4.223 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (I,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 (11): * Single equations (assignments): 11 * 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.309e-05/0.004812, allocations: 95.23 kB / 362.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.004921, allocations: 55.59 kB / 362.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.004922, allocations: 0 / 362.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.004963, allocations: 35.94 kB / 362.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.005202, allocations: 8.281 kB / 362.8 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.005677, allocations: 233.9 kB / 363 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.005719, allocations: 63.34 kB / 363.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.672e-05/0.005745, allocations: 4.734 kB / 363.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.005797, allocations: 74.2 kB / 363.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.005797, allocations: 0 / 363.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of Templates: time 0.001964/0.007762, allocations: 0.6085 MB / 363.8 MB, free: 2.984 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M1_TimeDomain.sim & ./AES_AES.Coursework.Modelling_principles.M1_TimeDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.023918311111629]