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.002542/0.002542, allocations: 84.98 kB / 20.23 MB, free: 4.191 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.002096/0.002096, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.1145/0.1145, allocations: 18.14 MB / 278.5 MB, free: 11.33 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 1.553e-06/1.553e-06, allocations: 0 / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.779e-05, allocations: 2.312 kB / 356.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001685/0.001712, allocations: 0.5667 MB / 357.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000156/0.001868, allocations: 23.89 kB / 357.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.001899, allocations: 0 / 357.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.001914, allocations: 7.938 kB / 357.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.001992, allocations: 11.86 kB / 357.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.713e-05/0.002089, allocations: 7.922 kB / 357.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.002161, allocations: 31.86 kB / 357.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.0022, allocations: 7.984 kB / 357.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.002232, allocations: 15.98 kB / 357.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.002318, allocations: 15.92 kB / 357.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.002336, allocations: 0 / 357.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.002349, allocations: 4 kB / 357.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.872e-05/0.002367, allocations: 7.984 kB / 357.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.002393, allocations: 7.938 kB / 357.2 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.292e-05/0.002466, allocations: 15.95 kB / 357.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.00247, allocations: 4 kB / 357.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002471, allocations: 0 / 357.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.002477, allocations: 4 kB / 357.2 MB, free: 7.484 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.0005356/0.003012, allocations: 384.1 kB / 357.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.003047, allocations: 8.922 kB / 357.6 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.003091, allocations: 12.86 kB / 357.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.003218, allocations: 120.5 kB / 357.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.003237, allocations: 8.375 kB / 357.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.003256, allocations: 384 / 357.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.003372, allocations: 46.25 kB / 357.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.003384, allocations: 4.172 kB / 357.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.003394, allocations: 8.375 kB / 357.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.003402, allocations: 4.375 kB / 357.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.003458, allocations: 19.92 kB / 357.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.003929, allocations: 275.7 kB / 358.1 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.004122, allocations: 55.05 kB / 358.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.004165, allocations: 19.77 kB / 358.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.004183, allocations: 4 kB / 358.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.004214, allocations: 37.33 kB / 358.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.004215, allocations: 0 / 358.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002159/0.004431, allocations: 73.58 kB / 358.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.004477, allocations: 51.41 kB / 358.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.004748, allocations: 181.9 kB / 358.5 MB, free: 6.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.004768, allocations: 25.7 kB / 358.6 MB, free: 6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.004861, allocations: 138.8 kB / 358.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.004887, allocations: 19.83 kB / 358.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.004937, allocations: 27.38 kB / 358.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.005191, allocations: 496.1 kB / 359.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.005223, allocations: 12 kB / 359.2 MB, free: 5.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.005274, allocations: 31.36 kB / 359.3 MB, free: 5.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.005394, allocations: 59.31 kB / 359.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005396, allocations: 0 / 359.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001355/0.005531, allocations: 77.58 kB / 359.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.005547, allocations: 7.938 kB / 359.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.005553, allocations: 4 kB / 359.4 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.005566, allocations: 0 / 359.4 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.00567, allocations: 23.98 kB / 359.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.005675, allocations: 4.094 kB / 359.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.005729, allocations: 7.953 kB / 359.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.005738, allocations: 3.984 kB / 359.5 MB, free: 5.059 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.0001548/0.005892, allocations: 168.5 kB / 359.6 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.005922, allocations: 7.938 kB / 359.6 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.005953, allocations: 11.98 kB / 359.6 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005955, allocations: 0 / 359.6 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.005958, allocations: 4 kB / 359.6 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.00596, allocations: 0 / 359.6 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.006128, allocations: 128.6 kB / 359.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006129, allocations: 0 / 359.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.006231, allocations: 15.94 kB / 359.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006232, allocations: 4 kB / 359.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.00625, allocations: 16 kB / 359.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006251, allocations: 0 / 359.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006252, allocations: 0 / 359.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.006486, allocations: 211.9 kB / 360 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.0065, allocations: 3.953 kB / 360 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.006521, allocations: 7.938 kB / 360 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.006583, allocations: 240 / 360 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.006606, allocations: 3.984 kB / 360 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.006609, allocations: 0 / 360 MB, free: 4.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.006707, allocations: 151.6 kB / 360.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006707, allocations: 0 / 360.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.006914, allocations: 8 kB / 360.2 MB, free: 4.266 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.0001119/0.007026, allocations: 99.17 kB / 360.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.007156, allocations: 39.67 kB / 360.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.007157, allocations: 0 / 360.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.007199, allocations: 27.61 kB / 360.3 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.007412, allocations: 0 / 360.3 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.00778, allocations: 169.9 kB / 360.5 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.834e-05/0.007858, allocations: 71.2 kB / 360.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.007888, allocations: 7.984 kB / 360.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.007918, allocations: 12.44 kB / 360.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007918, allocations: 0 / 360.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of Templates: time 0.002914/0.01083, allocations: 431.3 kB / 361 MB, free: 3.352 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=240 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.578857708023861]