Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09851/0.09851, allocations: 22.69 MB / 327.7 MB, free: 7.289 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 65.86 kB / 461 MB, free: 40.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1092, allocations: 58.04 MB / 0.5069 GB, free: 6.797 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002307/0.1115, allocations: 1.94 MB / 0.5088 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.1123, allocations: 0.6858 MB / 0.5094 GB, free: 4.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.1124, allocations: 4 kB / 0.5094 GB, free: 4.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1128, allocations: 79.42 kB / 0.5095 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.113, allocations: 95.52 kB / 0.5096 GB, free: 3.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1132, allocations: 147.8 kB / 0.5097 GB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.1135, allocations: 431.1 kB / 0.5102 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1136, allocations: 45.16 kB / 0.5102 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1138, allocations: 179.4 kB / 0.5104 GB, free: 3.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.114, allocations: 203.3 kB / 0.5106 GB, free: 2.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.114, allocations: 20 kB / 0.5106 GB, free: 2.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.693e-05/0.1141, allocations: 24 kB / 0.5106 GB, free: 2.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1142, allocations: 107.6 kB / 0.5107 GB, free: 2.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.314e-05/0.1142, allocations: 111.3 kB / 0.5108 GB, free: 2.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1145, allocations: 278.7 kB / 0.5111 GB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1145, allocations: 0 / 0.5111 GB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1145, allocations: 0 / 0.5111 GB, free: 2.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1145, allocations: 8 kB / 0.5111 GB, free: 2.449 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001537/0.116, allocations: 0.7436 MB / 0.5118 GB, free: 1.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.039e-05/0.116, allocations: 12.03 kB / 0.5118 GB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.1161, allocations: 36.7 kB / 0.5119 GB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.1169, allocations: 416.2 kB / 0.5123 GB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1169, allocations: 12.38 kB / 0.5123 GB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1169, allocations: 16.33 kB / 0.5123 GB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1171, allocations: 186.5 kB / 0.5125 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1171, allocations: 0 / 0.5125 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1172, allocations: 7.938 kB / 0.5125 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1172, allocations: 4 kB / 0.5125 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.1174, allocations: 179.9 kB / 0.5127 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.1182, allocations: 0.6408 MB / 0.5133 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.1187, allocations: 254.3 kB / 0.5135 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.1189, allocations: 96.81 kB / 0.5136 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.119, allocations: 8.359 kB / 0.5136 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.119, allocations: 34.5 kB / 0.5137 GB, free: 15.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.119, allocations: 0 / 0.5137 GB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007719/0.1198, allocations: 343.5 kB / 0.514 GB, free: 15.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1198, allocations: 59.41 kB / 0.514 GB, free: 15.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.1207, allocations: 416.4 kB / 0.5144 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1208, allocations: 33.7 kB / 0.5145 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1209, allocations: 152.5 kB / 0.5146 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.121, allocations: 87.22 kB / 0.5147 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.1211, allocations: 41.7 kB / 0.5147 GB, free: 14.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1213, allocations: 338.8 kB / 0.5151 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.1215, allocations: 92.17 kB / 0.5151 GB, free: 14.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1216, allocations: 84.36 kB / 0.5152 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.124, allocations: 0.6272 MB / 0.5158 GB, free: 13.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.124, allocations: 0 / 0.5158 GB, free: 13.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005612/0.1246, allocations: 314.5 kB / 0.5161 GB, free: 13.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1246, allocations: 8 kB / 0.5161 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1246, allocations: 7.969 kB / 0.5162 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1246, allocations: 7.938 kB / 0.5162 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.1249, allocations: 39.98 kB / 0.5162 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1249, allocations: 3.938 kB / 0.5162 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.1253, allocations: 67.77 kB / 0.5163 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1253, allocations: 11.98 kB / 0.5163 GB, free: 12.91 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.1255, allocations: 160.6 kB / 0.5164 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.1256, allocations: 31.8 kB / 0.5165 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/0.1262, allocations: 314.4 kB / 0.5168 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1262, allocations: 4 kB / 0.5168 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1262, allocations: 4 kB / 0.5168 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1262, allocations: 0 / 0.5168 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.1266, allocations: 353.2 kB / 0.5171 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1266, allocations: 0 / 0.5171 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.1269, allocations: 51.91 kB / 0.5172 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1269, allocations: 4 kB / 0.5172 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.127, allocations: 15.92 kB / 0.5172 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.127, allocations: 0 / 0.5172 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.127, allocations: 0 / 0.5172 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.1277, allocations: 495 kB / 0.5176 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1278, allocations: 112.8 kB / 0.5178 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.1279, allocations: 11.94 kB / 0.5178 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.1283, allocations: 55.92 kB / 0.5178 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.1284, allocations: 11.98 kB / 0.5178 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1284, allocations: 8 kB / 0.5178 GB, free: 11.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.1291, allocations: 330.9 kB / 0.5182 GB, free: 10.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1291, allocations: 0 / 0.5182 GB, free: 10.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1294, allocations: 47.94 kB / 0.5182 GB, free: 10.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.x_scaled[1]) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.1295, allocations: 107.2 kB / 0.5183 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.13, allocations: 229.4 kB / 0.5185 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.13, allocations: 0 / 0.5185 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.1302, allocations: 115.7 kB / 0.5186 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1307, allocations: 64.05 kB / 0.5187 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1319, allocations: 0.7069 MB / 0.5194 GB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1324, allocations: 0.7911 MB / 0.5202 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1325, allocations: 23.44 kB / 0.5202 GB, free: 8.758 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1325, allocations: 4 kB / 0.5202 GB, free: 8.754 MB / 382.1 MB Notification: Performance of Templates: time 0.006108/0.1386, allocations: 3.732 MB / 0.5238 GB, free: 5.02 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1) [Timeout 480]