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.001455/0.001455, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001602/0.001602, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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.466/1.466, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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.1089/0.1089, allocations: 18.15 MB / 278.5 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 1.433e-06/1.433e-06, allocations: 0 / 357.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.615e-05, allocations: 2.312 kB / 357.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002679/0.002705, allocations: 0.9759 MB / 358.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.004802, allocations: 1.276 MB / 359.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.004886, allocations: 7.938 kB / 359.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.005231, allocations: 51.69 kB / 359.6 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.005467, allocations: 63.67 kB / 359.7 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.006006, allocations: 155.7 kB / 359.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.006297, allocations: 195.5 kB / 360 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.006397, allocations: 17.8 kB / 360.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.006546, allocations: 99.64 kB / 360.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.00681, allocations: 131.7 kB / 360.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.006858, allocations: 16 kB / 360.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.695e-05/0.006895, allocations: 20 kB / 360.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.00703, allocations: 87.72 kB / 360.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.007126, allocations: 55.81 kB / 360.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.007433, allocations: 215.3 kB / 360.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.007436, allocations: 4 kB / 360.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007437, allocations: 0 / 360.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.007442, allocations: 0 / 360.7 MB, free: 4.035 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.001769/0.009211, allocations: 0.575 MB / 361.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.009247, allocations: 8.922 kB / 361.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.009349, allocations: 40.73 kB / 361.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009222/0.01027, allocations: 300.7 kB / 361.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.0103, allocations: 12.38 kB / 361.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.01034, allocations: 8.375 kB / 361.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.01068, allocations: 154.1 kB / 361.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.0107, allocations: 4.172 kB / 361.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.01072, allocations: 12.38 kB / 361.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.01073, allocations: 7.875 kB / 361.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.01106, allocations: 155.9 kB / 361.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01219, allocations: 0.4962 MB / 362.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.01259, allocations: 202.4 kB / 362.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.0128, allocations: 104.8 kB / 362.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01283, allocations: 0 / 362.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.01287, allocations: 38.5 kB / 362.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 9.42e-07/0.01287, allocations: 0 / 362.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.001553/0.01442, allocations: 486.3 kB / 363.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/0.01469, allocations: 55.41 kB / 363.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008297/0.01552, allocations: 337.6 kB / 363.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.01557, allocations: 33.69 kB / 363.7 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.01569, allocations: 136 kB / 363.8 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.01578, allocations: 71.39 kB / 363.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.01587, allocations: 37.7 kB / 363.9 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.01608, allocations: 342.8 kB / 364.2 MB, free: 308 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.01626, allocations: 87.94 kB / 364.3 MB, free: 220 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.01644, allocations: 91.52 kB / 364.4 MB, free: 132 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.01878, allocations: 0.6214 MB / 365 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01878, allocations: 0 / 365 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000834/0.01961, allocations: 366.1 kB / 365.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.01964, allocations: 11.92 kB / 365.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.01964, allocations: 0 / 365.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.02001, allocations: 84.77 kB / 365.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.02022, allocations: 35.92 kB / 365.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.02223, allocations: 1.515 MB / 367 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.0226, allocations: 47.88 kB / 367.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.02263, allocations: 8 kB / 367.1 MB, free: 13.33 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.0002148/0.02284, allocations: 167.1 kB / 367.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.02291, allocations: 31.86 kB / 367.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.282e-05/0.02301, allocations: 42.05 kB / 367.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.02301, allocations: 0 / 367.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.02301, allocations: 7.938 kB / 367.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.02302, allocations: 0 / 367.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.02338, allocations: 233.1 kB / 367.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.02338, allocations: 0 / 367.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.02361, allocations: 27.97 kB / 367.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.02392, allocations: 80.78 kB / 367.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.02394, allocations: 8 kB / 367.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.02572, allocations: 1.511 MB / 369.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.02572, allocations: 3.938 kB / 369.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.02674, allocations: 0.5158 MB / 369.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.02681, allocations: 43.78 kB / 369.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.02684, allocations: 4 kB / 369.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.02723, allocations: 47.98 kB / 369.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.02731, allocations: 23.92 kB / 369.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.02733, allocations: 4 kB / 369.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007273/0.02805, allocations: 269.1 kB / 370.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02805, allocations: 0 / 370.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.02839, allocations: 44 kB / 370.1 MB, free: 10.12 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.0001583/0.02855, allocations: 107.2 kB / 370.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.02953, allocations: 362.2 kB / 370.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.02953, allocations: 4 kB / 370.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.02995, allocations: 240.7 kB / 370.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.03036, allocations: 36.48 kB / 370.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.03142, allocations: 0.5241 MB / 371.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.03161, allocations: 152.8 kB / 371.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.03177, allocations: 61.7 kB / 371.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.03185, allocations: 20.5 kB / 371.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03185, allocations: 0 / 371.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of Templates: time 0.007747/0.03959, allocations: 3.149 MB / 374.8 MB, free: 5.43 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=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.619906759005971]