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.001452/0.001452, allocations: 91.56 kB / 20.45 MB, free: 4.113 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.00147/0.00147, allocations: 165 kB / 23.82 MB, free: 0.75 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.094/1.094, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.06484/0.06484, allocations: 18.14 MB / 278.9 MB, free: 11.32 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.584e-06/2.584e-06, allocations: 0 / 358.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.72e-05, allocations: 2.312 kB / 358.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.00288/0.002918, allocations: 1.011 MB / 359.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.005163, allocations: 1.303 MB / 360.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.005288, allocations: 0 / 360.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.005678, allocations: 55.69 kB / 360.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.005919, allocations: 67.61 kB / 360.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.006342, allocations: 167.6 kB / 360.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.006672, allocations: 191.5 kB / 360.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.006805, allocations: 21.75 kB / 360.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.00699, allocations: 91.75 kB / 361 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.007252, allocations: 139.7 kB / 361.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.007309, allocations: 16 kB / 361.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.333e-05/0.007342, allocations: 16 kB / 361.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.007474, allocations: 87.72 kB / 361.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.4e-05/0.007568, allocations: 59.77 kB / 361.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.007921, allocations: 151.4 kB / 361.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007925, allocations: 0 / 361.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007926, allocations: 3.938 kB / 361.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.007934, allocations: 4 kB / 361.5 MB, free: 3.605 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.001089/0.009024, allocations: 0.6087 MB / 362.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.009068, allocations: 12.92 kB / 362.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.009161, allocations: 40.75 kB / 362.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.009674, allocations: 252.2 kB / 362.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.0097, allocations: 8.375 kB / 362.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.009746, allocations: 12.38 kB / 362.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.01, allocations: 96.2 kB / 362.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.01002, allocations: 8.141 kB / 362.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.01004, allocations: 8.312 kB / 362.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.01005, allocations: 7.938 kB / 362.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.01025, allocations: 59.94 kB / 362.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.01114, allocations: 475.5 kB / 363 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.0114, allocations: 122.9 kB / 363.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01152, allocations: 43.67 kB / 363.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.01154, allocations: 4 kB / 363.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.01157, allocations: 37.39 kB / 363.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.01158, allocations: 0 / 363.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.00111/0.01269, allocations: 316.2 kB / 363.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.01272, allocations: 55.41 kB / 363.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.01302, allocations: 292.3 kB / 363.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.01304, allocations: 25.7 kB / 363.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01315, allocations: 182.8 kB / 364.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.01323, allocations: 71.39 kB / 364.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.01332, allocations: 47.36 kB / 364.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.0135, allocations: 0.5117 MB / 364.7 MB, free: 156 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.01359, allocations: 23.98 kB / 364.7 MB, free: 132 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.01368, allocations: 28.64 kB / 364.8 MB, free: 104 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.01408, allocations: 127.8 kB / 364.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01409, allocations: 8 kB / 364.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005025/0.01459, allocations: 205 kB / 365.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.01461, allocations: 15.81 kB / 365.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01462, allocations: 0 / 365.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.01494, allocations: 59.62 kB / 365.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01512, allocations: 35.97 kB / 365.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.01664, allocations: 1.849 MB / 367.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.01682, allocations: 39.89 kB / 367.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.01684, 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.0001696/0.01701, allocations: 193.8 kB / 367.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.01707, allocations: 23.86 kB / 367.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/0.01712, allocations: 46.11 kB / 367.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01713, allocations: 0 / 367.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01713, allocations: 0 / 367.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01713, allocations: 4 kB / 367.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.01741, allocations: 204.4 kB / 367.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01741, allocations: 0 / 367.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.0176, allocations: 31.97 kB / 367.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.01785, allocations: 59.56 kB / 367.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.01788, allocations: 8 kB / 367.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.01918, allocations: 1.85 MB / 369.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01918, allocations: 3.969 kB / 369.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.0198, allocations: 390.1 kB / 369.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.01985, allocations: 39.66 kB / 369.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.01988, allocations: 8 kB / 369.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.02006, allocations: 19.97 kB / 370 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.02012, allocations: 15.97 kB / 370 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.02014, allocations: 4 kB / 370 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.0203, allocations: 205.1 kB / 370.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0203, allocations: 0 / 370.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.02061, 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 0.0001303/0.02074, allocations: 95.25 kB / 370.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.02125, allocations: 305.4 kB / 370.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.02125, allocations: 8 kB / 370.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.02153, allocations: 249.4 kB / 370.9 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.0219, allocations: 36.55 kB / 370.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008693/0.02277, allocations: 474.4 kB / 371.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.02286, allocations: 92.53 kB / 371.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.02298, allocations: 45.59 kB / 371.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.02305, allocations: 24.48 kB / 371.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02305, allocations: 0 / 371.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of Templates: time 0.006143/0.0292, allocations: 3.16 MB / 374.7 MB, free: 5.746 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.360236695036292]