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.0007971/0.0007971, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009271/0.001724, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006622/0.0006622, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008027/0.001465, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9432/0.9432, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.06289/0.06289, allocations: 18.12 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01124/0.07413, allocations: 6.786 MB / 268.9 MB, free: 6.355 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.543e-06/1.543e-06, allocations: 0 / 270.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.688e-05, allocations: 5.547 kB / 270.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.00188/0.001907, allocations: 1.053 MB / 271.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003163, allocations: 1.311 MB / 272.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.003234, allocations: 7.938 kB / 272.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.003429, allocations: 59.56 kB / 272.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.003546, allocations: 63.73 kB / 272.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.003803, allocations: 155.6 kB / 272.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.00399, allocations: 183.5 kB / 273.1 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.004073, allocations: 26.44 kB / 273.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.004229, allocations: 151.4 kB / 273.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.004388, allocations: 131.7 kB / 273.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.004421, allocations: 16 kB / 273.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.004443, allocations: 20 kB / 273.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.004514, allocations: 67.83 kB / 273.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.004561, allocations: 39.81 kB / 273.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.004713, allocations: 151.4 kB / 273.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.004725, allocations: 0 / 273.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004725, allocations: 0 / 273.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.004736, allocations: 0 / 273.7 MB, free: 1.48 MB / 266.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.0006205/0.005356, allocations: 483.2 kB / 274.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.005386, allocations: 12.03 kB / 274.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.00543, allocations: 20.92 kB / 274.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.005688, allocations: 225.5 kB / 274.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.005703, allocations: 4.375 kB / 274.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.005727, allocations: 12.33 kB / 274.5 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005865, allocations: 99.59 kB / 274.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.005874, allocations: 3.984 kB / 274.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005884, allocations: 4 kB / 274.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.005889, allocations: 0 / 274.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.005973, allocations: 55.94 kB / 274.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.006387, allocations: 313.6 kB / 274.9 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.00652, allocations: 140 kB / 275.1 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.00657, allocations: 33.2 kB / 275.1 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.006589, allocations: 4 kB / 275.1 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1173/0.1239, allocations: 34.19 kB / 275.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 3.406e-06/0.1239, allocations: 0.5625 kB / 275.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000687/0.1246, allocations: 229.9 kB / 275.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.1246, allocations: 54.59 kB / 275.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1247, allocations: 215.1 kB / 275.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1247, allocations: 29.95 kB / 275.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.1248, allocations: 107.6 kB / 275.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.1248, allocations: 77.61 kB / 275.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.1249, allocations: 38.09 kB / 275.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.1249, allocations: 340.4 kB / 276.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1249, allocations: 20.8 kB / 276.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.125, allocations: 17.73 kB / 276.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1251, allocations: 109.7 kB / 276.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1251, allocations: 3.281 kB / 276.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002311/0.1253, allocations: 149.3 kB / 276.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1254, allocations: 9.188 kB / 276.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1254, allocations: 1.547 kB / 276.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.1256, allocations: 49.12 kB / 276.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1257, allocations: 40.05 kB / 276.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006503/0.1263, allocations: 1.267 MB / 277.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.1264, allocations: 26.25 kB / 277.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1264, allocations: 5.219 kB / 277.9 MB, free: 1.621 MB / 266.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 9.593e-05/0.1265, allocations: 143.7 kB / 278 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.1265, allocations: 19.95 kB / 278 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.1266, allocations: 36.34 kB / 278.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1266, allocations: 1.469 kB / 278.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1266, allocations: 1.312 kB / 278.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1266, allocations: 4.688 kB / 278.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1267, allocations: 142.6 kB / 278.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1267, allocations: 1.875 kB / 278.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1268, allocations: 27.59 kB / 278.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.1269, allocations: 33.39 kB / 278.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.127, allocations: 43.45 kB / 278.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.127, allocations: 9.109 kB / 278.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005378/0.1275, allocations: 1.269 MB / 279.6 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1275, allocations: 1.156 kB / 279.6 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.1278, allocations: 336 kB / 279.9 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1279, allocations: 8.828 kB / 279.9 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.1279, allocations: 11.45 kB / 280 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.128, allocations: 16.5 kB / 280 MB, free: 16.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.128, allocations: 6.938 kB / 280 MB, free: 16.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.51e-05/0.128, allocations: 74.23 kB / 280.1 MB, free: 16.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.128, allocations: 1.062 kB / 280.1 MB, free: 16.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000168/0.1282, allocations: 51.45 kB / 280.1 MB, free: 16.02 MB / 282.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 7.902e-05/0.1283, allocations: 88.23 kB / 280.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.1286, allocations: 215.5 kB / 280.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.1286, allocations: 4.344 kB / 280.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1287, allocations: 172.3 kB / 280.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.1289, allocations: 53.58 kB / 280.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.1293, allocations: 452.1 kB / 281.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.1294, allocations: 96.05 kB / 281.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.1295, allocations: 21.62 kB / 281.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.1295, allocations: 72.66 kB / 281.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1295, allocations: 1.188 kB / 281.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.005452/0.135, allocations: 3.33 MB / 284.6 MB, free: 15.2 MB / 282.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.668139638379216]