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.001077/0.001077, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001271/0.001271, allocations: 163.6 kB / 24.86 MB, free: 8.766 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.07137/0.07137, allocations: 18.14 MB / 280 MB, free: 11.14 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.493e-06/1.493e-06, allocations: 0 / 358.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.933e-05, allocations: 5.125 kB / 358.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.002202/0.002231, allocations: 0.579 MB / 359.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.002414, allocations: 27.83 kB / 359.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.00245, allocations: 0 / 359.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.00247, allocations: 3.938 kB / 359.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/0.00255, allocations: 7.922 kB / 359.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.002671, allocations: 11.98 kB / 359.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.002749, allocations: 31.84 kB / 359.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.002799, allocations: 8 kB / 359.2 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.00283, allocations: 15.92 kB / 359.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.002919, allocations: 11.98 kB / 359.2 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.002941, allocations: 4 kB / 359.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.002951, allocations: 0 / 359.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.002974, allocations: 11.92 kB / 359.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.002998, allocations: 7.984 kB / 359.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.82e-05/0.003077, allocations: 23.84 kB / 359.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003079, allocations: 0 / 359.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00308, allocations: 0 / 359.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003084, allocations: 4 kB / 359.3 MB, free: 6.77 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.000426/0.00351, allocations: 384.5 kB / 359.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.003553, allocations: 8.922 kB / 359.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.003588, allocations: 4.938 kB / 359.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.003691, allocations: 120.5 kB / 359.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.003704, allocations: 384 / 359.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.003724, allocations: 8.375 kB / 359.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.003811, allocations: 46.17 kB / 359.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.003819, allocations: 192 / 359.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.003829, allocations: 8.375 kB / 359.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.003838, allocations: 4.375 kB / 359.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.003865, allocations: 11.92 kB / 359.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.004241, allocations: 256.4 kB / 360.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.004402, allocations: 47.05 kB / 360.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.004428, allocations: 15.62 kB / 360.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.004435, allocations: 0 / 360.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.004461, allocations: 37.39 kB / 360.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.004463, allocations: 0 / 360.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001638/0.004627, allocations: 69.59 kB / 360.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.004661, allocations: 51.41 kB / 360.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.004771, allocations: 181.9 kB / 360.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.004783, allocations: 25.7 kB / 360.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.004852, allocations: 146.7 kB / 360.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.004868, allocations: 11.91 kB / 360.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.004912, allocations: 19.38 kB / 360.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.00506, allocations: 0.5 MB / 361.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.005078, allocations: 4 kB / 361.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.005111, allocations: 27.34 kB / 361.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.787e-05/0.005188, allocations: 47.44 kB / 361.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005191, allocations: 0 / 361.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001079/0.005298, allocations: 65.58 kB / 361.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.005312, allocations: 4 kB / 361.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.005319, allocations: 7.938 kB / 361.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.005328, allocations: 0 / 361.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.005428, allocations: 23.98 kB / 361.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.005433, allocations: 4.141 kB / 361.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.005477, allocations: 11.89 kB / 361.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.005483, allocations: 3.938 kB / 361.4 MB, free: 4.434 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.0001204/0.005603, allocations: 164.6 kB / 361.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.005632, allocations: 8 kB / 361.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.005658, allocations: 15.92 kB / 361.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00566, allocations: 0 / 361.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.005662, allocations: 0 / 361.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.005664, allocations: 0 / 361.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.005801, allocations: 105.2 kB / 361.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005802, allocations: 0 / 361.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.005888, allocations: 16 kB / 361.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.00589, allocations: 4 kB / 361.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.0059, allocations: 0 / 361.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.005902, allocations: 0 / 361.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.005905, allocations: 7.875 kB / 361.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.006082, allocations: 215.8 kB / 361.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.006096, allocations: 7.953 kB / 361.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.006108, allocations: 0 / 361.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.006168, allocations: 0 / 361.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.006183, allocations: 7.922 kB / 362 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.006189, allocations: 8 kB / 362 MB, free: 3.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.403e-05/0.006243, allocations: 139.6 kB / 362.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006243, allocations: 0 / 362.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.006488, allocations: 12 kB / 362.1 MB, free: 3.68 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 8.733e-05/0.006575, allocations: 91.25 kB / 362.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.006673, allocations: 35.59 kB / 362.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006675, allocations: 0 / 362.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.006698, allocations: 15.92 kB / 362.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.006925, allocations: 6.656 kB / 362.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.007207, allocations: 166 kB / 362.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.007254, allocations: 59.34 kB / 362.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.007284, allocations: 3.984 kB / 362.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.007332, allocations: 70.2 kB / 362.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007333, allocations: 4 kB / 362.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of Templates: time 0.002392/0.009724, allocations: 472.8 kB / 363 MB, free: 2.711 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: 2.9349260199815035]