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.001246/0.001246, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001218/0.001218, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.316/1.316, 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.08792/0.08792, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 67.89 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.129, allocations: 54.94 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001902/0.131, allocations: 0.5984 MB / 493.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.1313, allocations: 63.89 kB / 493.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.1314, allocations: 0 / 493.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.1314, allocations: 7.875 kB / 493.3 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.1315, allocations: 7.938 kB / 493.3 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.1317, allocations: 23.89 kB / 493.4 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.1318, allocations: 43.84 kB / 493.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.1318, allocations: 4.188 kB / 493.4 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.1319, allocations: 15.92 kB / 493.4 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.132, allocations: 27.86 kB / 493.4 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.132, allocations: 0 / 493.4 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.132, allocations: 4 kB / 493.5 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.132, allocations: 11.97 kB / 493.5 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.1321, allocations: 31.8 kB / 493.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.1322, allocations: 31.83 kB / 493.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1322, allocations: 0 / 493.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1322, allocations: 0 / 493.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1322, allocations: 0 / 493.5 MB, free: 3.902 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.000506/0.1327, allocations: 363.3 kB / 493.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1328, allocations: 12.03 kB / 493.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1328, allocations: 4.844 kB / 493.9 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.133, allocations: 184.2 kB / 494.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.133, allocations: 8.375 kB / 494.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.133, allocations: 4.375 kB / 494.1 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1332, allocations: 65.8 kB / 494.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1332, allocations: 0 / 494.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1332, allocations: 0 / 494.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1332, allocations: 4 kB / 494.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.485e-05/0.1333, allocations: 35.97 kB / 494.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1338, allocations: 304.7 kB / 494.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.1341, allocations: 94.55 kB / 494.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.1342, allocations: 32.84 kB / 494.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1342, allocations: 0 / 494.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1342, allocations: 38.69 kB / 494.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1342, allocations: 0 / 494.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002744/0.1345, allocations: 113.5 kB / 494.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1345, allocations: 51.41 kB / 494.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.1346, allocations: 125.8 kB / 494.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1347, allocations: 25.7 kB / 495 MB, free: 2.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.1347, allocations: 88.05 kB / 495 MB, free: 2.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.1348, allocations: 43.44 kB / 495.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1348, allocations: 25.7 kB / 495.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.135, allocations: 322.8 kB / 495.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.135, allocations: 27.98 kB / 495.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.1351, allocations: 33.7 kB / 495.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.1355, allocations: 121.2 kB / 495.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1355, allocations: 0 / 495.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001697/0.1357, allocations: 109.5 kB / 495.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1357, allocations: 8 kB / 495.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1357, allocations: 3.984 kB / 495.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1357, allocations: 0 / 495.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1359, allocations: 31.98 kB / 495.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1359, allocations: 4 kB / 495.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.1359, allocations: 7.922 kB / 495.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.136, allocations: 8 kB / 495.8 MB, free: 1.418 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.0002091/0.1362, allocations: 135 kB / 495.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1362, allocations: 7.938 kB / 495.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.1364, allocations: 102 kB / 496 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1364, allocations: 0 / 496 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1364, allocations: 0 / 496 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1364, allocations: 0 / 496 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1366, allocations: 189.5 kB / 496.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1366, allocations: 0 / 496.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1368, allocations: 35.98 kB / 496.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1368, allocations: 3.938 kB / 496.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1369, allocations: 0 / 496.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1369, allocations: 4.359 kB / 496.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1369, allocations: 0 / 496.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.1371, allocations: 223.3 kB / 496.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.1372, allocations: 84.95 kB / 496.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1372, allocations: 11.94 kB / 496.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.1373, allocations: 4 kB / 496.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.1373, allocations: 8.031 kB / 496.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1373, allocations: 0 / 496.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.1374, allocations: 91.27 kB / 496.7 MB, free: 448 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1374, allocations: 0 / 496.7 MB, free: 448 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1376, allocations: 16 kB / 496.7 MB, free: 432 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 0.0001057/0.1377, allocations: 103.1 kB / 496.8 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1379, allocations: 67.91 kB / 496.8 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1379, allocations: 4.062 kB / 496.8 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.138, allocations: 37.02 kB / 496.9 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1382, allocations: 8 kB / 496.9 MB, free: 200 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.1387, allocations: 248.8 kB / 497.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.139, allocations: 0.6924 MB / 497.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.139, allocations: 15.44 kB / 497.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.139, allocations: 0 / 497.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of Templates: time 0.00234/0.1414, allocations: 0.9216 MB / 498.8 MB, free: 14.27 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)