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.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.001371/0.001371, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001812/0.001812, allocations: 211.8 kB / 23.01 MB, free: 4.992 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1089/0.1089, allocations: 24.03 MB / 337.2 MB, free: 11.33 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.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: 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.002106/0.002106, allocations: 75.88 kB / 474.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4036, allocations: 59.57 MB / 0.5214 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00338/0.407, allocations: 1.864 MB / 0.5232 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.4082, allocations: 0.592 MB / 0.5238 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.4083, allocations: 1.156 kB / 0.5238 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.4086, allocations: 62.08 kB / 0.5238 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.4088, allocations: 46.98 kB / 0.5239 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.4091, allocations: 127.1 kB / 0.524 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.4096, allocations: 347.7 kB / 0.5243 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.4097, allocations: 43.62 kB / 0.5244 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.4099, allocations: 133.4 kB / 0.5245 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.4101, allocations: 122.6 kB / 0.5246 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.4102, allocations: 18.12 kB / 0.5246 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/0.4102, allocations: 17.94 kB / 0.5247 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.4103, allocations: 65.56 kB / 0.5247 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.4104, allocations: 73.72 kB / 0.5248 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.4107, allocations: 200.5 kB / 0.525 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4107, allocations: 1.25 kB / 0.525 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4107, allocations: 4 kB / 0.525 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4107, allocations: 3.938 kB / 0.525 GB, free: 8.191 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.001284/0.412, allocations: 0.5264 MB / 0.5255 GB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.412, allocations: 14.52 kB / 0.5255 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.4121, allocations: 24.52 kB / 0.5255 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.4127, allocations: 258.6 kB / 0.5258 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.4127, allocations: 15.78 kB / 0.5258 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.4128, allocations: 19.91 kB / 0.5258 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.4132, allocations: 191.1 kB / 0.526 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4132, allocations: 0 / 0.526 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.4132, allocations: 6.25 kB / 0.526 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4132, allocations: 4.844 kB / 0.526 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.4136, allocations: 157.8 kB / 0.5262 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.4145, allocations: 0.6337 MB / 0.5268 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.4151, allocations: 214.1 kB / 0.527 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.4152, allocations: 78.12 kB / 0.5271 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.4153, allocations: 1.781 kB / 0.5271 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4153, allocations: 37.05 kB / 0.5271 GB, free: 6.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.4153, allocations: 0 / 0.5271 GB, free: 6.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005987/0.4159, allocations: 270.3 kB / 0.5274 GB, free: 6.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4159, allocations: 57.62 kB / 0.5274 GB, free: 6.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/0.4164, allocations: 287.1 kB / 0.5277 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4164, allocations: 30.92 kB / 0.5277 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.4165, allocations: 143 kB / 0.5279 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.4166, allocations: 83.09 kB / 0.5279 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.4167, allocations: 54.25 kB / 0.528 GB, free: 6.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.4168, allocations: 333.3 kB / 0.5283 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4169, allocations: 78.45 kB / 0.5284 GB, free: 5.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.4171, allocations: 123.7 kB / 0.5285 GB, free: 5.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4185, allocations: 461.9 kB / 0.5289 GB, free: 5.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4185, allocations: 0 / 0.5289 GB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004764/0.419, allocations: 274.1 kB / 0.5292 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.419, allocations: 9.344 kB / 0.5292 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.419, allocations: 6.219 kB / 0.5292 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4191, allocations: 3.047 kB / 0.5292 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.4194, allocations: 69.05 kB / 0.5293 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4194, allocations: 7 kB / 0.5293 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.4196, allocations: 51.11 kB / 0.5293 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.4197, allocations: 8.375 kB / 0.5293 GB, free: 5.434 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.0001944/0.4199, allocations: 152.9 kB / 0.5295 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.4199, allocations: 25.08 kB / 0.5295 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.4204, allocations: 231.1 kB / 0.5297 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4204, allocations: 6.156 kB / 0.5297 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4204, allocations: 1.062 kB / 0.5297 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4204, allocations: 1.219 kB / 0.5297 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.4207, allocations: 209.3 kB / 0.5299 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4207, allocations: 0 / 0.5299 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.421, allocations: 49 kB / 0.53 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.421, allocations: 1.094 kB / 0.53 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.421, allocations: 7.141 kB / 0.53 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.421, allocations: 5.031 kB / 0.53 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.421, allocations: 0.7031 kB / 0.53 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.4216, allocations: 404.8 kB / 0.5304 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.4216, allocations: 21.34 kB / 0.5304 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4217, allocations: 14.91 kB / 0.5304 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.422, allocations: 26.66 kB / 0.5304 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.422, allocations: 17.23 kB / 0.5305 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.422, allocations: 8.672 kB / 0.5305 GB, free: 4.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004482/0.4225, allocations: 217.2 kB / 0.5307 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4225, allocations: 1.156 kB / 0.5307 GB, free: 4.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.4228, allocations: 38.66 kB / 0.5307 GB, free: 4.609 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.0001192/0.4229, allocations: 104.8 kB / 0.5308 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.4234, allocations: 193.2 kB / 0.531 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4234, allocations: 1.156 kB / 0.531 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.4236, allocations: 91.73 kB / 0.5311 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.424, allocations: 34.78 kB / 0.5311 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4253, allocations: 0.5238 MB / 0.5316 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.4255, allocations: 147.3 kB / 0.5318 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.4257, allocations: 36.83 kB / 0.5318 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.4258, allocations: 25.81 kB / 0.5318 GB, free: 3.988 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4258, allocations: 0 / 0.5318 GB, free: 3.988 MB / 382.1 MB Notification: Performance of Templates: time 0.007737/0.4335, allocations: 2.346 MB / 0.5341 GB, free: 3.734 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.200560539960861] Failed to read output from testmodel.py, exit status != 0: 0.4426282159984112 0.458327568 0.044081591 Calling exit ...