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.001158/0.001158, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001603/0.001602, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2314/0.2314, allocations: 22.35 MB / 313.4 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 15.98 kB / 381.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3603, allocations: 55.97 MB / 437.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002009/0.3624, allocations: 1.593 MB / 439.5 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.3633, allocations: 0.6373 MB / 440.1 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3635, allocations: 0 / 440.1 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.3638, allocations: 57.95 kB / 440.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.364, allocations: 82.64 kB / 440.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.3643, allocations: 126.2 kB / 440.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.3646, allocations: 367.5 kB / 440.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3648, allocations: 44.22 kB / 440.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.365, allocations: 181.8 kB / 441 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.3652, allocations: 176.8 kB / 441.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.3653, allocations: 11.09 kB / 441.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.3653, allocations: 8.969 kB / 441.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3654, allocations: 83.39 kB / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.3655, allocations: 58.39 kB / 441.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3657, allocations: 189.9 kB / 441.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3657, allocations: 6.562 kB / 441.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3657, allocations: 0 / 441.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3657, allocations: 0 / 441.5 MB, free: 37.04 MB / 350.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.001574/0.3673, allocations: 0.7117 MB / 442.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3673, allocations: 7.75 kB / 442.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.3674, allocations: 31.03 kB / 442.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007819/0.3682, allocations: 412 kB / 442.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3682, allocations: 9.656 kB / 442.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3682, allocations: 13.09 kB / 442.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.3685, allocations: 175.3 kB / 442.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3686, allocations: 6.719 kB / 442.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3686, allocations: 7.953 kB / 442.9 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3686, allocations: 2.906 kB / 442.9 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.3689, allocations: 181.4 kB / 443 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009697/0.3699, allocations: 0.6497 MB / 443.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.3704, allocations: 251.2 kB / 443.9 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3705, allocations: 108.5 kB / 444 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3706, allocations: 7 kB / 444.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3706, allocations: 34.75 kB / 444.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.3706, allocations: 2.812 kB / 444.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005967/0.3712, allocations: 338.6 kB / 444.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3713, allocations: 51.41 kB / 444.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.372, allocations: 429.1 kB / 444.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.372, allocations: 29.7 kB / 444.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.3721, allocations: 158.8 kB / 445.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.3722, allocations: 79.67 kB / 445.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.3722, allocations: 7.938 kB / 445.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.3723, allocations: 346.4 kB / 445.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3725, allocations: 86.53 kB / 445.6 MB, free: 34.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3726, allocations: 85.58 kB / 445.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3728, allocations: 102.3 kB / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3728, allocations: 6.375 kB / 445.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004148/0.3732, allocations: 308.3 kB / 446.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3732, allocations: 6.078 kB / 446.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3732, allocations: 0 / 446.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3733, allocations: 2.656 kB / 446.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.3735, allocations: 49.08 kB / 446.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3735, allocations: 3.938 kB / 446.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.3739, allocations: 67.73 kB / 446.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3739, allocations: 5.906 kB / 446.2 MB, free: 34.38 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: 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] Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.3741, allocations: 174.2 kB / 446.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.3741, allocations: 23.66 kB / 446.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.3747, allocations: 312 kB / 446.7 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3747, allocations: 6.062 kB / 446.7 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3747, allocations: 0 / 446.7 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3747, allocations: 0 / 446.7 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.3751, allocations: 358.7 kB / 447.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3751, allocations: 4 kB / 447.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3753, allocations: 46.47 kB / 447.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3753, allocations: 0 / 447.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.3754, allocations: 11.22 kB / 447.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3754, allocations: 3.938 kB / 447.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3754, allocations: 0 / 447.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.376, allocations: 0.4893 MB / 447.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.3761, allocations: 120.6 kB / 447.7 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.3761, allocations: 6.969 kB / 447.7 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.3765, allocations: 50.42 kB / 447.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.3765, allocations: 12.8 kB / 447.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3765, allocations: 10.36 kB / 447.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006119/0.3772, allocations: 332.2 kB / 448.1 MB, free: 33.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3772, allocations: 0 / 448.1 MB, free: 33.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.3775, allocations: 48.78 kB / 448.2 MB, free: 33.27 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001239/0.3776, allocations: 104.2 kB / 448.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.3781, allocations: 241.1 kB / 448.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3781, allocations: 0 / 448.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.3783, allocations: 120.9 kB / 448.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3787, allocations: 60.75 kB / 448.7 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3801, allocations: 0.7403 MB / 449.4 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3804, allocations: 0.7894 MB / 450.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000179/0.3806, allocations: 59.73 kB / 450.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.3807, allocations: 26.3 kB / 450.3 MB, free: 31.92 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3807, allocations: 0 / 450.3 MB, free: 31.92 MB / 350.1 MB Notification: Performance of Templates: time 0.005044/0.3857, allocations: 2.553 MB / 452.9 MB, free: 31.72 MB / 350.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)