Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 84.23 kB / 20.23 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 157.7 kB / 23.54 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1091/0.1091, allocations: 18.13 MB / 278.5 MB, free: 11.36 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 356.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.721e-05/3.941e-05, allocations: 3.297 kB / 356.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.002566/0.002606, allocations: 0.5591 MB / 357.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00022/0.002826, allocations: 31.88 kB / 357.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.002866, allocations: 3.938 kB / 357.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.002887, allocations: 3.938 kB / 357.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.002989, allocations: 7.938 kB / 357.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.003132, allocations: 11.92 kB / 357.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003235, allocations: 39.83 kB / 357.2 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.801e-05/0.003303, allocations: 4 kB / 357.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.003335, allocations: 4 kB / 357.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.003444, allocations: 23.91 kB / 357.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.003465, allocations: 0 / 357.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.00348, allocations: 4 kB / 357.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.0035, allocations: 0 / 357.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.003549, allocations: 15.91 kB / 357.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.346e-05/0.003642, allocations: 19.97 kB / 357.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003645, allocations: 4 kB / 357.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003645, allocations: 0 / 357.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00365, allocations: 3.938 kB / 357.2 MB, free: 7.496 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006395/0.00429, allocations: 278.2 kB / 357.5 MB, free: 7.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.004344, allocations: 8.922 kB / 357.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.004408, allocations: 8.938 kB / 357.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.004583, allocations: 117.6 kB / 357.7 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.004604, allocations: 8.375 kB / 357.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.004634, allocations: 4.375 kB / 357.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.004813, allocations: 58.22 kB / 357.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.004823, allocations: 192 / 357.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.004839, allocations: 4.359 kB / 357.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004845, allocations: 384 / 357.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.004913, allocations: 19.94 kB / 357.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.00552, allocations: 220.5 kB / 358 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.005789, allocations: 50.56 kB / 358 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.005838, allocations: 12.86 kB / 358 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.005849, allocations: 4 kB / 358 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.005892, allocations: 34.5 kB / 358.1 MB, free: 6.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.005894, allocations: 0 / 358.1 MB, free: 6.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003256/0.006219, allocations: 77.66 kB / 358.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.006284, allocations: 51.41 kB / 358.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.006454, allocations: 117.8 kB / 358.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.006479, allocations: 25.7 kB / 358.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.006587, allocations: 100 kB / 358.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.006607, allocations: 7.906 kB / 358.4 MB, free: 6.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.006671, allocations: 21.72 kB / 358.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.006898, allocations: 322.8 kB / 358.8 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.006942, allocations: 12 kB / 358.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.00702, allocations: 25.7 kB / 358.8 MB, free: 5.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.00742, allocations: 69.62 kB / 358.9 MB, free: 5.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007422, allocations: 0 / 358.9 MB, free: 5.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002089/0.007631, allocations: 85.64 kB / 359 MB, free: 5.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.00765, allocations: 7.938 kB / 359 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.007656, allocations: 3.938 kB / 359 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.007684, allocations: 8.031 kB / 359 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.00782, allocations: 19.98 kB / 359 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.00783, allocations: 4.141 kB / 359 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.007908, allocations: 3.953 kB / 359 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.007923, allocations: 8 kB / 359 MB, free: 5.547 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 (8): * Single equations (assignments): 8 * 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.0002355/0.008158, allocations: 113.8 kB / 359.1 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.008204, allocations: 7.938 kB / 359.1 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.008242, allocations: 15.98 kB / 359.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008244, allocations: 0 / 359.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.008249, allocations: 0 / 359.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008252, allocations: 0 / 359.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.008492, allocations: 121.3 kB / 359.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.008495, allocations: 0 / 359.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.008646, allocations: 20 kB / 359.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.008649, allocations: 0 / 359.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.008664, allocations: 3.938 kB / 359.3 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.008665, allocations: 0 / 359.3 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008666, allocations: 4 kB / 359.3 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.008953, allocations: 163.5 kB / 359.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.008974, allocations: 7.984 kB / 359.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.008997, allocations: 3.938 kB / 359.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.009106, allocations: 0 / 359.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.009146, allocations: 11.98 kB / 359.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.009151, allocations: 0 / 359.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.009264, allocations: 95.27 kB / 359.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009264, allocations: 0 / 359.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.009691, allocations: 4 kB / 359.6 MB, free: 4.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (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 (4): * Single equations (assignments): 4 * 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.000224/0.009915, allocations: 103.4 kB / 359.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.01011, allocations: 32.05 kB / 359.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01011, allocations: 0 / 359.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.01015, allocations: 19.92 kB / 359.7 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.01056, allocations: 0 / 359.7 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.01124, allocations: 164.2 kB / 359.9 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.01137, allocations: 75.19 kB / 360 MB, free: 4.484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.01142, allocations: 4.062 kB / 360 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.01147, allocations: 12.5 kB / 360 MB, free: 4.465 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01148, allocations: 0 / 360 MB, free: 4.465 MB / 282.7 MB Notification: Performance of Templates: time 0.0039/0.01538, allocations: 432.9 kB / 360.4 MB, free: 4.043 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.sim & ./AES_AES.Coursework.Modelling_principles.M2_PhasorDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.516990090021864]