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.009504/0.009504, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00179/0.00179, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.356/1.356, 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.08927/0.08927, allocations: 22.32 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 437 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 54.95 MB / 492 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003203/0.1239, allocations: 1.938 MB / 493.9 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.125, allocations: 0.6741 MB / 494.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.1251, allocations: 4 kB / 494.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1254, allocations: 67.55 kB / 494.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1257, allocations: 99.45 kB / 494.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.126, allocations: 147.8 kB / 494.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.1264, allocations: 435.2 kB / 495.3 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1265, allocations: 53.16 kB / 495.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1267, allocations: 175.4 kB / 495.6 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.127, allocations: 195.3 kB / 495.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.1271, allocations: 20 kB / 495.8 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.1271, allocations: 24 kB / 495.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1272, allocations: 103.7 kB / 495.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1274, allocations: 119.1 kB / 496 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1276, allocations: 267.1 kB / 496.3 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1276, allocations: 0 / 496.3 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1276, allocations: 0 / 496.3 MB, free: 464 kB / 366.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.1277, allocations: 3.938 kB / 496.3 MB, free: 460 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.001734/0.1294, allocations: 0.7437 MB / 497 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1294, allocations: 8.031 kB / 497 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.1295, allocations: 32.56 kB / 497 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.1304, allocations: 423.8 kB / 497.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1305, allocations: 8.375 kB / 497.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.1305, allocations: 16.38 kB / 497.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.1308, allocations: 193.6 kB / 497.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1308, allocations: 0 / 497.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1309, allocations: 4 kB / 497.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1309, allocations: 4 kB / 497.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.1312, allocations: 183.8 kB / 497.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1322, allocations: 0.6446 MB / 498.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.1327, allocations: 242.4 kB / 498.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1329, allocations: 100.8 kB / 498.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.1329, allocations: 12.36 kB / 498.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.1329, allocations: 38.5 kB / 498.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.1329, allocations: 0 / 498.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006037/0.1336, allocations: 344 kB / 499.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1336, allocations: 55.41 kB / 499.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/0.1344, allocations: 420.4 kB / 499.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1345, allocations: 29.7 kB / 499.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.1346, allocations: 152.5 kB / 499.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.1346, allocations: 82.73 kB / 500 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.1347, allocations: 45.7 kB / 500 MB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1349, allocations: 346.8 kB / 0.4886 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.135, allocations: 84.17 kB / 0.4887 GB, free: 12.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1352, allocations: 92.36 kB / 0.4888 GB, free: 11.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.1374, allocations: 0.6254 MB / 0.4894 GB, free: 11.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1374, allocations: 3.938 kB / 0.4894 GB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004667/0.1379, allocations: 310.3 kB / 0.4897 GB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1379, allocations: 4 kB / 0.4897 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1379, allocations: 3.984 kB / 0.4897 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1379, allocations: 7.938 kB / 0.4897 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.1382, allocations: 51.92 kB / 0.4898 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1382, allocations: 0 / 0.4898 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.1386, allocations: 63.77 kB / 0.4898 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.1386, allocations: 11.98 kB / 0.4898 GB, free: 10.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.0002128/0.1388, allocations: 171.6 kB / 0.49 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.1389, allocations: 31.62 kB / 0.49 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.1395, allocations: 305.7 kB / 0.4903 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1395, allocations: 0 / 0.4903 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1395, allocations: 8 kB / 0.4903 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1395, allocations: 0 / 0.4903 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.1399, allocations: 345.3 kB / 0.4906 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1399, allocations: 0 / 0.4906 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.1402, allocations: 47.91 kB / 0.4907 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1402, allocations: 4 kB / 0.4907 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.1403, allocations: 15.92 kB / 0.4907 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1403, allocations: 0 / 0.4907 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1403, allocations: 0 / 0.4907 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.141, allocations: 0.4905 MB / 0.4912 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.1411, allocations: 112.8 kB / 0.4913 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.1411, allocations: 11.94 kB / 0.4913 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.1415, allocations: 51.92 kB / 0.4914 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1416, allocations: 7.984 kB / 0.4914 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1416, allocations: 16 kB / 0.4914 GB, free: 9.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007391/0.1424, allocations: 322.9 kB / 0.4917 GB, free: 8.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1424, allocations: 4 kB / 0.4917 GB, free: 8.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1427, allocations: 55.84 kB / 0.4917 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.0001257/0.1428, allocations: 105.9 kB / 0.4918 GB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.1432, allocations: 227.8 kB / 0.4921 GB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1432, allocations: 3.938 kB / 0.4921 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.1434, allocations: 127.7 kB / 0.4922 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.0004611/0.1439, allocations: 56.61 kB / 0.4922 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.145, allocations: 0.6534 MB / 0.4929 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1454, allocations: 0.795 MB / 0.4937 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1456, allocations: 58.25 kB / 0.4937 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.1457, allocations: 27.42 kB / 0.4937 GB, free: 6.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1457, allocations: 0 / 0.4937 GB, free: 6.738 MB / 382.1 MB Notification: Performance of Templates: time 0.005981/0.1517, allocations: 2.89 MB / 0.4966 GB, free: 3.863 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)