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.0009577/0.0009577, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.001018/0.001018, allocations: 173 kB / 24.08 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 1.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.06993/0.06993, allocations: 18.14 MB / 279.2 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 1.683e-06/1.683e-06, allocations: 0 / 358.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.619e-05, allocations: 2.312 kB / 358.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.001721/0.001748, allocations: 1.002 MB / 359.6 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003187, allocations: 1.299 MB / 360.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.003269, allocations: 4 kB / 360.9 MB, free: 5.277 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.003554, allocations: 55.62 kB / 361 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.003699, allocations: 71.61 kB / 361 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.003951, allocations: 163.6 kB / 361.2 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.004134, allocations: 191.5 kB / 361.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.004237, allocations: 25.73 kB / 361.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.004333, allocations: 83.78 kB / 361.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.004507, allocations: 135.6 kB / 361.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.00454, allocations: 16 kB / 361.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.004564, allocations: 20 kB / 361.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.004644, allocations: 83.78 kB / 361.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.004699, allocations: 63.75 kB / 361.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004849, allocations: 159.4 kB / 361.9 MB, free: 4.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004851, allocations: 0 / 361.9 MB, free: 4.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004851, allocations: 0 / 361.9 MB, free: 4.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004854, allocations: 0 / 361.9 MB, free: 4.23 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.0006427/0.005497, allocations: 0.5736 MB / 362.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.005532, allocations: 8.922 kB / 362.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.005582, allocations: 36.73 kB / 362.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.005836, allocations: 228.4 kB / 362.8 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.005854, allocations: 12.23 kB / 362.8 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.005878, allocations: 16.33 kB / 362.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.006009, allocations: 90.11 kB / 362.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006018, allocations: 192 / 362.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.00603, allocations: 4.375 kB / 362.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.006038, allocations: 7.938 kB / 362.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.006124, allocations: 51.92 kB / 363 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.006588, allocations: 420.2 kB / 363.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.006719, allocations: 102.9 kB / 363.5 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.006768, allocations: 38.25 kB / 363.5 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.006788, allocations: 7.938 kB / 363.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.00681, allocations: 37.39 kB / 363.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.153e-06/0.006811, allocations: 4 kB / 363.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.000597/0.007408, allocations: 261.2 kB / 363.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.007442, allocations: 55.41 kB / 363.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.00762, allocations: 288.2 kB / 364.2 MB, free: 1.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.007642, allocations: 29.7 kB / 364.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.007713, allocations: 174.8 kB / 364.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.007767, allocations: 79.36 kB / 364.4 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.007819, allocations: 47.3 kB / 364.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.007945, allocations: 0.5156 MB / 365 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.007983, allocations: 19.98 kB / 365 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.00802, allocations: 27.91 kB / 365 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.008161, allocations: 106.2 kB / 365.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008162, allocations: 0 / 365.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002702/0.008433, allocations: 185.2 kB / 365.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.008445, allocations: 10.02 kB / 365.3 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008451, allocations: 4 kB / 365.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.00863, allocations: 47.58 kB / 365.4 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.008739, allocations: 35.98 kB / 365.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.009773, allocations: 1.819 MB / 367.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/0.009866, allocations: 23.84 kB / 367.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.009878, allocations: 4 kB / 367.3 MB, free: 14.59 MB / 346.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.0001398/0.01002, allocations: 185.8 kB / 367.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.01006, allocations: 27.8 kB / 367.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.0101, allocations: 42.11 kB / 367.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.0101, allocations: 0 / 367.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.0101, allocations: 0 / 367.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0101, allocations: 4 kB / 367.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01028, allocations: 173 kB / 367.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01028, allocations: 4 kB / 367.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01039, allocations: 27.92 kB / 367.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.01052, allocations: 51.58 kB / 367.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01053, allocations: 4 kB / 367.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000885/0.01142, allocations: 1.815 MB / 369.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01142, allocations: 3.984 kB / 369.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.01179, allocations: 363.2 kB / 369.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.01182, allocations: 23.8 kB / 370 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.01184, allocations: 16.02 kB / 370 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.01193, allocations: 8.062 kB / 370 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.01197, allocations: 23.91 kB / 370 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.01198, allocations: 0 / 370 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.01207, allocations: 193.1 kB / 370.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01207, allocations: 3.828 kB / 370.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01228, allocations: 52 kB / 370.3 MB, free: 11.41 MB / 346.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.498e-05/0.01237, allocations: 107.2 kB / 370.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.01267, allocations: 281.2 kB / 370.6 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01267, allocations: 0 / 370.6 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.01282, allocations: 239.7 kB / 370.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01311, allocations: 32.47 kB / 370.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/0.01389, allocations: 470.3 kB / 371.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.01396, allocations: 96.53 kB / 371.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.01403, allocations: 21.62 kB / 371.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.01414, allocations: 94.19 kB / 371.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01414, allocations: 0 / 371.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of Templates: time 0.005347/0.01949, allocations: 3.312 MB / 374.9 MB, free: 6.707 MB / 346.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: 2.8889744598418474]