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.008234/0.008234, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001641/0.001641, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09178/0.09178, allocations: 22.33 MB / 312.8 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 71.89 kB / 437 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1046, allocations: 54.95 MB / 492 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001737/0.1063, allocations: 0.5945 MB / 492.6 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.1066, allocations: 63.89 kB / 492.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.1066, allocations: 0 / 492.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.1066, allocations: 3.938 kB / 492.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.1068, allocations: 7.875 kB / 492.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.1069, allocations: 15.97 kB / 492.7 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.107, allocations: 39.91 kB / 492.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.1071, allocations: 12.11 kB / 492.7 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.234e-05/0.1071, allocations: 15.92 kB / 492.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.1072, allocations: 31.86 kB / 492.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1073, allocations: 0 / 492.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.1073, allocations: 4 kB / 492.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.1073, allocations: 3.984 kB / 492.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1074, allocations: 31.8 kB / 492.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.993e-05/0.1074, allocations: 31.83 kB / 492.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1074, allocations: 0 / 492.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1075, allocations: 0 / 492.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1075, allocations: 0 / 492.8 MB, free: 3.891 MB / 366.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.0004853/0.108, allocations: 367.3 kB / 493.2 MB, free: 3.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.108, allocations: 11.97 kB / 493.2 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.108, allocations: 8.844 kB / 493.2 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1082, allocations: 176.2 kB / 493.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1082, allocations: 12.38 kB / 493.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1082, allocations: 4.375 kB / 493.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1084, allocations: 65.8 kB / 493.5 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1084, allocations: 0 / 493.5 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1084, allocations: 4 kB / 493.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1084, allocations: 4 kB / 493.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.1085, allocations: 39.91 kB / 493.5 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.1089, allocations: 300.7 kB / 493.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1092, allocations: 98.48 kB / 493.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.1092, allocations: 33.03 kB / 493.9 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1092, allocations: 7.938 kB / 493.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1093, allocations: 38.56 kB / 494 MB, free: 2.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1093, allocations: 0 / 494 MB, free: 2.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002296/0.1095, allocations: 101.5 kB / 494.1 MB, free: 2.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1095, allocations: 55.39 kB / 494.1 MB, free: 2.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.1096, allocations: 121.8 kB / 494.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1097, allocations: 25.7 kB / 494.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.1097, allocations: 92.05 kB / 494.4 MB, free: 2.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1097, allocations: 39.45 kB / 494.4 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.1098, allocations: 25.7 kB / 494.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1099, allocations: 322.8 kB / 494.8 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.11, allocations: 23.98 kB / 494.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.11, allocations: 33.7 kB / 494.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.1104, allocations: 121.6 kB / 494.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1104, allocations: 0 / 494.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001519/0.1106, allocations: 108.2 kB / 495 MB, free: 1.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1106, allocations: 8 kB / 495 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1106, allocations: 0 / 495 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1106, allocations: 3.984 kB / 495 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1108, allocations: 31.98 kB / 495.1 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1108, allocations: 4 kB / 495.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.1108, allocations: 7.969 kB / 495.1 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1108, allocations: 4 kB / 495.1 MB, free: 1.406 MB / 366.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.000191/0.111, allocations: 134.8 kB / 495.2 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1111, allocations: 4.484 kB / 495.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.1112, allocations: 106 kB / 495.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1112, allocations: 4 kB / 495.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1113, allocations: 0 / 495.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1113, allocations: 3.938 kB / 495.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1115, allocations: 193.5 kB / 495.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1115, allocations: 0 / 495.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1116, allocations: 39.92 kB / 495.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1116, allocations: 0 / 495.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1117, allocations: 3.984 kB / 495.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1117, allocations: 0 / 495.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1117, allocations: 0 / 495.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1119, allocations: 227.3 kB / 495.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.112, allocations: 84.95 kB / 495.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.112, allocations: 8 kB / 495.9 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1121, allocations: 4.031 kB / 495.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.1121, allocations: 4 kB / 495.9 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1121, allocations: 0 / 495.9 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.343e-05/0.1122, allocations: 91.27 kB / 496 MB, free: 428 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1122, allocations: 3.938 kB / 496 MB, free: 424 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1124, allocations: 20 kB / 496 MB, free: 404 kB / 366.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.401e-05/0.1125, allocations: 99.19 kB / 496.1 MB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.1126, allocations: 71.84 kB / 496.2 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1126, allocations: 0 / 496.2 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.1127, allocations: 33.08 kB / 496.2 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1129, allocations: 8 kB / 496.2 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1134, allocations: 223.2 kB / 496.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1137, allocations: 0.6962 MB / 497.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.1137, allocations: 4.672 kB / 497.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1137, allocations: 11.44 kB / 497.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1137, allocations: 0 / 497.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of Templates: time 0.002439/0.1162, allocations: 0.5671 MB / 497.7 MB, free: 14.62 MB / 382.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)