Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 105 kB / 16.41 MB, free: 6.465 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.001043/0.001043, allocations: 187 kB / 17.34 MB, free: 5.719 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08991/0.08991, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 54.95 MB / 492.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003603/0.1087, allocations: 2.012 MB / 494.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1101, allocations: 0.6819 MB / 495.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1102, allocations: 0 / 495.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.1107, allocations: 83.48 kB / 495.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.111, allocations: 91.5 kB / 495.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1113, allocations: 163.7 kB / 495.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.1118, allocations: 455.5 kB / 496.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.112, allocations: 85 kB / 496.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.1122, allocations: 183.4 kB / 496.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.1126, allocations: 199.2 kB / 496.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.1126, allocations: 28 kB / 496.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.1127, allocations: 24 kB / 496.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.1129, allocations: 103.6 kB / 496.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.113, allocations: 135.1 kB / 496.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.1133, allocations: 290.9 kB / 497.2 MB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1133, allocations: 0 / 497.2 MB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1134, allocations: 4 kB / 497.2 MB, free: 256 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1134, allocations: 3.938 kB / 497.2 MB, free: 252 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00204/0.1154, allocations: 0.7596 MB / 497.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1155, allocations: 8.031 kB / 497.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1156, allocations: 36.47 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.1167, allocations: 423.9 kB / 498.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1167, allocations: 16.7 kB / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.1168, allocations: 20.38 kB / 498.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1172, allocations: 200.4 kB / 498.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1172, allocations: 0 / 498.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1172, allocations: 4 kB / 498.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1173, allocations: 4 kB / 498.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.1177, allocations: 204.1 kB / 498.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1189, allocations: 0.6991 MB / 499.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.1196, allocations: 318.4 kB / 499.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1199, allocations: 128.7 kB / 500 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1199, allocations: 3.984 kB / 500 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1199, allocations: 38.5 kB / 500 MB, free: 13.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.866e-06/0.1199, allocations: 0 / 500 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006961/0.1206, allocations: 367 kB / 0.4886 GB, free: 12.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1207, allocations: 55.41 kB / 0.4887 GB, free: 12.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/0.1216, allocations: 424.4 kB / 0.4891 GB, free: 12.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1216, allocations: 25.7 kB / 0.4891 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1217, allocations: 168.4 kB / 0.4893 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.1218, allocations: 86.75 kB / 0.4894 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/0.1219, allocations: 57.62 kB / 0.4894 GB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1221, allocations: 338.8 kB / 0.4897 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1222, allocations: 91.94 kB / 0.4898 GB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1224, allocations: 95.92 kB / 0.4899 GB, free: 11.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.1247, allocations: 0.6633 MB / 0.4906 GB, free: 10.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1247, allocations: 0 / 0.4906 GB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005192/0.1253, allocations: 333.4 kB / 0.4909 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1253, allocations: 8 kB / 0.4909 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1253, allocations: 4 kB / 0.4909 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1253, allocations: 0 / 0.4909 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1256, allocations: 55.91 kB / 0.4909 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1256, allocations: 4 kB / 0.4909 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.126, allocations: 59.77 kB / 0.491 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.126, allocations: 4 kB / 0.491 GB, free: 10.39 MB / 382.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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.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 (31): * Single equations (assignments): 31 * 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.0002482/0.1263, allocations: 175.7 kB / 0.4912 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.1264, allocations: 35.56 kB / 0.4912 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.127, allocations: 320.1 kB / 0.4915 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.127, allocations: 4 kB / 0.4915 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.127, allocations: 0 / 0.4915 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.127, allocations: 3.984 kB / 0.4915 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.1275, allocations: 373.1 kB / 0.4919 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1275, allocations: 0 / 0.4919 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.1278, allocations: 51.91 kB / 0.4919 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1278, allocations: 0 / 0.4919 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.1278, allocations: 23.92 kB / 0.4919 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1278, allocations: 0 / 0.4919 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1278, allocations: 0 / 0.4919 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.1286, allocations: 0.5195 MB / 0.4925 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.1287, allocations: 120.6 kB / 0.4926 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1287, allocations: 8 kB / 0.4926 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.1291, allocations: 55.92 kB / 0.4926 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.1292, allocations: 15.97 kB / 0.4926 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1292, allocations: 8 kB / 0.4927 GB, free: 8.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007334/0.1299, allocations: 330.9 kB / 0.493 GB, free: 8.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.13, allocations: 0 / 0.493 GB, free: 8.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1303, allocations: 59.84 kB / 0.493 GB, free: 8.223 MB / 382.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,CA2.x_scaled[1],CA1.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 (26): * Single equations (assignments): 26 * 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.0001242/0.1304, allocations: 111.1 kB / 0.4931 GB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004716/0.1309, allocations: 251.7 kB / 0.4934 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1309, allocations: 4 kB / 0.4934 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.1311, allocations: 127.9 kB / 0.4935 GB, free: 7.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.1315, allocations: 54.64 kB / 0.4936 GB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1328, allocations: 0.7251 MB / 0.4943 GB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1332, allocations: 0.8025 MB / 0.495 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1333, allocations: 31.42 kB / 0.4951 GB, free: 6.055 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1333, allocations: 0 / 0.4951 GB, free: 6.055 MB / 382.1 MB Notification: Performance of Templates: time 0.006387/0.1397, allocations: 3.871 MB / 0.4989 GB, free: 2.184 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)