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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.00141, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2168/0.2168, allocations: 22.33 MB / 313.3 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005049, allocations: 8 kB / 381.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3561, allocations: 55.98 MB / 437.8 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.0008875/0.357, allocations: 323.5 kB / 438.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.3573, allocations: 65.42 kB / 438.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.3573, allocations: 0 / 438.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.3573, allocations: 0 / 438.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.3574, allocations: 6.594 kB / 438.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.3575, allocations: 13.92 kB / 438.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.3576, allocations: 28.73 kB / 438.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.3577, allocations: 3.125 kB / 438.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.875e-05/0.3577, allocations: 23.97 kB / 438.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.3578, allocations: 24.22 kB / 438.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3578, allocations: 2.688 kB / 438.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.3578, allocations: 2.688 kB / 438.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.3579, allocations: 10.69 kB / 438.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.3579, allocations: 28.23 kB / 438.3 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.407e-05/0.358, allocations: 18.52 kB / 438.3 MB, free: 38.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.358, allocations: 0 / 438.3 MB, free: 38.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.358, allocations: 4 kB / 438.3 MB, free: 38.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.358, allocations: 0 / 438.3 MB, free: 38.89 MB / 350.1 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.0004023/0.3584, allocations: 361.5 kB / 438.7 MB, free: 38.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3584, allocations: 7.938 kB / 438.7 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.3585, allocations: 13.41 kB / 438.7 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.631e-05/0.3586, allocations: 173 kB / 438.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3586, allocations: 6.938 kB / 438.9 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3586, allocations: 6.906 kB / 438.9 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3588, allocations: 61.41 kB / 439 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3588, allocations: 3.938 kB / 439 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3588, allocations: 7.953 kB / 439 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.3588, allocations: 2.688 kB / 439 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.3589, allocations: 34.23 kB / 439 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.3593, allocations: 292.5 kB / 439.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.3596, allocations: 99.59 kB / 439.4 MB, free: 37.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3596, allocations: 7.938 kB / 439.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3596, allocations: 37.52 kB / 439.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3596, allocations: 0 / 439.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002424/0.3599, allocations: 109.4 kB / 439.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3599, allocations: 55.34 kB / 439.6 MB, free: 37.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.36, allocations: 122.7 kB / 439.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.36, allocations: 25.7 kB / 439.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3601, allocations: 90.66 kB / 439.8 MB, free: 37.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3601, allocations: 41.12 kB / 439.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.3601, allocations: 2.812 kB / 439.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.3601, allocations: 314.8 kB / 440.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.3602, allocations: 20.2 kB / 440.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.3602, allocations: 32.02 kB / 440.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.3603, allocations: 32.66 kB / 440.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3603, allocations: 112 / 440.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001354/0.3605, allocations: 113 kB / 440.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3605, allocations: 11.42 kB / 440.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3605, allocations: 3.281 kB / 440.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3605, allocations: 2.781 kB / 440.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3606, allocations: 26.81 kB / 440.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3607, allocations: 2.312 kB / 440.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.3607, allocations: 6.469 kB / 440.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3607, allocations: 10.59 kB / 440.4 MB, free: 37.02 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real I:VARIABLE(start = 0.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.3609, allocations: 116.2 kB / 440.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3609, allocations: 11.78 kB / 440.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3611, allocations: 108.2 kB / 440.7 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3611, allocations: 3 kB / 440.7 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3611, allocations: 4 kB / 440.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3611, allocations: 0 / 440.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3613, allocations: 184.2 kB / 440.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3613, allocations: 0 / 440.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3614, allocations: 35.44 kB / 440.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3615, allocations: 2.219 kB / 440.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3615, allocations: 0 / 440.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3615, allocations: 6.391 kB / 440.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3615, allocations: 4 kB / 440.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.3617, allocations: 220.7 kB / 441.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.3617, allocations: 83.42 kB / 441.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3617, allocations: 6.312 kB / 441.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.3618, allocations: 0 / 441.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.3618, allocations: 14.48 kB / 441.2 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3619, allocations: 6.5 kB / 441.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.3619, allocations: 97.62 kB / 441.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3619, allocations: 0 / 441.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000219/0.3621, allocations: 11.16 kB / 441.3 MB, free: 36.24 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.607e-05/0.3622, allocations: 103.9 kB / 441.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3624, allocations: 60.16 kB / 441.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3624, allocations: 0 / 441.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.3624, allocations: 33.36 kB / 441.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3626, allocations: 4.984 kB / 441.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.363, allocations: 258.7 kB / 441.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.3631, allocations: 0.6977 MB / 442.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.3632, allocations: 7.828 kB / 442.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.3632, allocations: 14.38 kB / 442.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3632, allocations: 0 / 442.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of Templates: time 0.002459/0.3657, allocations: 0.4887 MB / 443 MB, free: 35.16 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) Environment - environmentSimulation: