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.001414/0.001414, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2585/0.2585, allocations: 22.36 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 59.91 kB / 380.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3619, allocations: 54.95 MB / 435.8 MB, free: 39.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.002638/0.3646, allocations: 0.5902 MB / 436.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.3649, allocations: 59.92 kB / 436.4 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.3649, allocations: 0 / 436.4 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.365, allocations: 7.875 kB / 436.4 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.3651, allocations: 15.3 kB / 436.4 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.3653, allocations: 14.11 kB / 436.4 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.421e-05/0.3653, allocations: 37.94 kB / 436.5 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.3654, allocations: 8.531 kB / 436.5 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.3655, allocations: 15.56 kB / 436.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.3656, allocations: 30.31 kB / 436.5 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3656, allocations: 6.438 kB / 436.5 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.3656, allocations: 2.469 kB / 436.5 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.3656, allocations: 13.98 kB / 436.6 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.3657, allocations: 24.31 kB / 436.6 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.452e-05/0.3658, allocations: 30.7 kB / 436.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.3658, allocations: 3.375 kB / 436.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3658, allocations: 2.969 kB / 436.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3658, allocations: 0 / 436.6 MB, free: 39.21 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.0004688/0.3663, allocations: 368.2 kB / 437 MB, free: 38.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3663, allocations: 11.75 kB / 437 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3664, allocations: 10.91 kB / 437 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.3665, allocations: 175.1 kB / 437.2 MB, free: 38.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3665, allocations: 7.344 kB / 437.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.3665, allocations: 3.281 kB / 437.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3667, allocations: 73.41 kB / 437.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3667, allocations: 3.938 kB / 437.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3667, allocations: 3.984 kB / 437.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3667, allocations: 0 / 437.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.3668, allocations: 36.52 kB / 437.3 MB, free: 38.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.3672, allocations: 291 kB / 437.6 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.3675, allocations: 102.9 kB / 437.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.3676, allocations: 32.77 kB / 437.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3676, allocations: 2.656 kB / 437.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3676, allocations: 30.56 kB / 437.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.3676, allocations: 0 / 437.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002625/0.3679, allocations: 110.8 kB / 437.9 MB, free: 38.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.3679, allocations: 51.41 kB / 437.9 MB, free: 38.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.368, allocations: 125 kB / 438 MB, free: 37.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3681, allocations: 25.7 kB / 438.1 MB, free: 37.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.3681, allocations: 90.73 kB / 438.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3682, allocations: 45.88 kB / 438.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3682, allocations: 25.81 kB / 438.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.3683, allocations: 325.1 kB / 438.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.3684, allocations: 25.62 kB / 438.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.3684, allocations: 31.58 kB / 438.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.3688, allocations: 123 kB / 438.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3688, allocations: 0 / 438.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001471/0.369, allocations: 110.3 kB / 438.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.369, allocations: 7 kB / 438.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.369, allocations: 0 / 438.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3691, allocations: 2.906 kB / 438.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3692, allocations: 30.81 kB / 438.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3692, allocations: 14.02 kB / 438.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.3692, allocations: 6.719 kB / 438.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3693, allocations: 6.906 kB / 438.9 MB, free: 37.26 MB / 350.1 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.0001507/0.3694, allocations: 125.1 kB / 439 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3694, allocations: 6.656 kB / 439 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.3696, allocations: 113 kB / 439.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3696, allocations: 3.938 kB / 439.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3696, allocations: 0 / 439.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.3696, allocations: 5.672 kB / 439.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3698, allocations: 179.2 kB / 439.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3698, allocations: 4 kB / 439.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.37, allocations: 37.17 kB / 439.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.37, allocations: 0 / 439.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.37, allocations: 0 / 439.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.37, allocations: 2.969 kB / 439.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.37, allocations: 0 / 439.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.3703, allocations: 228.4 kB / 439.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.3703, allocations: 83.89 kB / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3703, allocations: 8 kB / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.3704, allocations: 0 / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.3704, allocations: 8.531 kB / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3704, allocations: 2.625 kB / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.896e-05/0.3705, allocations: 90.66 kB / 439.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3705, allocations: 0 / 439.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3707, allocations: 13.66 kB / 439.8 MB, free: 36.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.796e-05/0.3708, allocations: 96.72 kB / 439.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.3709, allocations: 81.55 kB / 439.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.371, allocations: 0 / 439.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.371, allocations: 38.98 kB / 440 MB, free: 36.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.3712, allocations: 8 kB / 440 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.3717, allocations: 235 kB / 440.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.3719, allocations: 0.6904 MB / 440.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.3719, allocations: 10.67 kB / 440.9 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.3719, allocations: 13.19 kB / 440.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3719, allocations: 0 / 440.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of Templates: time 0.002896/0.3748, allocations: 0.5534 MB / 441.5 MB, free: 35.4 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile (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)