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.0008574/0.0008574, allocations: 75.7 kB / 20.8 MB, free: 3.707 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.0008173/0.0008173, allocations: 165.3 kB / 24.09 MB, free: 424 kB / 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.9097/0.9097, allocations: 177.1 MB / 204.4 MB, free: 5.727 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.06295/0.06295, allocations: 18.13 MB / 279 MB, free: 11.5 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.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: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 417.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.354e-05, allocations: 2.281 kB / 417.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002254/0.002297, allocations: 0.9814 MB / 418.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.003702, allocations: 1.274 MB / 419.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.003787, allocations: 2.719 kB / 419.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.004139, allocations: 53.3 kB / 419.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.004401, allocations: 65.59 kB / 419.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.00485, allocations: 168.1 kB / 419.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006551/0.005505, allocations: 194.1 kB / 420.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.005704, allocations: 16.19 kB / 420.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.005974, allocations: 87.05 kB / 420.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.006331, allocations: 135.5 kB / 420.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.006405, allocations: 16 kB / 420.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.006452, allocations: 17.41 kB / 420.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.006583, allocations: 85.75 kB / 420.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.006654, allocations: 56.58 kB / 420.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.006921, allocations: 222.4 kB / 420.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006924, allocations: 0.7031 kB / 420.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.006925, allocations: 0 / 420.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.006931, allocations: 0 / 420.7 MB, free: 10.36 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001195/0.008126, allocations: 0.575 MB / 421.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.008169, allocations: 11.2 kB / 421.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.008236, allocations: 23.8 kB / 421.3 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.008776, allocations: 302.4 kB / 421.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.008798, allocations: 4.594 kB / 421.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.008842, allocations: 15.58 kB / 421.6 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.009129, allocations: 158.2 kB / 421.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.009142, allocations: 5.656 kB / 421.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.009159, allocations: 5.812 kB / 421.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.009168, allocations: 5.828 kB / 421.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.009411, allocations: 155.9 kB / 421.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/0.0102, allocations: 0.496 MB / 422.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.01053, allocations: 205 kB / 422.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.01067, allocations: 101.8 kB / 422.7 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.0107, allocations: 6.75 kB / 422.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.01071, allocations: 36.69 kB / 422.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.01071, allocations: 0 / 422.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001014/0.01173, allocations: 478.4 kB / 423.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.01175, allocations: 57.72 kB / 423.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.01224, allocations: 339.9 kB / 423.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.01226, allocations: 25.7 kB / 423.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.01233, allocations: 139.7 kB / 423.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.01239, allocations: 74.28 kB / 423.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.01246, allocations: 43.14 kB / 423.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.01252, allocations: 341.7 kB / 424.2 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.01267, allocations: 88.23 kB / 424.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.01283, allocations: 89.2 kB / 424.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.01401, allocations: 0.61 MB / 425 MB, free: 8.055 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01401, allocations: 0 / 425 MB, free: 8.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004652/0.01447, allocations: 368.8 kB / 425.4 MB, free: 7.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01449, allocations: 8.469 kB / 425.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.0145, allocations: 1.125 kB / 425.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.01468, allocations: 71.11 kB / 425.5 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.0148, allocations: 38.91 kB / 425.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009783/0.01578, allocations: 1.503 MB / 427 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.01596, allocations: 62.95 kB / 427.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01597, allocations: 5.406 kB / 427.1 MB, free: 6.523 MB / 330.7 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.000115/0.01609, allocations: 169.4 kB / 427.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.01612, allocations: 25.86 kB / 427.3 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.01616, allocations: 36.75 kB / 427.3 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01617, allocations: 2.031 kB / 427.3 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01617, allocations: 4.797 kB / 427.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01618, allocations: 5.656 kB / 427.3 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.01638, allocations: 227.4 kB / 427.5 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01638, allocations: 0 / 427.5 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.01649, allocations: 28.64 kB / 427.6 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.01662, allocations: 71.67 kB / 427.6 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.01664, allocations: 7.781 kB / 427.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007513/0.01739, allocations: 1.506 MB / 429.1 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.01739, allocations: 5.125 kB / 429.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.01796, allocations: 0.5208 MB / 429.7 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.01799, allocations: 32.8 kB / 429.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.01801, allocations: 9.078 kB / 429.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.01819, allocations: 44.73 kB / 429.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.01824, allocations: 15.88 kB / 429.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01825, allocations: 4.734 kB / 429.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003373/0.01858, allocations: 268.7 kB / 430 MB, free: 4.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01858, allocations: 0 / 430 MB, free: 4.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.01882, allocations: 53.25 kB / 430.1 MB, free: 4.375 MB / 330.7 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 8.185e-05/0.01891, allocations: 109.3 kB / 430.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.01936, allocations: 356.2 kB / 430.5 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01936, allocations: 0 / 430.5 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.01956, allocations: 230.9 kB / 430.8 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.01982, allocations: 39.86 kB / 430.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.02045, allocations: 0.5283 MB / 431.3 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.02056, allocations: 150.6 kB / 431.5 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.02067, allocations: 61.53 kB / 431.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.02072, allocations: 21.02 kB / 431.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.02072, allocations: 0 / 431.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of Templates: time 0.005092/0.02581, allocations: 3.119 MB / 434.7 MB, free: 2.676 MB / 330.7 MB " [Timeout remaining time 660] 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.9962563142180443] Failed to read output from testmodel.py, exit status != 0: 0.031485351733863354 0.039328326000000004 0.030655782000000003 Calling exit ...