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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 108.5 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.09971/0.09971, allocations: 22.7 MB / 325.4 MB, free: 3.551 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002062/0.002062, allocations: 63.89 kB / 457.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1394, allocations: 58.01 MB / 0.5036 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001866/0.1413, allocations: 0.5699 MB / 0.5041 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000171/0.1414, allocations: 31.83 kB / 0.5042 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.1415, allocations: 0 / 0.5042 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.1415, allocations: 3.938 kB / 0.5042 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.1416, allocations: 7.938 kB / 0.5042 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.1417, allocations: 3.984 kB / 0.5042 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.1418, allocations: 35.84 kB / 0.5042 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.1419, allocations: 4 kB / 0.5042 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/0.1419, allocations: 19.92 kB / 0.5042 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.142, allocations: 19.91 kB / 0.5043 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.142, allocations: 4 kB / 0.5043 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.142, allocations: 0 / 0.5043 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.142, allocations: 7.938 kB / 0.5043 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.1421, allocations: 19.86 kB / 0.5043 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1422, allocations: 19.84 kB / 0.5043 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1422, allocations: 0 / 0.5043 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1422, allocations: 0 / 0.5043 GB, free: 6.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1422, allocations: 4 kB / 0.5043 GB, free: 6.414 MB / 382.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.0007049/0.1429, allocations: 363.3 kB / 0.5047 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.143, allocations: 12.03 kB / 0.5047 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.143, allocations: 4.875 kB / 0.5047 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1432, allocations: 176.3 kB / 0.5048 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1433, allocations: 4.375 kB / 0.5049 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1433, allocations: 384 / 0.5049 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1435, allocations: 62.22 kB / 0.5049 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1435, allocations: 192 / 0.5049 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1435, allocations: 3.938 kB / 0.5049 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1435, allocations: 0 / 0.5049 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/0.1436, allocations: 16 kB / 0.5049 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.1441, allocations: 280.7 kB / 0.5052 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1444, allocations: 50.55 kB / 0.5052 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.1444, allocations: 12.86 kB / 0.5053 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.1444, allocations: 7.938 kB / 0.5053 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1444, allocations: 34.56 kB / 0.5053 GB, free: 5.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1444, allocations: 0 / 0.5053 GB, free: 5.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002312/0.1447, allocations: 65.67 kB / 0.5054 GB, free: 5.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1447, allocations: 51.41 kB / 0.5054 GB, free: 5.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1449, allocations: 122.2 kB / 0.5055 GB, free: 4.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1449, allocations: 25.7 kB / 0.5056 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.145, allocations: 96.09 kB / 0.5056 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.145, allocations: 23.95 kB / 0.5057 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1451, allocations: 17.72 kB / 0.5057 GB, free: 4.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1452, allocations: 314.8 kB / 0.506 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.1453, allocations: 12 kB / 0.506 GB, free: 4.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.1453, allocations: 25.7 kB / 0.506 GB, free: 4.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1456, allocations: 85.56 kB / 0.5061 GB, free: 4.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1456, allocations: 0 / 0.5061 GB, free: 4.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001279/0.1458, allocations: 77.58 kB / 0.5062 GB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1458, allocations: 4 kB / 0.5062 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1458, allocations: 4 kB / 0.5062 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1458, allocations: 0 / 0.5062 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.1459, allocations: 16 kB / 0.5062 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1459, allocations: 8.016 kB / 0.5062 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.1459, allocations: 7.953 kB / 0.5062 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.146, allocations: 4 kB / 0.5062 GB, free: 4.23 MB / 382.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.0001878/0.1461, allocations: 114.6 kB / 0.5063 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1462, allocations: 4 kB / 0.5063 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.1462, allocations: 7.906 kB / 0.5063 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1462, allocations: 3.938 kB / 0.5063 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1462, allocations: 4 kB / 0.5063 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1462, allocations: 0 / 0.5063 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.1464, allocations: 173.6 kB / 0.5065 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1464, allocations: 0 / 0.5065 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1465, allocations: 19.92 kB / 0.5065 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1465, allocations: 3.938 kB / 0.5065 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1465, allocations: 0 / 0.5065 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1465, allocations: 4 kB / 0.5065 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1465, allocations: 0 / 0.5065 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1468, allocations: 171.6 kB / 0.5067 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.1468, allocations: 85.05 kB / 0.5068 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1468, allocations: 4.031 kB / 0.5068 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1469, allocations: 4 kB / 0.5068 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.1469, allocations: 4 kB / 0.5068 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1469, allocations: 4 kB / 0.5068 GB, free: 3.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.147, allocations: 95.31 kB / 0.5069 GB, free: 3.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.147, allocations: 0 / 0.5069 GB, free: 3.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1473, allocations: 8 kB / 0.5069 GB, free: 3.438 MB / 382.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.0001252/0.1474, allocations: 103.2 kB / 0.507 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1475, allocations: 31.98 kB / 0.507 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1475, allocations: 0 / 0.507 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.1476, allocations: 19.92 kB / 0.507 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1478, allocations: 7.938 kB / 0.5071 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.1482, allocations: 161.8 kB / 0.5072 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1485, allocations: 0.6885 MB / 0.5079 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.804e-05/0.1485, allocations: 3.984 kB / 0.5079 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.1486, allocations: 11.44 kB / 0.5079 GB, free: 2.355 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1486, allocations: 0 / 0.5079 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Templates: time 0.003194/0.1518, allocations: 417.1 kB / 0.5083 GB, free: 1.949 MB / 382.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 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.991693201940507] Failed to read output from testmodel.py, exit status != 0: 0.160370206926018 0.402839129 0.258112663 Calling exit ...