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.001859/0.001859, allocations: 104.9 kB / 16.41 MB, free: 6.461 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.002173/0.002173, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09439/0.09439, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 75.88 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 54.96 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003162/0.1109, allocations: 1.935 MB / 494.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1122, allocations: 0.6702 MB / 495.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1125, allocations: 0 / 495.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.1129, allocations: 67.56 kB / 495.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1133, allocations: 103.4 kB / 495.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1136, allocations: 151.8 kB / 495.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.1142, allocations: 423.2 kB / 496 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1144, allocations: 61.08 kB / 496.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.1147, allocations: 175.5 kB / 496.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.115, allocations: 195.3 kB / 496.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.1151, allocations: 20 kB / 496.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.1152, allocations: 24 kB / 496.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1154, allocations: 95.72 kB / 496.6 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1155, allocations: 127.1 kB / 496.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1158, allocations: 263 kB / 496.9 MB, free: 480 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1158, allocations: 4 kB / 496.9 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1158, allocations: 3.984 kB / 496.9 MB, free: 472 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1159, allocations: 0 / 496.9 MB, free: 472 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.002062/0.1179, allocations: 0.7359 MB / 497.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.118, allocations: 8.031 kB / 497.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.563e-05/0.1181, allocations: 40.5 kB / 497.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1191, allocations: 427.8 kB / 498.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1192, allocations: 12.38 kB / 498.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.1192, allocations: 16.38 kB / 498.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1195, allocations: 185.6 kB / 498.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1196, allocations: 0 / 498.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1196, allocations: 4 kB / 498.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1196, allocations: 4 kB / 498.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.1199, allocations: 175.9 kB / 498.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1211, allocations: 0.6485 MB / 499.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.1216, allocations: 250.4 kB / 499.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.1218, allocations: 104.8 kB / 499.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1218, allocations: 4.375 kB / 499.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1219, allocations: 38.44 kB / 499.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.502e-06/0.1219, allocations: 0 / 499.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006561/0.1226, allocations: 342.4 kB / 499.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1226, allocations: 55.41 kB / 500 MB, free: 13.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009099/0.1235, allocations: 416.4 kB / 0.4886 GB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1236, allocations: 37.64 kB / 0.4887 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1237, allocations: 156.4 kB / 0.4888 GB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.1237, allocations: 78.77 kB / 0.4889 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.1238, allocations: 41.7 kB / 0.4889 GB, free: 12.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1239, allocations: 342.8 kB / 0.4893 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1241, allocations: 92.12 kB / 0.4894 GB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1243, allocations: 92.28 kB / 0.4894 GB, free: 12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.1266, allocations: 0.6269 MB / 0.4901 GB, free: 11.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1266, allocations: 0 / 0.4901 GB, free: 11.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004804/0.1271, allocations: 310.3 kB / 0.4904 GB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1271, allocations: 4 kB / 0.4904 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1271, allocations: 4 kB / 0.4904 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1272, allocations: 7.938 kB / 0.4904 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.1274, allocations: 47.91 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1274, allocations: 0 / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1278, allocations: 63.77 kB / 0.4905 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1279, allocations: 4 kB / 0.4905 GB, free: 10.93 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.0002354/0.1281, allocations: 187.5 kB / 0.4907 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.1282, allocations: 31.62 kB / 0.4907 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.1287, allocations: 305.3 kB / 0.491 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1287, allocations: 4 kB / 0.491 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1288, allocations: 0 / 0.491 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1288, allocations: 3.984 kB / 0.491 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.1291, allocations: 349.3 kB / 0.4913 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1292, allocations: 0 / 0.4913 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.1295, allocations: 47.91 kB / 0.4914 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1295, allocations: 0 / 0.4914 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.1295, allocations: 15.94 kB / 0.4914 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1295, allocations: 0 / 0.4914 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1295, allocations: 0 / 0.4914 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.1302, allocations: 0.4905 MB / 0.4919 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.1303, allocations: 108.8 kB / 0.492 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.1304, allocations: 15.92 kB / 0.492 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.1308, allocations: 55.92 kB / 0.492 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.1309, allocations: 15.98 kB / 0.492 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1309, allocations: 4 kB / 0.4921 GB, free: 9.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007603/0.1316, allocations: 330.9 kB / 0.4924 GB, free: 8.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1316, allocations: 3.938 kB / 0.4924 GB, free: 8.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1319, allocations: 55.84 kB / 0.4924 GB, free: 8.852 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.0001255/0.1321, allocations: 99.19 kB / 0.4925 GB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.1325, allocations: 235.8 kB / 0.4927 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1325, allocations: 11.94 kB / 0.4928 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.1327, allocations: 115.7 kB / 0.4929 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.1332, allocations: 58.8 kB / 0.4929 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1344, allocations: 0.6863 MB / 0.4936 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1348, allocations: 0.7911 MB / 0.4944 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1349, allocations: 27.44 kB / 0.4944 GB, free: 6.762 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1349, allocations: 0 / 0.4944 GB, free: 6.762 MB / 382.1 MB Notification: Performance of Templates: time 0.006307/0.1412, allocations: 3.725 MB / 0.498 GB, free: 3.035 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)