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.001338/0.001339, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2189/0.2189, allocations: 22.35 MB / 312.7 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 63.91 kB / 380.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3389, allocations: 54.94 MB / 435.8 MB, free: 39.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003696/0.3426, allocations: 1.936 MB / 437.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3441, allocations: 0.6647 MB / 438.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.3442, allocations: 3.156 kB / 438.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.3447, allocations: 85.44 kB / 438.4 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.345, allocations: 96.7 kB / 438.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.3453, allocations: 142.7 kB / 438.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.3458, allocations: 430.5 kB / 439.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.346, allocations: 52.5 kB / 439.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.3463, allocations: 178.2 kB / 439.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.3466, allocations: 191 kB / 439.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.3467, allocations: 25.34 kB / 439.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.3468, allocations: 22.56 kB / 439.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.347, allocations: 101.8 kB / 439.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.3471, allocations: 115.4 kB / 439.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.3475, allocations: 264.5 kB / 440 MB, free: 37.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3475, allocations: 7.344 kB / 440 MB, free: 37.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3475, allocations: 0 / 440 MB, free: 37.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3475, allocations: 0 / 440 MB, free: 37.23 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.00244/0.35, allocations: 0.7426 MB / 440.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.35, allocations: 8.219 kB / 440.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3501, allocations: 33.62 kB / 440.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3513, allocations: 421.6 kB / 441.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3513, allocations: 9.25 kB / 441.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.3514, allocations: 15.97 kB / 441.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.3518, allocations: 181 kB / 441.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3518, allocations: 0 / 441.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.3519, allocations: 4 kB / 441.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3519, allocations: 5.719 kB / 441.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.3523, allocations: 176.8 kB / 441.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.3538, allocations: 0.6453 MB / 442.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.3544, allocations: 257.9 kB / 442.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.3547, allocations: 104.4 kB / 442.6 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.3547, allocations: 3.656 kB / 442.6 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3548, allocations: 41.41 kB / 442.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.3548, allocations: 0 / 442.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008765/0.3557, allocations: 338.8 kB / 443 MB, free: 35.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3557, allocations: 59.22 kB / 443 MB, free: 35.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3568, allocations: 417.8 kB / 443.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3568, allocations: 33.7 kB / 443.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.3569, allocations: 152.8 kB / 443.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.357, allocations: 88.67 kB / 443.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3572, allocations: 43.19 kB / 443.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.3572, allocations: 337.4 kB / 444.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3575, allocations: 90.88 kB / 444.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3577, allocations: 89.91 kB / 444.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.3607, allocations: 0.6295 MB / 444.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3607, allocations: 0 / 444.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006837/0.3614, allocations: 313.6 kB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3614, allocations: 9.156 kB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3614, allocations: 7.922 kB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3615, allocations: 3.984 kB / 445.2 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.3618, allocations: 53.48 kB / 445.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3619, allocations: 3.938 kB / 445.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.3624, allocations: 59.22 kB / 445.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.3625, allocations: 10.2 kB / 445.4 MB, free: 34.38 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.0003297/0.3628, allocations: 165.5 kB / 445.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.3629, allocations: 29.88 kB / 445.5 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/0.3638, allocations: 308.5 kB / 445.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3638, allocations: 2.75 kB / 445.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3638, allocations: 0 / 445.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3638, allocations: 3.422 kB / 445.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.3643, allocations: 354.2 kB / 446.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3643, allocations: 0 / 446.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.3648, allocations: 43.14 kB / 446.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3648, allocations: 0 / 446.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.3648, allocations: 10.59 kB / 446.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.3649, allocations: 2.5 kB / 446.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3649, allocations: 3.375 kB / 446.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.3658, allocations: 496.8 kB / 446.7 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3659, allocations: 113.9 kB / 446.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.366, allocations: 13.83 kB / 446.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.3666, allocations: 52.05 kB / 446.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.3667, allocations: 8.672 kB / 446.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3667, allocations: 8.656 kB / 446.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.3678, allocations: 332.5 kB / 447.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3678, allocations: 0 / 447.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.3683, allocations: 51.41 kB / 447.3 MB, free: 33.29 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.0001169/0.3684, allocations: 109.3 kB / 447.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.3691, allocations: 266.4 kB / 447.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3691, allocations: 0 / 447.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.3694, allocations: 117.2 kB / 447.8 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.000735/0.3702, allocations: 63.48 kB / 447.8 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3717, allocations: 0.6677 MB / 448.5 MB, free: 32.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.372, allocations: 0.7906 MB / 449.3 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.3722, allocations: 63.69 kB / 449.4 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3724, allocations: 21.97 kB / 449.4 MB, free: 31.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3724, allocations: 2.875 kB / 449.4 MB, free: 31.97 MB / 350.1 MB Notification: Performance of Templates: time 0.007301/0.3797, allocations: 2.847 MB / 452.2 MB, free: 31.75 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)