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.001649/0.001649, allocations: 78.88 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002128/0.002128, allocations: 159 kB / 23.01 MB, free: 4.59 MB / 14.72 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 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.09763/0.09763, allocations: 17.8 MB / 277.6 MB, free: 15.35 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 71.89 kB / 414.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 59.56 MB / 474.2 MB, free: 8.844 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.002356/0.1356, allocations: 0.5676 MB / 474.8 MB, free: 8.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002435/0.1358, allocations: 31.83 kB / 474.8 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.1359, allocations: 0 / 474.8 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.1359, allocations: 3.938 kB / 474.8 MB, free: 8.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.136, allocations: 3.938 kB / 474.8 MB, free: 8.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1361, allocations: 7.984 kB / 474.8 MB, free: 8.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1362, allocations: 35.84 kB / 474.9 MB, free: 8.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.1363, allocations: 0 / 474.9 MB, free: 8.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.1363, allocations: 11.94 kB / 474.9 MB, free: 8.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1365, allocations: 27.91 kB / 474.9 MB, free: 8.156 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.1365, allocations: 3.984 kB / 474.9 MB, free: 8.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.1365, allocations: 4 kB / 474.9 MB, free: 8.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.1365, allocations: 3.938 kB / 474.9 MB, free: 8.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.1366, allocations: 15.92 kB / 474.9 MB, free: 8.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.45e-05/0.1367, allocations: 19.8 kB / 474.9 MB, free: 8.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1367, allocations: 4 kB / 474.9 MB, free: 8.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1367, allocations: 0 / 474.9 MB, free: 8.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1367, allocations: 0 / 474.9 MB, free: 8.105 MB / 446.1 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.0006452/0.1373, allocations: 290.2 kB / 475.2 MB, free: 7.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1374, allocations: 8.922 kB / 475.2 MB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.1374, allocations: 8.891 kB / 475.2 MB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1376, allocations: 122.4 kB / 475.4 MB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1376, allocations: 4.375 kB / 475.4 MB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.1376, allocations: 384 / 475.4 MB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1378, allocations: 50.25 kB / 475.4 MB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1378, allocations: 192 / 475.4 MB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1378, allocations: 7.922 kB / 475.4 MB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1378, allocations: 0 / 475.4 MB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.186e-05/0.1379, allocations: 16 kB / 475.4 MB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.1384, allocations: 216.5 kB / 475.7 MB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1387, allocations: 54.48 kB / 475.7 MB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.1387, allocations: 12.86 kB / 475.7 MB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1387, allocations: 4 kB / 475.7 MB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1388, allocations: 30.56 kB / 475.8 MB, free: 7.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1388, allocations: 0 / 475.8 MB, free: 7.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002436/0.139, allocations: 69.67 kB / 475.8 MB, free: 7.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1391, allocations: 55.34 kB / 475.9 MB, free: 7.043 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1392, allocations: 125.8 kB / 476 MB, free: 6.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.1393, allocations: 29.7 kB / 476 MB, free: 6.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1393, allocations: 88.09 kB / 476.1 MB, free: 6.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1394, allocations: 27.72 kB / 476.1 MB, free: 6.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.1394, allocations: 17.72 kB / 476.2 MB, free: 6.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.1397, allocations: 322.8 kB / 476.5 MB, free: 6.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.1397, allocations: 8 kB / 476.5 MB, free: 6.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.1398, allocations: 25.7 kB / 476.5 MB, free: 6.371 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.1402, allocations: 81.69 kB / 476.6 MB, free: 6.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1402, allocations: 0 / 476.6 MB, free: 6.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001896/0.1403, allocations: 85.7 kB / 476.7 MB, free: 6.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1404, allocations: 4 kB / 476.7 MB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1404, allocations: 0 / 476.7 MB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1404, allocations: 4 kB / 476.7 MB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.1405, allocations: 19.94 kB / 476.7 MB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1405, allocations: 3.984 kB / 476.7 MB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.1405, allocations: 0 / 476.7 MB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1406, allocations: 4 kB / 476.7 MB, free: 6.16 MB / 446.1 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.0002116/0.1408, allocations: 125.9 kB / 476.8 MB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1408, allocations: 3.953 kB / 476.8 MB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.1408, allocations: 15.98 kB / 476.8 MB, free: 6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1408, allocations: 0 / 476.8 MB, free: 6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1408, allocations: 0 / 476.8 MB, free: 6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1408, allocations: 0 / 476.8 MB, free: 6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1411, allocations: 113.3 kB / 477 MB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1411, allocations: 3.938 kB / 477 MB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1412, allocations: 19.98 kB / 477 MB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1412, allocations: 4 kB / 477 MB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1412, allocations: 0 / 477 MB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1412, allocations: 3.938 kB / 477 MB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1412, allocations: 0 / 477 MB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1414, allocations: 167.5 kB / 477.2 MB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.1414, allocations: 15.86 kB / 477.2 MB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1415, allocations: 0 / 477.2 MB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.1415, allocations: 0 / 477.2 MB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.1415, allocations: 0 / 477.2 MB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-06/0.1415, allocations: 7.984 kB / 477.2 MB, free: 5.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.1416, allocations: 95.22 kB / 477.3 MB, free: 5.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1416, allocations: 4.062 kB / 477.3 MB, free: 5.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.1418, allocations: 8 kB / 477.3 MB, free: 5.52 MB / 446.1 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.0002285/0.1421, allocations: 99.17 kB / 477.4 MB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1422, allocations: 39.86 kB / 477.4 MB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1422, allocations: 0 / 477.4 MB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.1422, allocations: 12 kB / 477.4 MB, free: 5.359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1424, allocations: 10.59 kB / 477.4 MB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.1428, allocations: 158.1 kB / 477.6 MB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.391e-05/0.1429, allocations: 75.33 kB / 477.7 MB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.1429, allocations: 4 kB / 477.7 MB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1429, allocations: 8.5 kB / 477.7 MB, free: 5.066 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.1429, allocations: 0 / 477.7 MB, free: 5.066 MB / 446.1 MB Notification: Performance of Templates: time 0.002762/0.1457, allocations: 406.9 kB / 478.1 MB, free: 4.676 MB / 446.1 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 -s ida -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9495595099870116] Failed to read output from testmodel.py, exit status != 0: 0.15574433305300772 0.37094944900000004 0.231171642 Calling exit ...