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.001686/0.001686, allocations: 111.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.002225/0.002225, allocations: 189.5 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.35/1.35, 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.091/0.091, allocations: 22.32 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 65.08 kB / 382.2 MB, free: 41.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1098, allocations: 54.97 MB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003742/0.1136, allocations: 1.787 MB / 439 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1148, allocations: 0.5767 MB / 439.6 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.451e-05/0.1149, allocations: 4 kB / 439.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1152, allocations: 39.69 kB / 439.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1154, allocations: 59.64 kB / 439.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1156, allocations: 87.86 kB / 439.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.116, allocations: 259.4 kB / 440 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1161, allocations: 41.67 kB / 440.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1163, allocations: 111.6 kB / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1165, allocations: 115.6 kB / 440.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1165, allocations: 12 kB / 440.3 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.1166, allocations: 16 kB / 440.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1167, allocations: 63.81 kB / 440.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.1168, allocations: 83.44 kB / 440.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.117, allocations: 179.3 kB / 440.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.117, allocations: 0 / 440.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.117, allocations: 0 / 440.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.117, allocations: 0 / 440.6 MB, free: 8.816 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.001255/0.1183, allocations: 0.5687 MB / 441.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1183, allocations: 8.031 kB / 441.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1184, allocations: 28.66 kB / 441.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.119, allocations: 316.4 kB / 441.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.119, allocations: 4.375 kB / 441.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.1191, allocations: 16.28 kB / 441.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1193, allocations: 140.3 kB / 441.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1194, allocations: 0 / 441.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1194, allocations: 4 kB / 441.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1194, allocations: 0 / 441.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.1197, allocations: 123.8 kB / 441.8 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008701/0.1205, allocations: 0.5121 MB / 442.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.121, allocations: 178.5 kB / 442.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1211, allocations: 72.81 kB / 442.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1212, allocations: 288 / 442.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1212, allocations: 38.56 kB / 442.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.133e-06/0.1212, allocations: 4 kB / 442.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004985/0.1217, allocations: 241.2 kB / 442.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1218, allocations: 55.41 kB / 442.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.1223, allocations: 271.1 kB / 443.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1223, allocations: 29.7 kB / 443.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.1224, allocations: 132.3 kB / 443.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.1225, allocations: 59.19 kB / 443.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.1225, allocations: 37.64 kB / 443.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1226, allocations: 326.8 kB / 443.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1228, allocations: 63.95 kB / 443.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1229, allocations: 55.97 kB / 443.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.1247, allocations: 465.2 kB / 444.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1247, allocations: 3.938 kB / 444.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003582/0.125, allocations: 221.3 kB / 444.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1251, allocations: 4 kB / 444.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1251, allocations: 0 / 444.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1251, allocations: 0 / 444.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1253, allocations: 39.92 kB / 444.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1253, allocations: 3.938 kB / 444.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1255, allocations: 39.8 kB / 444.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1256, allocations: 8 kB / 444.6 MB, free: 4.586 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.0001808/0.1258, allocations: 147.1 kB / 444.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.1258, allocations: 27.8 kB / 444.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.1263, allocations: 227 kB / 445 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1263, allocations: 0 / 445 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1263, allocations: 7.938 kB / 445 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1263, allocations: 0 / 445 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.1266, allocations: 285.3 kB / 445.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1266, allocations: 0 / 445.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.1268, allocations: 35.98 kB / 445.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1269, allocations: 0 / 445.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1269, allocations: 8 kB / 445.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1269, allocations: 3.984 kB / 445.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1269, allocations: 3.938 kB / 445.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.1274, allocations: 381.4 kB / 445.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.1275, allocations: 104.8 kB / 445.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.1276, allocations: 0 / 445.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.1278, allocations: 39.89 kB / 445.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.1279, allocations: 7.984 kB / 445.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1279, allocations: 4 kB / 445.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004121/0.1283, allocations: 220.5 kB / 446.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1283, allocations: 4 kB / 446.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1286, allocations: 32 kB / 446.1 MB, free: 2.988 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.0001236/0.1287, allocations: 111.1 kB / 446.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.1291, allocations: 158.8 kB / 446.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1291, allocations: 0 / 446.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1292, allocations: 83.89 kB / 446.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1296, allocations: 51.84 kB / 446.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.1305, allocations: 469.8 kB / 447 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1309, allocations: 0.7514 MB / 447.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.1311, allocations: 37.52 kB / 447.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.1312, allocations: 15.44 kB / 447.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1312, allocations: 0 / 447.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of Templates: time 0.004884/0.1361, allocations: 1.98 MB / 449.8 MB, free: 15.3 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 cvode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)