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.001613/0.001613, allocations: 105.8 kB / 16.37 MB, free: 5.547 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.001881/0.001881, allocations: 195.7 kB / 17.3 MB, free: 5.184 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09288/0.09288, allocations: 22.33 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 62.66 kB / 382.2 MB, free: 41.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 54.96 MB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.00405/0.1089, allocations: 1.935 MB / 439.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1104, allocations: 0.6702 MB / 439.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1105, allocations: 0 / 439.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.1109, allocations: 71.55 kB / 439.9 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1113, allocations: 95.52 kB / 440 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.1117, allocations: 155.7 kB / 440.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.1123, allocations: 427.2 kB / 440.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.1124, allocations: 61.09 kB / 440.6 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.1127, allocations: 179.4 kB / 440.8 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.1131, allocations: 195.3 kB / 441 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.1132, allocations: 20 kB / 441 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-05/0.1132, allocations: 24 kB / 441 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1134, allocations: 91.72 kB / 441.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1135, allocations: 111.3 kB / 441.2 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.1139, allocations: 274.9 kB / 441.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1139, allocations: 3.938 kB / 441.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1139, allocations: 0 / 441.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1139, allocations: 0 / 441.5 MB, free: 7.988 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.00229/0.1162, allocations: 0.7476 MB / 442.2 MB, free: 7.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1163, allocations: 12.03 kB / 442.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.1164, allocations: 36.56 kB / 442.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.1176, allocations: 419.8 kB / 442.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1177, allocations: 8.375 kB / 442.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.1177, allocations: 16.38 kB / 442.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.1182, allocations: 181.7 kB / 442.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1182, allocations: 0 / 442.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1182, allocations: 4 kB / 442.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1182, allocations: 4 kB / 442.9 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.1187, allocations: 183.8 kB / 443.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.1202, allocations: 0.6524 MB / 443.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.1209, allocations: 250.3 kB / 444 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.1212, allocations: 108.8 kB / 444.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.1212, allocations: 4.375 kB / 444.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1212, allocations: 38.5 kB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.1212, allocations: 0 / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008822/0.1221, allocations: 337.9 kB / 444.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1222, allocations: 63.41 kB / 444.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1233, allocations: 412.4 kB / 444.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1234, allocations: 25.7 kB / 444.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1235, allocations: 164.4 kB / 445.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.1236, allocations: 74.84 kB / 445.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1237, allocations: 45.7 kB / 445.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1239, allocations: 338.8 kB / 445.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.1241, allocations: 84.17 kB / 445.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.1243, allocations: 96.34 kB / 445.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.1272, allocations: 0.6225 MB / 446.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1272, allocations: 0 / 446.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004718/0.1277, allocations: 314.6 kB / 446.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1277, allocations: 8 kB / 446.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1277, allocations: 0 / 446.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1278, allocations: 7.875 kB / 446.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.128, allocations: 55.91 kB / 446.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1281, allocations: 0 / 446.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.1284, allocations: 59.77 kB / 446.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1285, allocations: 8 kB / 446.8 MB, free: 2.449 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.0002252/0.1287, allocations: 182.2 kB / 447 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.1288, allocations: 27.72 kB / 447 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.1294, allocations: 318.5 kB / 447.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1294, allocations: 0 / 447.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1294, allocations: 0 / 447.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1294, allocations: 4 kB / 447.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.1298, allocations: 345.4 kB / 447.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1298, allocations: 0 / 447.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.1301, allocations: 47.91 kB / 447.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.1301, allocations: 8 kB / 447.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1302, allocations: 7.938 kB / 447.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1302, allocations: 4 kB / 447.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1302, allocations: 0 / 447.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.1309, allocations: 491.3 kB / 448.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.131, allocations: 120.6 kB / 448.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.131, allocations: 11.94 kB / 448.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.1315, allocations: 59.92 kB / 448.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.1316, allocations: 15.97 kB / 448.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1316, allocations: 8 kB / 448.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.1323, allocations: 330.9 kB / 448.7 MB, free: 428 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1323, allocations: 0 / 448.7 MB, free: 428 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1326, allocations: 51.94 kB / 448.8 MB, free: 376 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.0001128/0.1327, allocations: 99.25 kB / 448.9 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.1332, allocations: 235.7 kB / 449.1 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1332, allocations: 0 / 449.1 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1334, allocations: 129.8 kB / 449.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1338, allocations: 54.91 kB / 449.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1352, allocations: 0.6457 MB / 449.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.1356, allocations: 0.7912 MB / 450.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.1358, allocations: 70.22 kB / 450.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1359, allocations: 19.44 kB / 450.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1359, allocations: 3.938 kB / 450.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Templates: time 0.007043/0.143, allocations: 2.844 MB / 453.7 MB, free: 11.44 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 gbode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)