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.008085/0.008084, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001948/0.001948, allocations: 191.7 kB / 16.67 MB, free: 5.969 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0926/0.0926, allocations: 22.32 MB / 312.8 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 437 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1113, allocations: 54.95 MB / 492 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003005/0.1144, allocations: 1.941 MB / 493.9 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1156, allocations: 0.6664 MB / 494.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1157, allocations: 7.938 kB / 494.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.1161, allocations: 71.55 kB / 494.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1164, allocations: 91.53 kB / 494.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.1167, allocations: 147.8 kB / 494.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.1171, allocations: 435.1 kB / 495.3 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1173, allocations: 65.03 kB / 495.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.1175, allocations: 175.4 kB / 495.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.1178, allocations: 187.3 kB / 495.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.1179, allocations: 23.94 kB / 495.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.1179, allocations: 24 kB / 495.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1181, allocations: 99.7 kB / 495.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1182, allocations: 115.2 kB / 496 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1185, allocations: 274.8 kB / 496.3 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1185, allocations: 8 kB / 496.3 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1185, allocations: 0 / 496.3 MB, free: 448 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1185, allocations: 0 / 496.3 MB, free: 448 kB / 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.001682/0.1202, allocations: 0.7436 MB / 497 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1202, allocations: 8.031 kB / 497 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.1203, allocations: 36.7 kB / 497.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.1212, allocations: 424.1 kB / 497.5 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1212, allocations: 16.31 kB / 497.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1213, allocations: 16.33 kB / 497.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.1216, allocations: 181.7 kB / 497.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1216, allocations: 0 / 497.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1216, allocations: 4 kB / 497.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1216, allocations: 4 kB / 497.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.122, allocations: 183.9 kB / 497.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.123, allocations: 0.6486 MB / 498.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.1235, allocations: 246.4 kB / 498.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1237, allocations: 104.8 kB / 498.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.1237, allocations: 8.359 kB / 498.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1237, allocations: 38.5 kB / 498.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.1237, allocations: 0 / 498.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.000607/0.1244, allocations: 343.9 kB / 499.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1244, allocations: 55.41 kB / 499.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.1252, allocations: 424.4 kB / 499.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1253, allocations: 29.7 kB / 499.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.1254, allocations: 156.4 kB / 499.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.1254, allocations: 87.25 kB / 500 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.1255, allocations: 45.7 kB / 0.4883 GB, free: 12.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1256, allocations: 342.8 kB / 0.4886 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1258, allocations: 84.17 kB / 0.4887 GB, free: 12.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1259, allocations: 96.28 kB / 0.4888 GB, free: 11.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.1281, allocations: 0.6193 MB / 0.4894 GB, free: 11.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1281, allocations: 8 kB / 0.4894 GB, free: 11.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004616/0.1286, allocations: 318.4 kB / 0.4897 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1286, allocations: 6.344 kB / 0.4897 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1286, allocations: 0 / 0.4897 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1287, allocations: 7.938 kB / 0.4897 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.1289, allocations: 43.98 kB / 0.4898 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1289, allocations: 3.984 kB / 0.4898 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.1293, allocations: 63.77 kB / 0.4898 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.1293, allocations: 11.98 kB / 0.4899 GB, free: 10.88 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.00021/0.1295, allocations: 163.7 kB / 0.49 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.1296, allocations: 31.81 kB / 0.49 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.1301, allocations: 309.2 kB / 0.4903 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1301, allocations: 4 kB / 0.4903 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1302, allocations: 7.938 kB / 0.4903 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1302, allocations: 0 / 0.4903 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.1305, allocations: 349.3 kB / 0.4907 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1305, allocations: 8 kB / 0.4907 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.1308, allocations: 39.92 kB / 0.4907 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1308, allocations: 0 / 0.4907 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.1309, allocations: 15.92 kB / 0.4907 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1309, allocations: 0 / 0.4907 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1309, allocations: 0 / 0.4907 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.1315, allocations: 498.6 kB / 0.4912 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.1317, allocations: 116.8 kB / 0.4913 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.1317, allocations: 15.94 kB / 0.4913 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.1321, allocations: 51.92 kB / 0.4914 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.1322, allocations: 15.97 kB / 0.4914 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1322, allocations: 7.984 kB / 0.4914 GB, free: 9.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007157/0.1329, allocations: 326.9 kB / 0.4917 GB, free: 8.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1329, allocations: 0 / 0.4917 GB, free: 8.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1332, allocations: 48 kB / 0.4918 GB, free: 8.828 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.0001132/0.1333, allocations: 111.2 kB / 0.4919 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.1338, allocations: 231.8 kB / 0.4921 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1338, allocations: 0 / 0.4921 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.134, allocations: 123.7 kB / 0.4922 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.1345, allocations: 56.61 kB / 0.4923 GB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1356, allocations: 0.6641 MB / 0.4929 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.136, allocations: 0.7911 MB / 0.4937 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.1361, allocations: 62.25 kB / 0.4938 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.1362, allocations: 27.42 kB / 0.4938 GB, free: 6.699 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1362, allocations: 8 kB / 0.4938 GB, free: 6.691 MB / 382.1 MB Notification: Performance of Templates: time 0.006749/0.143, allocations: 2.889 MB / 0.4966 GB, free: 3.816 MB / 382.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 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)