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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.0903/0.0903, allocations: 17.69 MB / 33.63 MB, free: 1.742 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 179.2 kB / 38.91 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 249.5 MB, free: 2.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008712/0.0008726, allocations: 97.05 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 16 kB / 367 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2583, allocations: 51.97 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.3914, allocations: 78.7 MB / 497.6 MB, free: 9.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.3917, allocations: 75.95 kB / 497.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.4082, allocations: 4.999 MB / 0.4909 GB, free: 4.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4083, allocations: 3.938 kB / 0.4909 GB, free: 4.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.447e-05/0.4083, allocations: 8 kB / 0.4909 GB, free: 4.484 MB / 362.7 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.001453/0.4098, allocations: 0.666 MB / 0.4916 GB, free: 3.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4098, allocations: 11.97 kB / 0.4916 GB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.4099, allocations: 32.56 kB / 0.4916 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.4108, allocations: 435.8 kB / 0.492 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.4108, allocations: 16.38 kB / 0.492 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.4109, allocations: 16.28 kB / 0.4921 GB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.4112, allocations: 182.1 kB / 0.4922 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4112, allocations: 4.188 kB / 0.4922 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.4112, allocations: 7.938 kB / 0.4922 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.4113, allocations: 4 kB / 0.4922 GB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.4116, allocations: 179.8 kB / 0.4924 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.4125, allocations: 0.6017 MB / 0.493 GB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.4131, allocations: 256 kB / 0.4933 GB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.4133, allocations: 104.8 kB / 0.4934 GB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.4133, allocations: 4 kB / 0.4934 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4134, allocations: 34.94 kB / 0.4934 GB, free: 1.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.4134, allocations: 3.938 kB / 0.4934 GB, free: 1.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006649/0.4141, allocations: 346 kB / 0.4937 GB, free: 1.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4141, allocations: 55.41 kB / 0.4938 GB, free: 1.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.415, allocations: 420.4 kB / 0.4942 GB, free: 0.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.415, allocations: 33.64 kB / 0.4942 GB, free: 0.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.4151, allocations: 156.4 kB / 0.4944 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.4152, allocations: 78.86 kB / 0.4944 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.4152, allocations: 0 / 0.4944 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4154, allocations: 346.8 kB / 0.4948 GB, free: 344 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.4155, allocations: 88.12 kB / 0.4948 GB, free: 252 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.4157, allocations: 88.41 kB / 0.4949 GB, free: 164 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.217/0.6327, allocations: 0.6392 MB / 0.4956 GB, free: 82.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6328, allocations: 0 / 0.4956 GB, free: 82.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006918/0.6335, allocations: 310.5 kB / 0.4959 GB, free: 82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.6335, allocations: 7.625 kB / 0.4959 GB, free: 82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6335, allocations: 0 / 0.4959 GB, free: 82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.6336, allocations: 1.984 kB / 0.4959 GB, free: 82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.6338, allocations: 48.69 kB / 0.4959 GB, free: 82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.6338, allocations: 5.156 kB / 0.4959 GB, free: 82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.6342, allocations: 66.64 kB / 0.496 GB, free: 82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.6343, allocations: 7.953 kB / 0.496 GB, free: 82 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 variables: Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Cfb.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] FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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.0002348/0.6345, allocations: 162.6 kB / 0.4961 GB, free: 81.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.6346, allocations: 32.09 kB / 0.4962 GB, free: 81.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.6351, allocations: 308.2 kB / 0.4965 GB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6352, allocations: 2.562 kB / 0.4965 GB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6352, allocations: 0.7969 kB / 0.4965 GB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6352, allocations: 5.672 kB / 0.4965 GB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.6356, allocations: 355.5 kB / 0.4968 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6356, allocations: 0 / 0.4968 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.6358, allocations: 40.38 kB / 0.4968 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6359, allocations: 1 kB / 0.4969 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.6359, allocations: 8.547 kB / 0.4969 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6359, allocations: 1.406 kB / 0.4969 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6359, allocations: 3.703 kB / 0.4969 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.6366, allocations: 0.4908 MB / 0.4973 GB, free: 81.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.6367, allocations: 117.7 kB / 0.4975 GB, free: 81.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.6367, allocations: 6.188 kB / 0.4975 GB, free: 81.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.6371, allocations: 55.53 kB / 0.4975 GB, free: 81.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.6372, allocations: 19.28 kB / 0.4975 GB, free: 81.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.6372, allocations: 7 kB / 0.4975 GB, free: 81.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007179/0.6379, allocations: 331.6 kB / 0.4979 GB, free: 81.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.638, allocations: 0 / 0.4979 GB, free: 81.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.6383, allocations: 57.41 kB / 0.4979 GB, free: 81.32 MB / 362.7 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.0001292/0.6384, allocations: 110.1 kB / 0.498 GB, free: 81.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.6389, allocations: 240 kB / 0.4982 GB, free: 81.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6389, allocations: 0 / 0.4982 GB, free: 81.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.6391, allocations: 119.2 kB / 0.4984 GB, free: 81.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.6396, allocations: 63.92 kB / 0.4984 GB, free: 81.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.6407, allocations: 0.733 MB / 0.4991 GB, free: 80.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.641, allocations: 0.7882 MB / 0.4999 GB, free: 80.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.6412, allocations: 61.8 kB / 0.5 GB, free: 80.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.6413, allocations: 28.64 kB / 0.5 GB, free: 80.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6413, allocations: 0 / 0.5 GB, free: 80.16 MB / 362.7 MB Notification: Performance of Templates: time 0.005693/0.647, allocations: 2.579 MB / 0.5025 GB, free: 79.99 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)