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.001417/0.001417, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001438/0.001438, allocations: 187 kB / 17.34 MB, free: 5.742 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08755/0.08755, allocations: 22.33 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 54.96 MB / 492.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.00383/0.1165, allocations: 1.937 MB / 494.6 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.118, allocations: 0.6702 MB / 495.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.1183, allocations: 7.938 kB / 495.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.1188, allocations: 67.55 kB / 495.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.1192, allocations: 95.52 kB / 495.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.1196, allocations: 147.8 kB / 495.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007212/0.1204, allocations: 431.2 kB / 496 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1206, allocations: 57.08 kB / 496.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.1209, allocations: 179.5 kB / 496.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.1213, allocations: 191.3 kB / 496.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.1214, allocations: 23.94 kB / 496.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.1214, allocations: 24 kB / 496.5 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1216, allocations: 99.7 kB / 496.6 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1217, allocations: 119.2 kB / 496.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.1221, allocations: 267 kB / 496.9 MB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1221, allocations: 4 kB / 496.9 MB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1221, allocations: 0 / 496.9 MB, free: 440 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1221, allocations: 0 / 496.9 MB, free: 440 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.002114/0.1243, allocations: 0.7359 MB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1243, allocations: 8.031 kB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.1244, allocations: 40.55 kB / 497.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.1254, allocations: 427.8 kB / 498.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1254, allocations: 12.38 kB / 498.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.1255, allocations: 12.38 kB / 498.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.1258, allocations: 185.7 kB / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1259, allocations: 0 / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.1259, allocations: 4 kB / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.1259, allocations: 4 kB / 498.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.1263, allocations: 171.9 kB / 498.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1274, allocations: 0.6563 MB / 499.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.128, allocations: 250.4 kB / 499.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1282, allocations: 100.8 kB / 499.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.1282, allocations: 4.375 kB / 499.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1282, allocations: 38.5 kB / 499.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.905e-06/0.1283, allocations: 3.984 kB / 499.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006794/0.1289, allocations: 344 kB / 499.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.129, allocations: 55.41 kB / 500 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000931/0.1299, allocations: 420.4 kB / 0.4886 GB, free: 12.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.13, allocations: 29.7 kB / 0.4887 GB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1301, allocations: 156.4 kB / 0.4888 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.1302, allocations: 78.77 kB / 0.4889 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1303, allocations: 45.7 kB / 0.4889 GB, free: 12.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1304, allocations: 346.8 kB / 0.4893 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.1306, allocations: 88.11 kB / 0.4894 GB, free: 12.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1308, allocations: 92.3 kB / 0.4894 GB, free: 11.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.1331, allocations: 0.6215 MB / 0.4901 GB, free: 11.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1331, allocations: 8 kB / 0.4901 GB, free: 11.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000499/0.1336, allocations: 310.3 kB / 0.4904 GB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1336, allocations: 4 kB / 0.4904 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1336, allocations: 4 kB / 0.4904 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1337, allocations: 7.938 kB / 0.4904 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.1339, allocations: 47.97 kB / 0.4904 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.134, allocations: 3.984 kB / 0.4904 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.1343, allocations: 67.7 kB / 0.4905 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.1344, allocations: 4 kB / 0.4905 GB, free: 10.89 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.0002496/0.1346, allocations: 171.6 kB / 0.4907 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.1347, allocations: 27.62 kB / 0.4907 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006257/0.1353, allocations: 311.6 kB / 0.491 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.1354, allocations: 4 kB / 0.491 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1354, allocations: 0 / 0.491 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1354, allocations: 3.984 kB / 0.491 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1358, allocations: 345.3 kB / 0.4913 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1358, allocations: 4 kB / 0.4913 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.1361, allocations: 47.91 kB / 0.4914 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.1361, allocations: 0 / 0.4914 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.1362, allocations: 11.94 kB / 0.4914 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1362, allocations: 3.984 kB / 0.4914 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1362, allocations: 0 / 0.4914 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.1369, allocations: 497.1 kB / 0.4919 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.137, allocations: 108.8 kB / 0.492 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.1371, allocations: 15.92 kB / 0.492 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.1375, allocations: 55.92 kB / 0.492 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.1375, allocations: 11.98 kB / 0.492 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1376, allocations: 4 kB / 0.492 GB, free: 9.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007939/0.1384, allocations: 330.9 kB / 0.4924 GB, free: 8.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1384, allocations: 0 / 0.4924 GB, free: 8.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1387, allocations: 55.84 kB / 0.4924 GB, free: 8.832 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.0001375/0.1388, allocations: 107.2 kB / 0.4925 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.1393, allocations: 238.6 kB / 0.4927 GB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1393, allocations: 4 kB / 0.4927 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.1395, allocations: 127.6 kB / 0.4929 GB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.14, allocations: 62.64 kB / 0.4929 GB, free: 8.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1412, allocations: 0.6823 MB / 0.4936 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1416, allocations: 0.795 MB / 0.4944 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1417, allocations: 23.44 kB / 0.4944 GB, free: 6.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1417, allocations: 0 / 0.4944 GB, free: 6.73 MB / 382.1 MB Notification: Performance of Templates: time 0.006856/0.1486, allocations: 3.693 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)