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.001054/0.001054, allocations: 107.8 kB / 16.37 MB, free: 6.414 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.001127/0.001127, allocations: 197.4 kB / 17.31 MB, free: 5.805 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08986/0.08986, allocations: 22.32 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.73 kB / 382.2 MB, free: 41.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 54.96 MB / 437.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.002025/0.1049, allocations: 0.5921 MB / 437.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.1051, allocations: 67.89 kB / 437.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1052, allocations: 0 / 437.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.1052, allocations: 3.938 kB / 437.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.1053, allocations: 11.86 kB / 437.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.1055, allocations: 11.98 kB / 437.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.1055, allocations: 47.83 kB / 437.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.636e-05/0.1056, allocations: 4.188 kB / 437.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.1057, allocations: 23.92 kB / 438 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1058, allocations: 27.84 kB / 438 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1058, allocations: 4 kB / 438 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.1058, allocations: 0 / 438 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.1058, allocations: 11.94 kB / 438 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.1059, allocations: 23.84 kB / 438 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.331e-05/0.106, allocations: 31.84 kB / 438.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.106, allocations: 0 / 438.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.88e-06/0.106, allocations: 3.938 kB / 438.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.106, allocations: 3.938 kB / 438.1 MB, free: 11.41 MB / 318.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.0005085/0.1065, allocations: 371.3 kB / 438.4 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1066, allocations: 12.03 kB / 438.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.1066, allocations: 8.844 kB / 438.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1068, allocations: 172.2 kB / 438.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1068, allocations: 384 / 438.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.1068, allocations: 8.375 kB / 438.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.107, allocations: 61.8 kB / 438.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.107, allocations: 4 kB / 438.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.107, allocations: 11.92 kB / 438.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.107, allocations: 4 kB / 438.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.624e-05/0.1071, allocations: 35.92 kB / 438.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.1076, allocations: 296.7 kB / 439 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1079, allocations: 98.53 kB / 439.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.108, allocations: 44.97 kB / 439.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.108, allocations: 3.984 kB / 439.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.108, allocations: 34.56 kB / 439.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.108, allocations: 0 / 439.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002543/0.1083, allocations: 101.6 kB / 439.3 MB, free: 10 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.1084, allocations: 51.41 kB / 439.4 MB, free: 9.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.1085, allocations: 121.8 kB / 439.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1085, allocations: 25.7 kB / 439.5 MB, free: 9.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1087, allocations: 96.12 kB / 439.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1087, allocations: 35.45 kB / 439.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1088, allocations: 25.72 kB / 439.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.109, allocations: 323.1 kB / 440 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.109, allocations: 16 kB / 440 MB, free: 9.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.1091, allocations: 33.7 kB / 440 MB, free: 9.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.1095, allocations: 129.5 kB / 440.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1095, allocations: 4 kB / 440.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001557/0.1096, allocations: 113.6 kB / 440.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1097, allocations: 7.938 kB / 440.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1097, allocations: 0 / 440.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1097, allocations: 0 / 440.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1098, allocations: 31.98 kB / 440.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1099, allocations: 4.031 kB / 440.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1099, allocations: 11.84 kB / 440.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1099, allocations: 4 kB / 440.3 MB, free: 8.926 MB / 318.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.0002572/0.1102, allocations: 126.5 kB / 440.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1102, allocations: 7.906 kB / 440.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.1104, allocations: 106 kB / 440.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1104, allocations: 0 / 440.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1104, allocations: 0 / 440.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1104, allocations: 4 kB / 440.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1106, allocations: 189.6 kB / 440.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1106, allocations: 0 / 440.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1108, allocations: 31.92 kB / 440.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1108, allocations: 3.938 kB / 440.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1108, allocations: 4 kB / 440.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1108, allocations: 4 kB / 440.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1109, allocations: 4 kB / 440.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1111, allocations: 216.1 kB / 441 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1112, allocations: 88.94 kB / 441.1 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1112, allocations: 4 kB / 441.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.1113, allocations: 4 kB / 441.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.1113, allocations: 4 kB / 441.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1113, allocations: 7.922 kB / 441.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.096e-05/0.1113, allocations: 95.27 kB / 441.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1114, allocations: 4 kB / 441.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1116, allocations: 16 kB / 441.2 MB, free: 7.93 MB / 318.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 9.354e-05/0.1117, allocations: 103.2 kB / 441.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1118, allocations: 63.92 kB / 441.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1118, allocations: 0 / 441.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.1119, allocations: 31.98 kB / 441.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1121, allocations: 4 kB / 441.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.1127, allocations: 230.2 kB / 441.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.1132, allocations: 0.6924 MB / 442.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.1132, allocations: 8.656 kB / 442.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1133, allocations: 11.44 kB / 442.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1133, allocations: 0 / 442.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of Templates: time 0.002321/0.1156, allocations: 0.5593 MB / 442.9 MB, free: 6.168 MB / 318.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 -s gbode -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1)