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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.00181/0.00181, allocations: 194.3 kB / 17.31 MB, free: 5.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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09356/0.09356, allocations: 22.32 MB / 313.5 MB, free: 8.922 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 65.67 kB / 382.2 MB, free: 41.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1243, allocations: 54.96 MB / 437.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.004795/0.1291, allocations: 1.789 MB / 439 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1307, allocations: 0.5767 MB / 439.6 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1309, allocations: 7.938 kB / 439.6 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.1313, allocations: 31.72 kB / 439.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1317, allocations: 59.69 kB / 439.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.132, allocations: 91.86 kB / 439.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.1325, allocations: 255.4 kB / 440 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1327, allocations: 41.67 kB / 440 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.133, allocations: 103.6 kB / 440.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.1333, allocations: 115.6 kB / 440.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.1333, allocations: 12 kB / 440.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.149e-05/0.1334, allocations: 16 kB / 440.3 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1336, allocations: 71.8 kB / 440.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1337, allocations: 79.41 kB / 440.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.134, allocations: 179.3 kB / 440.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.134, allocations: 0 / 440.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.134, allocations: 4 kB / 440.6 MB, free: 8.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1341, allocations: 0 / 440.6 MB, free: 8.871 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001839/0.1359, allocations: 0.5686 MB / 441.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.136, allocations: 8.031 kB / 441.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.1361, allocations: 24.66 kB / 441.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/0.137, allocations: 316.4 kB / 441.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.137, allocations: 16.3 kB / 441.5 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.1371, allocations: 12.28 kB / 441.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.1375, allocations: 129.9 kB / 441.7 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1375, allocations: 0 / 441.7 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1376, allocations: 11.94 kB / 441.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1376, allocations: 0 / 441.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.138, allocations: 123.8 kB / 441.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.1394, allocations: 0.5082 MB / 442.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.1401, allocations: 178.5 kB / 442.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1403, allocations: 80.77 kB / 442.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1403, allocations: 288 / 442.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1404, allocations: 34.55 kB / 442.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.215e-06/0.1404, allocations: 4 kB / 442.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008178/0.1412, allocations: 242.9 kB / 442.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.1413, allocations: 55.41 kB / 442.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.1422, allocations: 275.1 kB / 443.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1422, allocations: 25.7 kB / 443.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1423, allocations: 124.3 kB / 443.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.1424, allocations: 59.19 kB / 443.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1425, allocations: 37.66 kB / 443.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1427, allocations: 330.8 kB / 443.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.1429, allocations: 63.91 kB / 443.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.1432, allocations: 66.02 kB / 443.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.1459, allocations: 454.6 kB / 444.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1459, allocations: 0 / 444.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004561/0.1464, allocations: 217.3 kB / 444.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1464, allocations: 4 kB / 444.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1464, allocations: 0 / 444.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1464, allocations: 7.984 kB / 444.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1467, allocations: 35.92 kB / 444.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1467, allocations: 3.938 kB / 444.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1469, allocations: 39.8 kB / 444.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1469, allocations: 4 kB / 444.6 MB, free: 4.648 MB / 318.1 MB Warning: Assuming fixed start value for the following 5 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 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 (20): * Single equations (assignments): 20 * 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.0001801/0.1471, allocations: 158.5 kB / 444.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.1472, allocations: 15.81 kB / 444.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1476, allocations: 229.3 kB / 445 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1476, allocations: 3.984 kB / 445 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1477, allocations: 7.938 kB / 445 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1477, allocations: 4 kB / 445 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.148, allocations: 289.3 kB / 445.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.148, allocations: 4 kB / 445.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.1482, allocations: 35.91 kB / 445.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1482, allocations: 0 / 445.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1483, allocations: 8 kB / 445.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1483, allocations: 0 / 445.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.1483, allocations: 3.938 kB / 445.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.1488, allocations: 381 kB / 445.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.1489, allocations: 104.8 kB / 445.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.149, allocations: 4.062 kB / 445.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.1492, allocations: 35.89 kB / 445.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1493, allocations: 7.984 kB / 445.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1493, allocations: 4 kB / 445.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004683/0.1498, allocations: 220.5 kB / 446.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1498, allocations: 4 kB / 446.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1501, allocations: 35.94 kB / 446.1 MB, free: 3.035 MB / 318.1 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 (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.0001167/0.1502, allocations: 99.19 kB / 446.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.1505, allocations: 170.2 kB / 446.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1506, allocations: 4 kB / 446.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1507, allocations: 83.89 kB / 446.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1511, allocations: 38.89 kB / 446.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.152, allocations: 474.8 kB / 447 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1523, allocations: 0.7514 MB / 447.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1524, allocations: 37.53 kB / 447.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.1525, allocations: 19.42 kB / 447.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1525, allocations: 0 / 447.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of Templates: time 0.004986/0.1575, allocations: 1.975 MB / 449.8 MB, free: 15.35 MB / 334.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)