Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.001384/0.001384, allocations: 105.5 kB / 16.45 MB, free: 6.449 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.001375/0.001375, allocations: 186.9 kB / 19.4 MB, free: 3.66 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.09943/0.09943, allocations: 22.7 MB / 325.4 MB, free: 3.555 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.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 59.89 kB / 457.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1361, allocations: 58.02 MB / 0.5036 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003543/0.1397, allocations: 1.912 MB / 0.5055 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1409, allocations: 0.6001 MB / 0.506 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.141, allocations: 7.938 kB / 0.506 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.1414, allocations: 47.59 kB / 0.5061 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.1416, allocations: 59.62 kB / 0.5061 GB, free: 4.52 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1418, allocations: 107.8 kB / 0.5062 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.1423, allocations: 308 kB / 0.5065 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1424, allocations: 52.25 kB / 0.5066 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.1426, allocations: 131.5 kB / 0.5067 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1429, allocations: 131.5 kB / 0.5068 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.1429, allocations: 16 kB / 0.5069 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/0.1429, allocations: 20 kB / 0.5069 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1431, allocations: 59.75 kB / 0.5069 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1432, allocations: 91.47 kB / 0.507 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.1435, allocations: 207 kB / 0.5072 GB, free: 3.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1435, allocations: 0 / 0.5072 GB, free: 3.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1435, allocations: 0 / 0.5072 GB, free: 3.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1435, allocations: 0 / 0.5072 GB, free: 3.418 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001472/0.145, allocations: 0.5958 MB / 0.5078 GB, free: 2.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.145, allocations: 8.031 kB / 0.5078 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.1451, allocations: 28.78 kB / 0.5078 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.1457, allocations: 311.6 kB / 0.5081 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1457, allocations: 12.38 kB / 0.5081 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.1458, allocations: 20.36 kB / 0.5082 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.1462, allocations: 207.8 kB / 0.5084 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1462, allocations: 0 / 0.5084 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.1462, allocations: 8 kB / 0.5084 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.1462, allocations: 4 kB / 0.5084 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.1466, allocations: 155.8 kB / 0.5085 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1478, allocations: 0.7232 MB / 0.5092 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.1484, allocations: 222.6 kB / 0.5094 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1485, allocations: 76.81 kB / 0.5095 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1486, allocations: 4 kB / 0.5095 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.1486, allocations: 38.5 kB / 0.5096 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.1486, allocations: 0 / 0.5096 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006399/0.1492, allocations: 267.6 kB / 0.5098 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1493, allocations: 55.41 kB / 0.5099 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.1499, allocations: 296.9 kB / 0.5101 GB, free: 216 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1499, allocations: 25.7 kB / 0.5102 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.15, allocations: 152.4 kB / 0.5103 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2593/0.4093, allocations: 66.22 kB / 0.5104 GB, free: 16.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.4094, allocations: 53.56 kB / 0.5104 GB, free: 16.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.4095, allocations: 337.2 kB / 0.5108 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.4098, allocations: 74.97 kB / 0.5108 GB, free: 15.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.41, allocations: 127.8 kB / 0.5109 GB, free: 15.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.4115, allocations: 455.5 kB / 0.5114 GB, free: 15.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4115, allocations: 0.5938 kB / 0.5114 GB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00051/0.412, allocations: 294.1 kB / 0.5117 GB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4121, allocations: 5.531 kB / 0.5117 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4121, allocations: 1.906 kB / 0.5117 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.4121, allocations: 6.406 kB / 0.5117 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.4124, allocations: 61.02 kB / 0.5117 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.4124, allocations: 9.5 kB / 0.5117 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.4127, allocations: 52.25 kB / 0.5118 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.4127, allocations: 11.31 kB / 0.5118 GB, free: 15.64 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) \"Connector of Real output signal\" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001796/0.4129, allocations: 140.1 kB / 0.5119 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.4129, allocations: 22.94 kB / 0.512 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.4134, allocations: 242.5 kB / 0.5122 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4134, allocations: 2.469 kB / 0.5122 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4134, allocations: 1.125 kB / 0.5122 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4134, allocations: 3.938 kB / 0.5122 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.4138, allocations: 293 kB / 0.5125 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4138, allocations: 0.9375 kB / 0.5125 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.414, allocations: 46.09 kB / 0.5125 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.414, allocations: 3.219 kB / 0.5125 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.4141, allocations: 5.625 kB / 0.5125 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4141, allocations: 1.875 kB / 0.5125 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4141, allocations: 4.969 kB / 0.5125 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.4146, allocations: 405.7 kB / 0.5129 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.4147, allocations: 107.9 kB / 0.513 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.4147, allocations: 9.016 kB / 0.513 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.415, allocations: 28.62 kB / 0.5131 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.415, allocations: 16.8 kB / 0.5131 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.4151, allocations: 9.906 kB / 0.5131 GB, free: 15.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004059/0.4155, allocations: 227.8 kB / 0.5133 GB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4155, allocations: 0 / 0.5133 GB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.4158, allocations: 45.61 kB / 0.5133 GB, free: 14.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001082/0.4159, allocations: 102.5 kB / 0.5134 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.4163, allocations: 187.3 kB / 0.5136 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4163, allocations: 0 / 0.5136 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4165, allocations: 91.42 kB / 0.5137 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4168, allocations: 28.86 kB / 0.5137 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/0.4177, allocations: 0.5231 MB / 0.5142 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.4179, allocations: 0.7597 MB / 0.515 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.418, allocations: 36.14 kB / 0.515 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4181, allocations: 27.48 kB / 0.5151 GB, free: 13.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4181, allocations: 0 / 0.5151 GB, free: 13.9 MB / 382.1 MB Notification: Performance of Templates: time 0.006236/0.4244, allocations: 2.208 MB / 0.5172 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.035697910934687] Failed to read output from testmodel.py, exit status != 0: 0.4329081070609391 0.44353236900000004 0.297401789 Calling exit ...