Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.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.001514/0.001514, allocations: 104.2 kB / 16.45 MB, free: 6.5 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.001864/0.001864, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.588/1.588, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1059/0.1059, allocations: 24.11 MB / 332.9 MB, free: 12.61 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") [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.003469/0.003469, allocations: 67.91 kB / 469 MB, free: 7.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4778, allocations: 59.57 MB / 0.5162 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002841/0.4807, allocations: 1.024 MB / 0.5172 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.4826, allocations: 1.305 MB / 0.5185 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.4827, allocations: 1.438 kB / 0.5185 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.4831, allocations: 55.41 kB / 0.5185 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.4833, allocations: 67 kB / 0.5186 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.4835, allocations: 90.52 kB / 0.5187 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.4839, allocations: 291.2 kB / 0.519 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.484, allocations: 16.92 kB / 0.519 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.4842, allocations: 127.2 kB / 0.5191 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.4846, allocations: 163.2 kB / 0.5193 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.4846, allocations: 24.59 kB / 0.5193 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.688e-05/0.4847, allocations: 17.94 kB / 0.5193 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.4849, allocations: 84.47 kB / 0.5194 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.485, allocations: 94.2 kB / 0.5195 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.4854, allocations: 210.7 kB / 0.5197 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4854, allocations: 0 / 0.5197 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4854, allocations: 0.8438 kB / 0.5197 GB, free: 8.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4854, allocations: 0 / 0.5197 GB, free: 8.277 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002005/0.4875, allocations: 0.652 MB / 0.5203 GB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4875, allocations: 10.84 kB / 0.5203 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.4876, allocations: 23.17 kB / 0.5203 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008247/0.4884, allocations: 364 kB / 0.5207 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4884, allocations: 4.844 kB / 0.5207 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.4884, allocations: 15.67 kB / 0.5207 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.4888, allocations: 159.9 kB / 0.5209 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.4888, allocations: 1.094 kB / 0.5209 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.4888, allocations: 9.094 kB / 0.5209 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4888, allocations: 4.016 kB / 0.5209 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.4891, allocations: 158.9 kB / 0.521 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.4901, allocations: 0.5987 MB / 0.5216 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.4905, allocations: 196.6 kB / 0.5218 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.4907, allocations: 106.2 kB / 0.5219 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.4907, allocations: 9.172 kB / 0.5219 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.4907, allocations: 39.19 kB / 0.5219 GB, free: 6.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.4907, allocations: 0 / 0.5219 GB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.00165/0.4924, allocations: 0.546 MB / 0.5225 GB, free: 6.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4924, allocations: 57.81 kB / 0.5225 GB, free: 6.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009321/0.4934, allocations: 337.6 kB / 0.5229 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4934, allocations: 26.55 kB / 0.5229 GB, free: 6.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.4935, allocations: 135.4 kB / 0.523 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.4936, allocations: 74.09 kB / 0.5231 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.4936, allocations: 40.42 kB / 0.5231 GB, free: 6.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.4937, allocations: 337.2 kB / 0.5234 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.4939, allocations: 83.08 kB / 0.5235 GB, free: 5.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.4941, allocations: 98.84 kB / 0.5236 GB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.4962, allocations: 0.6085 MB / 0.5242 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4962, allocations: 0 / 0.5242 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008006/0.497, allocations: 375.8 kB / 0.5246 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.497, allocations: 5.266 kB / 0.5246 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4971, allocations: 1 kB / 0.5246 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.4974, allocations: 68.17 kB / 0.5246 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.4976, allocations: 37.41 kB / 0.5247 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.4992, allocations: 1.646 MB / 0.5263 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.4995, allocations: 60.86 kB / 0.5263 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4995, allocations: 8.219 kB / 0.5263 GB, free: 3.93 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: C.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.4997, allocations: 159.5 kB / 0.5265 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.4998, allocations: 22.23 kB / 0.5265 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.06e-05/0.4999, allocations: 35.67 kB / 0.5266 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4999, allocations: 6.25 kB / 0.5266 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4999, allocations: 0.9844 kB / 0.5266 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4999, allocations: 0.5625 kB / 0.5266 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.5003, allocations: 322 kB / 0.5269 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5003, allocations: 2.406 kB / 0.5269 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.5005, allocations: 26.27 kB / 0.5269 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.5007, allocations: 72.61 kB / 0.527 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.5008, allocations: 8.047 kB / 0.527 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.5021, allocations: 1.647 MB / 0.5286 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5021, allocations: 1.734 kB / 0.5286 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.5031, allocations: 0.526 MB / 0.5291 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.5031, allocations: 101.4 kB / 0.5292 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.5032, allocations: 8.828 kB / 0.5292 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.5035, allocations: 44.09 kB / 0.5292 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.5036, allocations: 24.42 kB / 0.5293 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.5036, allocations: 4.109 kB / 0.5293 GB, free: 1.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007224/0.5044, allocations: 268.2 kB / 0.5295 GB, free: 1.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5044, allocations: 0 / 0.5295 GB, free: 1.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.5047, allocations: 48.78 kB / 0.5296 GB, free: 1.441 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pol.x_scaled[1],Pol.x_scaled[2],Pcl.x_scaled[1],Pcl.x_scaled[2],C.x_scaled[1],C.x_scaled[2]) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.5048, allocations: 115.8 kB / 0.5297 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007985/0.5056, allocations: 363.3 kB / 0.53 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5056, allocations: 3.938 kB / 0.53 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.5061, allocations: 245 kB / 0.5303 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.5065, allocations: 30.53 kB / 0.5303 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5076, allocations: 0.5368 MB / 0.5308 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.508, allocations: 0.7638 MB / 0.5316 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.5082, allocations: 54.77 kB / 0.5316 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.5083, allocations: 17.59 kB / 0.5316 GB, free: 15.96 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5083, allocations: 3.938 kB / 0.5316 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.009639/0.5179, allocations: 3.299 MB / 0.5349 GB, free: 15.56 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.sim & ./AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3412582881283015] Failed to read output from testmodel.py, exit status != 0: 0.530148311983794 0.541845699 0.053358331 Calling exit ...