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.001015/0.001015, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001021/0.001021, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.203/1.203, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0872/0.0872, allocations: 22.31 MB / 313.1 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 62.92 kB / 380.9 MB, free: 40.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07327/0.07439, allocations: 54.96 MB / 435.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002754/0.07718, allocations: 1.978 MB / 437.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.07816, allocations: 0.6586 MB / 438.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.07825, allocations: 7.938 kB / 438.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.07854, allocations: 63.67 kB / 438.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.07877, allocations: 83.66 kB / 438.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.07901, allocations: 143.7 kB / 438.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.0794, allocations: 435.2 kB / 439.2 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.07953, allocations: 61.36 kB / 439.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.0797, allocations: 171.4 kB / 439.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.07994, allocations: 203.3 kB / 439.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.07999, allocations: 20 kB / 439.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.08005, allocations: 24 kB / 439.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.08015, allocations: 95.66 kB / 439.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.08025, allocations: 123.2 kB / 439.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.08044, allocations: 199.6 kB / 440.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.08045, allocations: 0 / 440.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08045, allocations: 0 / 440.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.08046, allocations: 0 / 440.1 MB, free: 9.035 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.001696/0.08216, allocations: 0.7476 MB / 440.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.0822, allocations: 8.031 kB / 440.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.08226, allocations: 32.56 kB / 440.9 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/0.08311, allocations: 419.9 kB / 441.3 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.08313, allocations: 12.38 kB / 441.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.08317, allocations: 12.38 kB / 441.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.08347, allocations: 178.2 kB / 441.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.08349, allocations: 0 / 441.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.08351, allocations: 4 kB / 441.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.08352, allocations: 7.938 kB / 441.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.08384, allocations: 187.8 kB / 441.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009824/0.08483, allocations: 0.6524 MB / 442.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.08531, allocations: 254.3 kB / 442.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.08548, allocations: 100.8 kB / 442.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.08552, allocations: 384 / 442.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.08555, allocations: 50.48 kB / 442.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 9.02e-07/0.08555, allocations: 0 / 442.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005963/0.08615, allocations: 333.7 kB / 443.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.08619, allocations: 55.41 kB / 443.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008277/0.08702, allocations: 420.4 kB / 443.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.08706, allocations: 29.7 kB / 443.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.08715, allocations: 156.3 kB / 443.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.08722, allocations: 78.86 kB / 443.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.08729, allocations: 41.7 kB / 443.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.0874, allocations: 346.8 kB / 444.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.08755, allocations: 84.17 kB / 444.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.0877, allocations: 93.8 kB / 444.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.08988, allocations: 0.6297 MB / 445 MB, free: 3.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.0899, allocations: 4 kB / 445 MB, free: 3.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004514/0.09035, allocations: 306.1 kB / 445.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.09037, allocations: 8 kB / 445.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.09038, allocations: 3.938 kB / 445.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.0904, allocations: 0 / 445.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.09065, allocations: 51.91 kB / 445.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.09066, allocations: 4 kB / 445.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.09103, allocations: 63.77 kB / 445.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.09105, allocations: 4 kB / 445.4 MB, free: 3.5 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.0001892/0.09125, allocations: 179.6 kB / 445.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.09131, allocations: 23.72 kB / 445.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.09183, allocations: 313.9 kB / 445.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.09184, allocations: 4 kB / 445.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.09185, allocations: 0 / 445.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.09186, allocations: 3.984 kB / 445.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.0922, allocations: 345.4 kB / 446.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.09221, allocations: 7.938 kB / 446.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.09251, allocations: 47.91 kB / 446.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.09252, allocations: 0 / 446.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.09255, allocations: 7.938 kB / 446.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.09256, allocations: 3.984 kB / 446.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.09256, allocations: 0 / 446.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.09318, allocations: 497 kB / 446.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.09327, allocations: 120.7 kB / 446.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.09332, allocations: 15.86 kB / 446.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/0.09375, allocations: 51.92 kB / 447 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.0938, allocations: 11.98 kB / 447 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.09382, allocations: 8 kB / 447 MB, free: 1.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006952/0.09452, allocations: 330.9 kB / 447.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09453, allocations: 0 / 447.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.0948, allocations: 51.94 kB / 447.4 MB, free: 1.426 MB / 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 9.771e-05/0.0949, allocations: 103.2 kB / 447.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.09533, allocations: 271.6 kB / 447.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.09534, allocations: 0 / 447.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.09552, allocations: 111.9 kB / 447.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.09594, allocations: 60.55 kB / 447.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.09701, allocations: 0.7763 MB / 448.7 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.09734, allocations: 0.7911 MB / 449.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.09745, allocations: 27.44 kB / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09746, allocations: 0 / 449.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Templates: time 0.004743/0.1022, allocations: 3.692 MB / 453.2 MB, free: 11.53 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 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)