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.001322/0.001322, allocations: 76.94 kB / 20.74 MB, free: 3.746 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.001572/0.001572, 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.076/1.076, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.06654/0.06654, allocations: 18.14 MB / 279.2 MB, free: 11.2 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 1.322e-06/1.322e-06, allocations: 0 / 304.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.559e-05, allocations: 2.859 kB / 304.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001325/0.001341, allocations: 0.6358 MB / 305.2 MB, free: 172 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.001513, allocations: 68.42 kB / 305.3 MB, free: 128 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.001538, allocations: 0 / 305.3 MB, free: 128 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.001553, allocations: 3.938 kB / 305.3 MB, free: 124 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.001611, allocations: 7.188 kB / 305.3 MB, free: 120 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.001724, allocations: 21.17 kB / 305.3 MB, free: 108 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.001783, allocations: 42.56 kB / 305.3 MB, free: 92 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.001818, allocations: 13.31 kB / 305.4 MB, free: 84 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.001845, allocations: 16.03 kB / 305.4 MB, free: 80 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.001925, allocations: 21.55 kB / 305.4 MB, free: 72 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.001941, allocations: 2.688 kB / 305.4 MB, free: 72 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-06/0.001949, allocations: 2.5 kB / 305.4 MB, free: 72 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.001966, allocations: 7.797 kB / 305.4 MB, free: 68 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.001992, allocations: 16.17 kB / 305.4 MB, free: 60 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.841e-05/0.00206, allocations: 33.3 kB / 305.5 MB, free: 44 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002063, allocations: 0.6094 kB / 305.5 MB, free: 44 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002063, allocations: 5.125 kB / 305.5 MB, free: 40 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.002066, allocations: 0 / 305.5 MB, free: 40 kB / 266.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.0002871/0.002353, allocations: 272.3 kB / 305.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.002382, allocations: 10.02 kB / 305.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.00241, allocations: 8.172 kB / 305.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.327e-05/0.002483, allocations: 119.5 kB / 305.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.002492, allocations: 6.844 kB / 305.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.002508, allocations: 4.156 kB / 305.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.445e-05/0.002582, allocations: 54.94 kB / 305.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.002588, allocations: 4.188 kB / 305.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.002598, allocations: 9.375 kB / 305.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.002603, allocations: 1.156 kB / 305.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.002638, allocations: 17.05 kB / 306 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.002852, allocations: 190.1 kB / 306.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.003005, allocations: 74.55 kB / 306.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.003031, allocations: 22.03 kB / 306.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.003043, allocations: 2.562 kB / 306.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.003062, allocations: 31.97 kB / 306.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.003063, allocations: 4 kB / 306.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001308/0.003194, allocations: 80.92 kB / 306.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.003223, allocations: 53.22 kB / 306.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.003288, allocations: 121.4 kB / 306.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.003298, allocations: 26.89 kB / 306.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.003335, allocations: 88.42 kB / 306.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.003357, allocations: 39.95 kB / 306.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.003388, allocations: 28.7 kB / 306.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.003465, allocations: 318.9 kB / 307 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.00348, allocations: 12.53 kB / 307 MB, free: 14.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.003508, allocations: 34.84 kB / 307.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.825e-05/0.003587, allocations: 58.62 kB / 307.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.003589, allocations: 0 / 307.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.071e-05/0.003679, allocations: 80.33 kB / 307.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.003693, allocations: 10.64 kB / 307.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.003698, allocations: 0 / 307.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.003711, allocations: 2.719 kB / 307.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.003877, allocations: 49.92 kB / 307.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.003881, allocations: 8.016 kB / 307.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.003906, allocations: 12.52 kB / 307.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.003911, allocations: 0 / 307.3 MB, free: 14.53 MB / 282.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.0001022/0.004013, allocations: 119.1 kB / 307.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.004037, allocations: 18.41 kB / 307.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.00418, allocations: 83.12 kB / 307.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.004183, allocations: 1.281 kB / 307.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.004184, allocations: 4 kB / 307.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.004187, allocations: 1.688 kB / 307.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.004287, allocations: 83.81 kB / 307.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.004288, allocations: 1.438 kB / 307.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.004423, allocations: 49.66 kB / 307.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.004426, allocations: 1.078 kB / 307.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.004436, allocations: 1.594 kB / 307.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.004437, allocations: 0 / 307.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004438, allocations: 0 / 307.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.0046, allocations: 190.1 kB / 307.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.004617, allocations: 15.44 kB / 307.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.004631, allocations: 5.422 kB / 307.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.004664, allocations: 3.688 kB / 307.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.004684, allocations: 4.031 kB / 307.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.004687, allocations: 1.031 kB / 307.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.933e-05/0.004707, allocations: 22.23 kB / 307.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004707, allocations: 0 / 307.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001191/0.004826, allocations: 10.78 kB / 307.9 MB, free: 14.08 MB / 282.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 6.616e-05/0.004892, allocations: 81.14 kB / 308 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.609e-05/0.004978, allocations: 50.58 kB / 308 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.004981, allocations: 0 / 308 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.005012, allocations: 42.94 kB / 308 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.005158, allocations: 5.828 kB / 308.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.005471, allocations: 215.1 kB / 308.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.005506, allocations: 63.2 kB / 308.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.005536, allocations: 10.95 kB / 308.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.005584, allocations: 60.08 kB / 308.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.005584, allocations: 0 / 308.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of Templates: time 0.002331/0.007915, allocations: 0.7462 MB / 309.1 MB, free: 13.08 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.035175901837647]