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.001164/0.001164, allocations: 119 kB / 16.42 MB, free: 6.016 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.001213/0.001213, allocations: 185.2 kB / 17.35 MB, free: 5.629 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.09456/0.09456, allocations: 22.31 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.0916, allocations: 54.95 MB / 492.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001584/0.09322, allocations: 0.593 MB / 493.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.09344, allocations: 63.89 kB / 493.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.09348, allocations: 4 kB / 493.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.09352, allocations: 3.938 kB / 493.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.09358, allocations: 7.938 kB / 493.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.09373, allocations: 19.91 kB / 493.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.09381, allocations: 31.97 kB / 493.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.09386, allocations: 12.11 kB / 493.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.09391, allocations: 19.88 kB / 493.4 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.094, allocations: 27.84 kB / 493.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.09402, allocations: 4 kB / 493.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.09404, allocations: 8 kB / 493.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.09406, allocations: 7.984 kB / 493.5 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.0941, allocations: 19.81 kB / 493.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.61e-05/0.09417, allocations: 35.83 kB / 493.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.09418, allocations: 3.984 kB / 493.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09419, allocations: 0 / 493.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.0942, allocations: 3.938 kB / 493.5 MB, free: 3.914 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.0004346/0.09464, allocations: 371.3 kB / 493.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.09468, allocations: 8.031 kB / 493.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.09472, allocations: 8.844 kB / 493.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.09485, allocations: 176.2 kB / 494.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.09487, allocations: 4.359 kB / 494.1 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.0949, allocations: 8.375 kB / 494.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.09503, allocations: 65.73 kB / 494.2 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.09505, allocations: 0 / 494.2 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.09507, allocations: 8 kB / 494.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.09507, allocations: 0 / 494.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.09516, allocations: 31.98 kB / 494.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.09557, allocations: 304.7 kB / 494.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.09586, allocations: 98.48 kB / 494.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.09593, allocations: 36.84 kB / 494.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.09596, allocations: 4 kB / 494.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.09599, allocations: 34.56 kB / 494.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.096, allocations: 0 / 494.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002379/0.09624, allocations: 105.7 kB / 494.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.09628, allocations: 55.41 kB / 494.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.09637, allocations: 121.8 kB / 494.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.09639, allocations: 25.7 kB / 495 MB, free: 2.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.09645, allocations: 92.05 kB / 495.1 MB, free: 2.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.09648, allocations: 35.45 kB / 495.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.09654, allocations: 29.72 kB / 495.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.09665, allocations: 322.8 kB / 495.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.0967, allocations: 20.36 kB / 495.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.09676, allocations: 37.64 kB / 495.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.09716, allocations: 129 kB / 495.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.09718, allocations: 0 / 495.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001637/0.09734, allocations: 109.5 kB / 495.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.09737, allocations: 4 kB / 495.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.09737, allocations: 0 / 495.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.09739, allocations: 4 kB / 495.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.09753, allocations: 31.92 kB / 495.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.09755, allocations: 0 / 495.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.09761, allocations: 11.94 kB / 495.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.09762, allocations: 4 kB / 495.8 MB, free: 1.434 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.00015/0.09778, allocations: 134.9 kB / 495.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.09782, allocations: 4.109 kB / 495.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.09801, allocations: 109.9 kB / 496 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.09802, allocations: 0 / 496 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.09803, allocations: 0 / 496 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.09807, allocations: 89.02 kB / 496.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.09809, allocations: 4 kB / 496.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.09817, allocations: 3.938 kB / 496.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.0982, allocations: 7.984 kB / 496.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003402/0.09854, allocations: 192.8 kB / 496.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002767/0.09883, allocations: 302.6 kB / 496.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.085e-05/0.09889, allocations: 28.06 kB / 496.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.09895, allocations: 92.14 kB / 496.7 MB, free: 440 kB / 366.1 MB Notification: Performance of Backend: time 3.6e-07/0.09896, allocations: 0 / 496.7 MB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.09933, allocations: 126.3 kB / 496.9 MB, free: 304 kB / 366.1 MB Notification: Performance of SimCode: time 0.0004918/0.09983, allocations: 0.6442 MB / 497.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Templates: time 0.002714/0.1026, allocations: 0.7271 MB / 498.2 MB, free: 14.88 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)