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.006246/0.006246, allocations: 108.5 kB / 15.71 MB, free: 5.98 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.001297/0.001297, allocations: 187.6 kB / 16.64 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.445/1.445, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09009/0.09009, allocations: 22.32 MB / 312.8 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 59.91 kB / 437 MB, free: 11.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1391, allocations: 54.95 MB / 491.9 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.002387/0.1416, allocations: 0.5984 MB / 492.5 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.1419, allocations: 63.89 kB / 492.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.1419, allocations: 0 / 492.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.142, allocations: 3.938 kB / 492.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.1421, allocations: 3.938 kB / 492.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1423, allocations: 19.92 kB / 492.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1425, allocations: 43.84 kB / 492.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.471e-05/0.1425, allocations: 8.172 kB / 492.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.1426, allocations: 19.92 kB / 492.7 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1427, allocations: 27.84 kB / 492.7 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1427, allocations: 0 / 492.7 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.1428, allocations: 4 kB / 492.7 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.1428, allocations: 11.92 kB / 492.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.1428, allocations: 19.88 kB / 492.8 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.912e-05/0.1429, allocations: 35.83 kB / 492.8 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.143, allocations: 4 kB / 492.8 MB, free: 3.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.143, allocations: 0 / 492.8 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.143, allocations: 0 / 492.8 MB, free: 3.969 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.0005329/0.1435, allocations: 367.3 kB / 493.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1436, allocations: 8.031 kB / 493.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1436, allocations: 8.844 kB / 493.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1438, allocations: 180.1 kB / 493.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1439, allocations: 8.375 kB / 493.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1439, allocations: 12.36 kB / 493.4 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.144, allocations: 65.73 kB / 493.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1441, allocations: 0 / 493.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1441, allocations: 4 kB / 493.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1441, allocations: 4 kB / 493.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.1442, allocations: 31.98 kB / 493.5 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.1446, allocations: 300.7 kB / 493.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1449, allocations: 98.55 kB / 493.9 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.145, allocations: 40.83 kB / 493.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.145, allocations: 0 / 493.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.145, allocations: 38.69 kB / 493.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.145, allocations: 0 / 493.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002541/0.1453, allocations: 105.5 kB / 494 MB, free: 2.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.1454, allocations: 55.41 kB / 494.1 MB, free: 2.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.1454, allocations: 125.8 kB / 494.2 MB, free: 2.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1455, allocations: 25.7 kB / 494.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.1455, allocations: 88.05 kB / 494.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1456, allocations: 35.45 kB / 494.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.1456, allocations: 25.72 kB / 494.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1457, allocations: 326.8 kB / 494.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.1458, allocations: 19.98 kB / 494.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.1458, allocations: 45.38 kB / 494.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.1462, allocations: 118 kB / 494.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1462, allocations: 0 / 494.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001583/0.1464, allocations: 113.5 kB / 495 MB, free: 1.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1464, allocations: 12.03 kB / 495 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1465, allocations: 0 / 495 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1465, allocations: 0 / 495 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1466, allocations: 27.98 kB / 495 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1466, allocations: 8 kB / 495 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.1467, allocations: 7.938 kB / 495.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1467, allocations: 4 kB / 495.1 MB, free: 1.477 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.0001891/0.1469, allocations: 138.8 kB / 495.2 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1469, allocations: 4 kB / 495.2 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.1471, allocations: 98.05 kB / 495.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1472, allocations: 3.984 kB / 495.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1472, allocations: 0 / 495.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1472, allocations: 3.938 kB / 495.3 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.1474, allocations: 189.5 kB / 495.5 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1474, allocations: 0 / 495.5 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1476, allocations: 35.92 kB / 495.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1476, allocations: 4 kB / 495.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1476, allocations: 4 kB / 495.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1476, allocations: 0 / 495.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1476, allocations: 0 / 495.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1479, allocations: 223.4 kB / 495.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1479, allocations: 84.95 kB / 495.8 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1479, allocations: 4 kB / 495.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.148, allocations: 4 kB / 495.8 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1481, allocations: 15.97 kB / 495.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1481, allocations: 0 / 495.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.1481, allocations: 91.27 kB / 495.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1481, allocations: 0 / 495.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1484, allocations: 16 kB / 496 MB, free: 488 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 9.734e-05/0.1485, allocations: 99.12 kB / 496.1 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1487, allocations: 63.98 kB / 496.1 MB, free: 312 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1487, allocations: 4.062 kB / 496.1 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.1487, allocations: 37.02 kB / 496.2 MB, free: 272 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.149, allocations: 10.03 kB / 496.2 MB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.1494, allocations: 219.1 kB / 496.4 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1498, allocations: 0.6924 MB / 497.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.1498, allocations: 16.59 kB / 497.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.1498, allocations: 11.44 kB / 497.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1498, allocations: 0 / 497.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of Templates: time 0.002837/0.1527, allocations: 0.5664 MB / 497.7 MB, free: 14.71 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)