Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07682/0.07682, allocations: 17.69 MB / 33.64 MB, free: 1.746 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.001201/0.001201, allocations: 182.3 kB / 38.92 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.783/1.783, allocations: 205.4 MB / 249.5 MB, free: 2.438 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.0008152/0.0008155, allocations: 90.33 kB / 302.2 MB, free: 4.438 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 12 kB / 366.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 51.97 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3951, allocations: 78.63 MB / 497.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.3954, allocations: 79.95 kB / 497.6 MB, free: 9.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.4071, allocations: 3.497 MB / 0.4894 GB, free: 6.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4071, allocations: 0 / 0.4894 GB, free: 6.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.4071, allocations: 4 kB / 0.4894 GB, free: 6.066 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001089/0.4082, allocations: 0.5336 MB / 0.4899 GB, free: 5.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4083, allocations: 12.03 kB / 0.4899 GB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.4083, allocations: 20.66 kB / 0.4899 GB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.409, allocations: 323.6 kB / 0.4902 GB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.409, allocations: 8.375 kB / 0.4903 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.4091, allocations: 12.38 kB / 0.4903 GB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.4093, allocations: 126 kB / 0.4904 GB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4094, allocations: 4.188 kB / 0.4904 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4094, allocations: 11.94 kB / 0.4904 GB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4094, allocations: 0 / 0.4904 GB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.4097, allocations: 119.9 kB / 0.4905 GB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.4106, allocations: 492.2 kB / 0.491 GB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.4111, allocations: 178.4 kB / 0.4912 GB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.4112, allocations: 77.09 kB / 0.4912 GB, free: 4.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.4113, allocations: 7.875 kB / 0.4912 GB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4113, allocations: 38.56 kB / 0.4913 GB, free: 3.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.4113, allocations: 4 kB / 0.4913 GB, free: 3.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005304/0.4118, allocations: 229.4 kB / 0.4915 GB, free: 3.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4119, allocations: 55.41 kB / 0.4916 GB, free: 3.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.4125, allocations: 271.1 kB / 0.4918 GB, free: 3.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4125, allocations: 33.7 kB / 0.4918 GB, free: 3.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.4126, allocations: 132.2 kB / 0.492 GB, free: 3.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.4127, allocations: 55.2 kB / 0.492 GB, free: 3.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.4127, allocations: 7.938 kB / 0.492 GB, free: 3.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4128, allocations: 338.8 kB / 0.4924 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.413, allocations: 51.97 kB / 0.4924 GB, free: 2.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4131, allocations: 59.97 kB / 0.4925 GB, free: 2.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.4149, allocations: 469.2 kB / 0.4929 GB, free: 2.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4149, allocations: 0 / 0.4929 GB, free: 2.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003852/0.4153, allocations: 221.3 kB / 0.4931 GB, free: 2.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4153, allocations: 4 kB / 0.4931 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4153, allocations: 0 / 0.4931 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4153, allocations: 0 / 0.4931 GB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.4155, allocations: 43.92 kB / 0.4932 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4155, allocations: 3.984 kB / 0.4932 GB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.4158, allocations: 39.75 kB / 0.4932 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.4158, allocations: 8 kB / 0.4932 GB, free: 1.922 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 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] 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 (20): * Single equations (assignments): 20 * 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.0002125/0.416, allocations: 147 kB / 0.4934 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.4161, allocations: 19.72 kB / 0.4934 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.4165, allocations: 219 kB / 0.4936 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4166, allocations: 4 kB / 0.4936 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4166, allocations: 0 / 0.4936 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4166, allocations: 7.938 kB / 0.4936 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.4169, allocations: 285.4 kB / 0.4939 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.4169, allocations: 0 / 0.4939 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.4171, allocations: 31.92 kB / 0.4939 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4171, allocations: 0 / 0.4939 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.4172, allocations: 8 kB / 0.4939 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4172, allocations: 0 / 0.4939 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4172, allocations: 3.984 kB / 0.4939 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.4177, allocations: 390 kB / 0.4943 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.4178, allocations: 96.86 kB / 0.4944 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.4179, allocations: 4.062 kB / 0.4944 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4181, allocations: 33.23 kB / 0.4944 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.4182, allocations: 15.92 kB / 0.4944 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.4182, allocations: 4 kB / 0.4944 GB, free: 0.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004283/0.4187, allocations: 220.5 kB / 0.4946 GB, free: 376 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4187, allocations: 3.938 kB / 0.4946 GB, free: 372 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.419, allocations: 39.89 kB / 0.4947 GB, free: 332 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (17): * Single equations (assignments): 17 * 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.000152/0.4191, allocations: 111.2 kB / 0.4948 GB, free: 208 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.4195, allocations: 163.8 kB / 0.4949 GB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4195, allocations: 4 kB / 0.4949 GB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2011/0.6206, allocations: 76.3 kB / 0.495 GB, free: 83.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.6213, allocations: 34.8 kB / 0.495 GB, free: 83.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.6227, allocations: 0.5227 MB / 0.4956 GB, free: 83.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.6229, allocations: 0.7474 MB / 0.4963 GB, free: 82.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.6231, allocations: 37.23 kB / 0.4963 GB, free: 82.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.6232, allocations: 20.91 kB / 0.4963 GB, free: 82.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6232, allocations: 3.906 kB / 0.4963 GB, free: 82.35 MB / 362.7 MB Notification: Performance of Templates: time 0.005625/0.6288, allocations: 1.791 MB / 0.4981 GB, free: 82.29 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)