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.001107/0.001107, allocations: 103.4 kB / 16.27 MB, free: 5.98 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.001151/0.001151, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09395/0.09395, allocations: 22.32 MB / 313.4 MB, free: 8.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 63.45 kB / 381.5 MB, free: 41.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08323, allocations: 54.96 MB / 436.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.00291/0.08618, allocations: 1.92 MB / 438.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.08727, allocations: 0.6702 MB / 439 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.08739, allocations: 7.938 kB / 439 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.08772, allocations: 71.55 kB / 439.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.08797, allocations: 95.52 kB / 439.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.08827, allocations: 147.8 kB / 439.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.08868, allocations: 431.2 kB / 439.7 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.08883, allocations: 69.28 kB / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.08903, allocations: 175.4 kB / 440 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.0893, allocations: 191.3 kB / 440.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.08936, allocations: 24 kB / 440.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.08941, allocations: 20 kB / 440.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.08954, allocations: 103.7 kB / 440.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.08966, allocations: 111.3 kB / 440.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.08992, allocations: 263.1 kB / 440.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.08993, allocations: 3.938 kB / 440.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.08993, allocations: 3.938 kB / 440.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.08994, allocations: 0 / 440.7 MB, free: 8.773 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.001828/0.09178, allocations: 0.7515 MB / 441.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.09182, allocations: 8.031 kB / 441.4 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.0919, allocations: 36.55 kB / 441.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.09285, allocations: 407.9 kB / 441.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.09288, allocations: 12.38 kB / 441.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.09293, allocations: 12.38 kB / 441.9 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.09326, allocations: 185.6 kB / 442.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.09328, allocations: 0 / 442.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.09331, allocations: 8 kB / 442.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.09332, allocations: 4 kB / 442.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.09367, allocations: 179.9 kB / 442.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.09476, allocations: 0.6524 MB / 442.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.0953, allocations: 248.5 kB / 443.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.09549, allocations: 112.8 kB / 443.3 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.09554, allocations: 4.359 kB / 443.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.09557, allocations: 42.44 kB / 443.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.09558, allocations: 0 / 443.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007193/0.0963, allocations: 335.3 kB / 443.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.09635, allocations: 55.39 kB / 443.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.09727, allocations: 420.4 kB / 444.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.09731, allocations: 29.7 kB / 444.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.09741, allocations: 152.4 kB / 444.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.09749, allocations: 82.84 kB / 444.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/0.09758, allocations: 49.64 kB / 444.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.09772, allocations: 338.8 kB / 444.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.09789, allocations: 84.17 kB / 444.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.09806, allocations: 96.34 kB / 444.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.1005, allocations: 0.623 MB / 445.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1005, allocations: 0 / 445.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005105/0.101, allocations: 314.1 kB / 445.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.101, allocations: 12 kB / 445.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.101, allocations: 7.938 kB / 445.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1011, allocations: 0 / 445.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1013, allocations: 47.91 kB / 445.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1014, allocations: 4 kB / 445.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.1018, allocations: 59.77 kB / 446 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.07e-05/0.1018, allocations: 4 kB / 446 MB, free: 3.242 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.0002311/0.1021, allocations: 186.6 kB / 446.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.1022, allocations: 23.72 kB / 446.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.1027, allocations: 318.5 kB / 446.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1028, allocations: 4 kB / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1028, allocations: 0 / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1028, allocations: 0 / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.1032, allocations: 345.4 kB / 446.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1032, allocations: 0 / 446.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.1035, allocations: 47.91 kB / 446.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1035, allocations: 4 kB / 446.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.1036, allocations: 11.94 kB / 446.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1036, allocations: 0 / 446.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1036, allocations: 4 kB / 446.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.1043, allocations: 0.4914 MB / 447.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1045, allocations: 112.7 kB / 447.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.1045, allocations: 11.94 kB / 447.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.1049, allocations: 51.92 kB / 447.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.105, allocations: 15.97 kB / 447.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.105, allocations: 8 kB / 447.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007962/0.1058, allocations: 330.9 kB / 447.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1058, allocations: 0 / 447.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.1062, allocations: 47.94 kB / 448 MB, free: 1.168 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 0.000115/0.1063, allocations: 115.1 kB / 448.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.1068, allocations: 263.6 kB / 448.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1068, allocations: 0 / 448.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.1071, allocations: 121.9 kB / 448.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.1075, allocations: 58.8 kB / 448.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1088, allocations: 0.6942 MB / 449.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1092, allocations: 0.7912 MB / 450 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1093, allocations: 27.42 kB / 450 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1093, allocations: 0 / 450 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.006174/0.1155, allocations: 3.667 MB / 453.7 MB, free: 11.37 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)