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.0007958/0.0007958, allocations: 80.47 kB / 20.71 MB, free: 3.848 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.0007723/0.0007723, allocations: 169.2 kB / 23.98 MB, free: 0.5664 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 0.8875/0.8875, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.05971/0.05971, allocations: 18.12 MB / 278.8 MB, free: 11.53 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.104e-06/2.104e-06, allocations: 0 / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.715e-05, allocations: 4.5 kB / 416.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001172/0.001199, allocations: 0.5604 MB / 416.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000146/0.001345, allocations: 27.17 kB / 416.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.001372, allocations: 1.375 kB / 416.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.00139, allocations: 0 / 416.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.001456, allocations: 8.984 kB / 416.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.001567, allocations: 9.766 kB / 416.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.761e-05/0.001635, allocations: 32.22 kB / 417 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.001685, allocations: 7.484 kB / 417 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.001708, allocations: 13.27 kB / 417 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.001788, allocations: 14.59 kB / 417 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.001815, allocations: 2.75 kB / 417 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.001824, allocations: 1.375 kB / 417 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.001842, allocations: 15.22 kB / 417 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.001867, allocations: 10.3 kB / 417 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.529e-05/0.001942, allocations: 21.84 kB / 417 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.001945, allocations: 0 / 417 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.001946, allocations: 0 / 417 MB, free: 12.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.00195, allocations: 0.75 kB / 417 MB, free: 12.12 MB / 330.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.000346/0.002296, allocations: 284.6 kB / 417.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.002336, allocations: 10.52 kB / 417.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.002367, allocations: 7.641 kB / 417.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.491e-05/0.002432, allocations: 111.8 kB / 417.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.002445, allocations: 5.75 kB / 417.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.002467, allocations: 7.781 kB / 417.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.002579, allocations: 45.42 kB / 417.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.002589, allocations: 4.125 kB / 417.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.002601, allocations: 9.688 kB / 417.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.002607, allocations: 9.734 kB / 417.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.00265, allocations: 23.47 kB / 417.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.002986, allocations: 217.5 kB / 417.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.003136, allocations: 50.61 kB / 417.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.003159, allocations: 14.52 kB / 417.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.003167, allocations: 1.062 kB / 417.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.003181, allocations: 41.39 kB / 417.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.003182, allocations: 0 / 417.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001536/0.003335, allocations: 62.16 kB / 417.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.003357, allocations: 57.53 kB / 418 MB, free: 11.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.003418, allocations: 120.1 kB / 418.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.003424, allocations: 26.86 kB / 418.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.003458, allocations: 92.22 kB / 418.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.00347, allocations: 16.94 kB / 418.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.003496, allocations: 18.09 kB / 418.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.003525, allocations: 316.2 kB / 418.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.003545, allocations: 11.22 kB / 418.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.00357, allocations: 25.34 kB / 418.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.003764, allocations: 91.48 kB / 418.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.003766, allocations: 0 / 418.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.653e-05/0.003842, allocations: 73.73 kB / 418.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.003855, allocations: 9.438 kB / 418.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.003859, allocations: 0 / 418.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.003871, allocations: 1.406 kB / 418.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.003929, allocations: 18.28 kB / 418.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.003935, allocations: 1.031 kB / 418.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.003959, allocations: 11.06 kB / 418.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.003966, allocations: 5.938 kB / 418.8 MB, free: 10.51 MB / 330.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.0001049/0.004071, allocations: 112.5 kB / 418.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.004085, allocations: 9.797 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.004106, allocations: 18.09 kB / 418.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.004108, allocations: 2.078 kB / 418.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.004112, allocations: 0 / 418.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004114, allocations: 0 / 418.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.532e-05/0.00419, allocations: 115.2 kB / 419.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00419, allocations: 4 kB / 419.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.004249, allocations: 15.61 kB / 419.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.004252, allocations: 2.281 kB / 419.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.004258, allocations: 3.938 kB / 419.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.004259, allocations: 160 / 419.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.004261, allocations: 1.844 kB / 419.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.004372, allocations: 167.2 kB / 419.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.004383, allocations: 3.375 kB / 419.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.004395, allocations: 9.125 kB / 419.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.004425, allocations: 1.469 kB / 419.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.004441, allocations: 6.828 kB / 419.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.004444, allocations: 8.766 kB / 419.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.004472, allocations: 93.94 kB / 419.4 MB, free: 9.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004472, allocations: 1.156 kB / 419.4 MB, free: 9.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.004618, allocations: 7.125 kB / 419.4 MB, free: 9.992 MB / 330.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 6.814e-05/0.004686, allocations: 98.48 kB / 419.5 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.004791, allocations: 34.41 kB / 419.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.004793, allocations: 0 / 419.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.781e-05/0.004811, allocations: 22 kB / 419.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.004969, allocations: 2.078 kB / 419.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.005208, allocations: 182.1 kB / 419.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.005244, allocations: 72.06 kB / 419.8 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.005269, allocations: 11.22 kB / 419.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005269, allocations: 0 / 419.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of Templates: time 0.001702/0.006972, allocations: 0.7599 MB / 420.5 MB, free: 9.594 MB / 330.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.133192355744541] Failed to read output from testmodel.py, exit status != 0: 0.012698348611593246 0.024224522000000002 0.020478139000000003 Calling exit ...