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.0008625/0.0008625, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.001013/0.001013, allocations: 173 kB / 23.82 MB, free: 0.7578 MB / 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 1.025/1.025, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.07023/0.07023, allocations: 18.13 MB / 278.9 MB, free: 11.17 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 2.815e-06/2.815e-06, allocations: 0 / 358.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.905e-05, allocations: 6.312 kB / 358.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.001882/0.001921, allocations: 1.009 MB / 359.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.00337, allocations: 1.307 MB / 360.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.003465, allocations: 0 / 360.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.003828, allocations: 47.7 kB / 360.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.004018, allocations: 71.55 kB / 360.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.004292, allocations: 167.6 kB / 360.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.004513, allocations: 191.5 kB / 360.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004616, allocations: 25.73 kB / 360.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.004719, allocations: 87.77 kB / 361 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.004896, allocations: 135.7 kB / 361.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.004935, allocations: 16 kB / 361.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.004961, allocations: 16 kB / 361.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.005056, allocations: 87.72 kB / 361.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.005118, allocations: 59.77 kB / 361.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.00531, allocations: 155.4 kB / 361.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005312, allocations: 0 / 361.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005313, allocations: 7.938 kB / 361.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.005319, allocations: 4 kB / 361.5 MB, free: 3.59 MB / 282.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.0007903/0.006109, allocations: 0.6048 MB / 362.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.006148, allocations: 12.92 kB / 362.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.006217, allocations: 40.69 kB / 362.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.00657, allocations: 252.3 kB / 362.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.006595, allocations: 12.38 kB / 362.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.006624, allocations: 12.38 kB / 362.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.006805, allocations: 94.12 kB / 362.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.006817, allocations: 4.141 kB / 362.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.006831, allocations: 4.375 kB / 362.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.00684, allocations: 7.938 kB / 362.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.00696, allocations: 66.16 kB / 362.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.007537, allocations: 475.5 kB / 363 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.007712, allocations: 118.9 kB / 363.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.007782, allocations: 51.64 kB / 363.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.0078, allocations: 4 kB / 363.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.007822, allocations: 37.39 kB / 363.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.203e-06/0.007823, allocations: 0 / 363.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007025/0.008525, allocations: 316.4 kB / 363.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.008551, allocations: 55.41 kB / 363.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.00873, allocations: 288.3 kB / 363.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.008748, allocations: 29.7 kB / 363.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.00882, allocations: 178.8 kB / 364.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.008879, allocations: 75.38 kB / 364.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.008941, allocations: 47.36 kB / 364.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.009064, allocations: 0.5079 MB / 364.7 MB, free: 144 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.009117, allocations: 31.97 kB / 364.8 MB, free: 112 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.009168, allocations: 32.58 kB / 364.8 MB, free: 80 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.009393, allocations: 124 kB / 364.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009395, allocations: 0 / 364.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000337/0.009732, allocations: 209 kB / 365.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009747, allocations: 11.69 kB / 365.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.009751, allocations: 0 / 365.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.009957, allocations: 59.62 kB / 365.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01007, allocations: 31.98 kB / 365.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.01111, allocations: 1.846 MB / 367.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01122, allocations: 39.84 kB / 367.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01123, allocations: 8 kB / 367.1 MB, free: 13.62 MB / 298.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.000119/0.01135, allocations: 193.8 kB / 367.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.01139, allocations: 27.86 kB / 367.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.01142, allocations: 42.11 kB / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01142, allocations: 0 / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.01143, allocations: 0 / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01143, allocations: 4 kB / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.01162, allocations: 208.4 kB / 367.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01162, allocations: 0 / 367.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.01173, allocations: 31.92 kB / 367.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.01188, allocations: 55.62 kB / 367.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.0119, allocations: 8 kB / 367.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009362/0.01284, allocations: 1.854 MB / 369.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01284, allocations: 3.938 kB / 369.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.01325, allocations: 389.8 kB / 369.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.01328, allocations: 35.72 kB / 369.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.0133, allocations: 4 kB / 369.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.0134, allocations: 28 kB / 370 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.01345, allocations: 15.97 kB / 370 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01345, allocations: 4 kB / 370 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.01357, allocations: 201.1 kB / 370.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01357, allocations: 0 / 370.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01377, allocations: 55.95 kB / 370.2 MB, free: 10.29 MB / 298.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.702e-05/0.01386, allocations: 103.2 kB / 370.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.01426, allocations: 305.4 kB / 370.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01426, allocations: 4 kB / 370.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.01444, allocations: 249.4 kB / 370.9 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.0147, allocations: 42.52 kB / 370.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.01532, allocations: 474.4 kB / 371.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.634e-05/0.01538, allocations: 96.52 kB / 371.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.763e-05/0.01546, allocations: 41.59 kB / 371.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.01552, allocations: 20.5 kB / 371.5 MB, free: 8.867 MB / 298.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01552, allocations: 4 kB / 371.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of Templates: time 0.005183/0.0207, allocations: 3.232 MB / 374.8 MB, free: 5.66 MB / 298.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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0982946609146893]