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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08865/0.08864, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 61.48 kB / 382.2 MB, free: 40.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 54.96 MB / 437.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003116/0.1129, allocations: 1.943 MB / 439.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.114, allocations: 0.6664 MB / 439.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1141, allocations: 4 kB / 439.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1145, allocations: 67.55 kB / 439.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1147, allocations: 99.45 kB / 440 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.115, allocations: 155.8 kB / 440.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.1155, allocations: 423.2 kB / 440.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1156, allocations: 65.02 kB / 440.6 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.1158, allocations: 171.5 kB / 440.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.1161, allocations: 195.3 kB / 441 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.1162, allocations: 20 kB / 441 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.1162, allocations: 24 kB / 441 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1163, allocations: 95.72 kB / 441.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1165, allocations: 127.1 kB / 441.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1167, allocations: 263 kB / 441.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1167, allocations: 7.938 kB / 441.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1168, allocations: 0 / 441.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1168, allocations: 0 / 441.5 MB, free: 7.926 MB / 318.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.001757/0.1185, allocations: 0.7398 MB / 442.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1186, allocations: 8.031 kB / 442.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.1186, allocations: 32.56 kB / 442.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.1196, allocations: 427.8 kB / 442.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1196, allocations: 12.38 kB / 442.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.1197, allocations: 12.38 kB / 442.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.12, allocations: 181.6 kB / 442.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.12, allocations: 4 kB / 442.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1201, allocations: 4 kB / 442.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1201, allocations: 4 kB / 442.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.1204, allocations: 179.9 kB / 443.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1216, allocations: 0.6485 MB / 443.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.1221, allocations: 250.3 kB / 444 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.1223, allocations: 104.8 kB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1223, allocations: 4.375 kB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1224, allocations: 46.44 kB / 444.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.1224, allocations: 0 / 444.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006189/0.123, allocations: 331.3 kB / 444.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1231, allocations: 55.41 kB / 444.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/0.124, allocations: 424.4 kB / 444.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.124, allocations: 29.7 kB / 444.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.1241, allocations: 152.4 kB / 445.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1242, allocations: 78.84 kB / 445.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.1243, allocations: 45.7 kB / 445.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1244, allocations: 342.8 kB / 445.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1246, allocations: 88.17 kB / 445.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1248, allocations: 96.28 kB / 445.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.127, allocations: 0.6185 MB / 446.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.127, allocations: 4 kB / 446.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004976/0.1275, allocations: 310.6 kB / 446.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1275, allocations: 7.938 kB / 446.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1276, allocations: 0 / 446.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1276, allocations: 7.938 kB / 446.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.1278, allocations: 51.91 kB / 446.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1279, allocations: 4 kB / 446.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.1282, allocations: 63.77 kB / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1283, allocations: 8 kB / 446.8 MB, free: 2.395 MB / 318.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.0002092/0.1285, allocations: 179.5 kB / 447 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1285, allocations: 23.72 kB / 447 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.1291, allocations: 313.9 kB / 447.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1291, allocations: 4 kB / 447.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1291, allocations: 4 kB / 447.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1291, allocations: 0 / 447.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.1295, allocations: 349.3 kB / 447.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1295, allocations: 4 kB / 447.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.1298, allocations: 35.98 kB / 447.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1298, allocations: 0 / 447.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1298, allocations: 15.92 kB / 447.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1299, allocations: 0 / 447.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1299, allocations: 0 / 447.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.1305, allocations: 0.4934 MB / 448.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.1307, allocations: 116.7 kB / 448.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1307, allocations: 11.94 kB / 448.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.1311, allocations: 47.92 kB / 448.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.1312, allocations: 15.98 kB / 448.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1312, allocations: 11.98 kB / 448.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000696/0.1319, allocations: 326.9 kB / 448.7 MB, free: 388 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1319, allocations: 0 / 448.7 MB, free: 388 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1322, allocations: 55.94 kB / 448.8 MB, free: 332 kB / 318.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.0001109/0.1323, allocations: 110.7 kB / 448.9 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004463/0.1328, allocations: 235.7 kB / 449.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1328, allocations: 0 / 449.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.133, allocations: 115.8 kB / 449.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1335, allocations: 69.05 kB / 449.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.1349, allocations: 0.6536 MB / 449.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.1353, allocations: 0.7833 MB / 450.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.1356, allocations: 66.19 kB / 450.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1357, allocations: 31.42 kB / 450.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1358, allocations: 0 / 450.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Templates: time 0.00603/0.1418, allocations: 2.836 MB / 453.6 MB, free: 11.39 MB / 334.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile (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 -s cvode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)