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.0008756/0.0008757, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006508/0.006508, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2336/0.2336, allocations: 22.33 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 11.94 kB / 382.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3654, allocations: 55.98 MB / 438.6 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.001894/0.3674, allocations: 1.632 MB / 440.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3684, allocations: 0.6535 MB / 440.8 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3686, allocations: 0 / 440.8 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.3689, allocations: 62.14 kB / 440.9 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.3692, allocations: 92.36 kB / 441 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3695, allocations: 147.6 kB / 441.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.3699, allocations: 417.4 kB / 441.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.37, allocations: 47.16 kB / 441.6 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3702, allocations: 145.7 kB / 441.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3705, allocations: 190 kB / 441.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.3705, allocations: 10.19 kB / 441.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.3706, allocations: 8.719 kB / 441.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3707, allocations: 81.53 kB / 442 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.894e-05/0.3708, allocations: 129.4 kB / 442.2 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.371, allocations: 249.2 kB / 442.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.371, allocations: 0 / 442.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.371, allocations: 0 / 442.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.371, allocations: 0 / 442.4 MB, free: 36.89 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.001702/0.3727, allocations: 0.7141 MB / 443.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3728, allocations: 18.47 kB / 443.1 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.3729, allocations: 29.94 kB / 443.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008529/0.3737, allocations: 429.2 kB / 443.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.3737, allocations: 10.31 kB / 443.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.3738, allocations: 13.09 kB / 443.6 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.3741, allocations: 174.8 kB / 443.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3741, allocations: 0 / 443.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3742, allocations: 6.844 kB / 443.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.3742, allocations: 2.812 kB / 443.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.3745, allocations: 184.2 kB / 444 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3756, allocations: 0.6506 MB / 444.6 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.3762, allocations: 255.6 kB / 444.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.3764, allocations: 103.5 kB / 445 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.3764, allocations: 10.62 kB / 445 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3764, allocations: 38.5 kB / 445 MB, free: 35.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.3764, allocations: 0 / 445 MB, free: 35.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007461/0.3772, allocations: 343.5 kB / 445.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3773, allocations: 54.44 kB / 445.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.3782, allocations: 424.5 kB / 445.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3782, allocations: 29.7 kB / 445.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3784, allocations: 160.2 kB / 446 MB, free: 34.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-05/0.3785, allocations: 77.94 kB / 446.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.3786, allocations: 29.33 kB / 446.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3787, allocations: 349.6 kB / 446.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3789, allocations: 81.75 kB / 446.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3791, allocations: 94.06 kB / 446.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.3813, allocations: 0.6373 MB / 447.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3813, allocations: 0 / 447.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004653/0.3818, allocations: 312.8 kB / 447.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.3818, allocations: 13.75 kB / 447.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3819, allocations: 4 kB / 447.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3819, allocations: 3.938 kB / 447.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3822, allocations: 56.55 kB / 447.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3822, allocations: 3 kB / 447.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.3826, allocations: 60.59 kB / 447.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3826, allocations: 12.97 kB / 447.7 MB, free: 34.05 MB / 350.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.0002163/0.3828, allocations: 166.3 kB / 447.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.3829, allocations: 23.41 kB / 447.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.3834, allocations: 322 kB / 448.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3834, allocations: 2.719 kB / 448.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3834, allocations: 0 / 448.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3834, allocations: 0 / 448.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.3838, allocations: 343.9 kB / 448.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3838, allocations: 0 / 448.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.3841, allocations: 49.33 kB / 448.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3841, allocations: 7.328 kB / 448.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3841, allocations: 6.719 kB / 448.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3841, allocations: 2.094 kB / 448.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3842, allocations: 0 / 448.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.3848, allocations: 497.5 kB / 449.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.3849, allocations: 116.8 kB / 449.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.3849, allocations: 10.16 kB / 449.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.3853, allocations: 58.16 kB / 449.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3854, allocations: 11.38 kB / 449.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3854, allocations: 5.625 kB / 449.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007177/0.3861, allocations: 331.9 kB / 449.6 MB, free: 32.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3861, allocations: 3.938 kB / 449.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.3864, allocations: 48.81 kB / 449.7 MB, free: 32.96 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 (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.0001159/0.3866, allocations: 113.1 kB / 449.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.387, allocations: 239.2 kB / 450 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.387, allocations: 0 / 450 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.3872, allocations: 118.1 kB / 450.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.3877, allocations: 52.7 kB / 450.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3889, allocations: 0.7708 MB / 450.9 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3892, allocations: 0.7896 MB / 451.7 MB, free: 31.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3893, allocations: 65.34 kB / 451.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.3894, allocations: 22.88 kB / 451.8 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3895, allocations: 0 / 451.8 MB, free: 31.57 MB / 350.1 MB Notification: Performance of Templates: time 0.006057/0.3955, allocations: 2.642 MB / 454.5 MB, free: 31.38 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)