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.001388/0.001388, allocations: 75.64 kB / 19.96 MB, free: 1.746 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.001539/0.001539, allocations: 171.6 kB / 23.24 MB, free: 4.855 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.471/1.471, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.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.1064/0.1064, allocations: 18.13 MB / 278.1 MB, free: 15.04 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.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 1.983e-06/1.983e-06, allocations: 0 / 416.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.512e-05, allocations: 2.281 kB / 416.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.003647/0.003682, allocations: 0.9902 MB / 417.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.006644, allocations: 1.276 MB / 418.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.006776, allocations: 0 / 418.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.007252, allocations: 43.7 kB / 418.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.00756, allocations: 75.61 kB / 418.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.008282, allocations: 155.6 kB / 418.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.008775, allocations: 199.5 kB / 419.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.008944, allocations: 13.81 kB / 419.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.009177, allocations: 91.75 kB / 419.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.009564, allocations: 131.7 kB / 419.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.009669, allocations: 20 kB / 419.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-05/0.009731, allocations: 20 kB / 419.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.009957, allocations: 91.7 kB / 419.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.0101, allocations: 51.78 kB / 419.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.01057, allocations: 211.3 kB / 419.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.01058, allocations: 3.938 kB / 419.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.01058, allocations: 3.938 kB / 419.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.01059, allocations: 4 kB / 419.7 MB, free: 14.39 MB / 350.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.002803/0.0134, allocations: 0.579 MB / 420.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.01346, allocations: 8.922 kB / 420.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.01356, allocations: 24.8 kB / 420.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.01502, allocations: 304.6 kB / 420.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.01504, allocations: 8.375 kB / 420.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.01511, allocations: 16.33 kB / 420.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.01563, allocations: 154 kB / 420.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.01565, allocations: 4.188 kB / 420.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.01568, allocations: 384 / 420.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01569, allocations: 3.938 kB / 420.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.01628, allocations: 163.9 kB / 421 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.01802, allocations: 0.4962 MB / 421.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.01863, allocations: 194.4 kB / 421.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.01896, allocations: 104.8 kB / 421.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.019, allocations: 3.938 kB / 421.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.01903, allocations: 38.56 kB / 421.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/0.01904, allocations: 0 / 421.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002311/0.02135, allocations: 489.4 kB / 422.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.02141, allocations: 55.41 kB / 422.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.02272, allocations: 333.6 kB / 422.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.02276, allocations: 33.7 kB / 422.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.02292, allocations: 136 kB / 422.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.02306, allocations: 75.39 kB / 422.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.0232, allocations: 33.7 kB / 422.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002649/0.02346, allocations: 342.8 kB / 423.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.02376, allocations: 79.95 kB / 423.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.02406, allocations: 91.94 kB / 423.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/0.02761, allocations: 0.6134 MB / 424 MB, free: 9.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02761, allocations: 0 / 424 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001239/0.02885, allocations: 366.2 kB / 424.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.02887, allocations: 15.88 kB / 424.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.02888, allocations: 4 kB / 424.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.02935, allocations: 64.78 kB / 424.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.02969, allocations: 35.92 kB / 424.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.03258, allocations: 1.522 MB / 426 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.03323, allocations: 51.92 kB / 426.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.03327, allocations: 8 kB / 426.1 MB, free: 7.715 MB / 350.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.0003173/0.03358, allocations: 159.1 kB / 426.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.03368, allocations: 19.86 kB / 426.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.0338, allocations: 38.2 kB / 426.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.03381, allocations: 7.984 kB / 426.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.03382, allocations: 0 / 426.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.03382, allocations: 0 / 426.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.03439, allocations: 229 kB / 426.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.03439, allocations: 0 / 426.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.03478, allocations: 39.97 kB / 426.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.03524, allocations: 60.8 kB / 426.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.03529, allocations: 11.98 kB / 426.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.03795, allocations: 1.507 MB / 428.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.03796, allocations: 3.938 kB / 428.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.03964, allocations: 0.5183 MB / 428.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.03973, allocations: 31.73 kB / 428.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.03979, allocations: 16.05 kB / 428.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.04047, allocations: 48 kB / 428.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.04057, allocations: 11.97 kB / 428.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.0406, allocations: 4 kB / 428.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.04187, allocations: 269.1 kB / 429.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.04187, allocations: 0 / 429.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006007/0.04247, allocations: 48 kB / 429.1 MB, free: 4.551 MB / 350.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.0002108/0.04268, allocations: 115.1 kB / 429.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.04384, allocations: 350.4 kB / 429.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.04384, allocations: 3.938 kB / 429.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.04449, allocations: 238.5 kB / 429.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.04513, allocations: 47.06 kB / 429.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.04674, allocations: 0.518 MB / 430.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.04701, allocations: 148.8 kB / 430.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000259/0.04727, allocations: 61.58 kB / 430.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.04739, allocations: 16.5 kB / 430.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.04739, allocations: 0 / 430.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of Templates: time 0.01219/0.05958, allocations: 3.125 MB / 433.7 MB, free: 15.89 MB / 366.1 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 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.568127539008856] Failed to read output from testmodel.py, exit status != 0: 0.0736212320625782 0.09857341900000001 0.082826864 Calling exit ...