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.001272/0.001272, allocations: 112.4 kB / 16.37 MB, free: 6.344 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.001232/0.001232, allocations: 190 kB / 17.3 MB, free: 5.898 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.26/1.26, 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.08677/0.08677, allocations: 22.33 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 437.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1043, allocations: 54.95 MB / 492.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003013/0.1074, allocations: 2.012 MB / 494.6 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1086, allocations: 0.6819 MB / 495.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1087, allocations: 4 kB / 495.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1091, allocations: 75.48 kB / 495.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1094, allocations: 103.4 kB / 495.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1097, allocations: 155.8 kB / 495.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.1101, allocations: 451.5 kB / 496.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.1103, allocations: 86.03 kB / 496.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.1105, allocations: 183.4 kB / 496.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.1108, allocations: 203.2 kB / 496.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.1109, allocations: 24 kB / 496.6 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.1109, allocations: 24 kB / 496.6 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1111, allocations: 103.7 kB / 496.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1112, allocations: 139.1 kB / 496.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.1115, allocations: 286.9 kB / 497.1 MB, free: 304 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1115, allocations: 3.938 kB / 497.1 MB, free: 300 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1115, allocations: 0 / 497.1 MB, free: 300 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1116, allocations: 0 / 497.1 MB, free: 300 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.001782/0.1133, allocations: 0.7596 MB / 497.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1134, allocations: 12.03 kB / 497.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.1135, allocations: 40.47 kB / 497.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/0.1144, allocations: 423.9 kB / 498.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1144, allocations: 12.7 kB / 498.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.1145, allocations: 20.38 kB / 498.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.1148, allocations: 204.4 kB / 498.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1149, allocations: 0 / 498.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1149, allocations: 12 kB / 498.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1149, allocations: 4 kB / 498.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.1153, allocations: 196.1 kB / 498.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1164, allocations: 0.6991 MB / 499.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.1171, allocations: 306.4 kB / 499.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.1173, allocations: 128.8 kB / 499.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.1174, allocations: 11.98 kB / 499.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1174, allocations: 38.44 kB / 499.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.1174, allocations: 3.938 kB / 499.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006503/0.1181, allocations: 367 kB / 0.4886 GB, free: 12.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1181, allocations: 51.41 kB / 0.4886 GB, free: 12.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.119, allocations: 424.4 kB / 0.489 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.119, allocations: 29.7 kB / 0.4891 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.1191, allocations: 168.3 kB / 0.4892 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.1192, allocations: 86.75 kB / 0.4893 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.1193, allocations: 45.7 kB / 0.4893 GB, free: 12.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1194, allocations: 342.8 kB / 0.4897 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1196, allocations: 91.94 kB / 0.4898 GB, free: 11.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1198, allocations: 95.92 kB / 0.4899 GB, free: 11.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.1221, allocations: 0.6672 MB / 0.4905 GB, free: 10.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1221, allocations: 0 / 0.4905 GB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005207/0.1226, allocations: 333.4 kB / 0.4908 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1227, allocations: 4 kB / 0.4908 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1227, allocations: 0 / 0.4908 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1227, allocations: 0 / 0.4908 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.123, allocations: 63.91 kB / 0.4909 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.123, allocations: 0 / 0.4909 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.1234, allocations: 59.77 kB / 0.4909 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1234, allocations: 8 kB / 0.4909 GB, free: 10.44 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.0002155/0.1236, allocations: 179.3 kB / 0.4911 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.1237, allocations: 31.56 kB / 0.4912 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.1243, allocations: 328 kB / 0.4915 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1243, allocations: 0 / 0.4915 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.1243, allocations: 7.938 kB / 0.4915 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1243, allocations: 0 / 0.4915 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.1247, allocations: 369.2 kB / 0.4918 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1247, allocations: 3.984 kB / 0.4918 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.125, allocations: 47.92 kB / 0.4919 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.125, allocations: 0 / 0.4919 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.1251, allocations: 11.98 kB / 0.4919 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.1251, allocations: 8 kB / 0.4919 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1251, allocations: 3.984 kB / 0.4919 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.1258, allocations: 0.5157 MB / 0.4924 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.1259, allocations: 120.6 kB / 0.4925 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.126, allocations: 11.98 kB / 0.4925 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.1264, allocations: 47.88 kB / 0.4926 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.1264, allocations: 19.97 kB / 0.4926 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1265, allocations: 12 kB / 0.4926 GB, free: 8.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007578/0.1272, allocations: 330.9 kB / 0.4929 GB, free: 8.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1272, allocations: 3.938 kB / 0.4929 GB, free: 8.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.1275, allocations: 59.84 kB / 0.493 GB, free: 8.262 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.0001129/0.1277, allocations: 103.2 kB / 0.4931 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004571/0.1281, allocations: 255.7 kB / 0.4933 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1281, allocations: 0 / 0.4933 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1283, allocations: 131.9 kB / 0.4934 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.1288, allocations: 57.23 kB / 0.4935 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.13, allocations: 0.7289 MB / 0.4942 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1304, allocations: 0.7948 MB / 0.495 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1305, allocations: 27.42 kB / 0.495 GB, free: 6.105 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1305, allocations: 0 / 0.495 GB, free: 6.105 MB / 382.1 MB Notification: Performance of Templates: time 0.005425/0.1359, allocations: 3.836 MB / 0.4988 GB, free: 2.266 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)