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.001107/0.001107, allocations: 106 kB / 16.41 MB, free: 6.457 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.001135/0.001135, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09584/0.09584, allocations: 22.32 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1039, allocations: 54.96 MB / 492.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003308/0.1072, allocations: 1.795 MB / 494.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1084, allocations: 0.5767 MB / 495 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1086, allocations: 7.938 kB / 495 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.109, allocations: 31.72 kB / 495.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1093, allocations: 59.69 kB / 495.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1095, allocations: 91.86 kB / 495.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.1099, allocations: 259.4 kB / 495.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1101, allocations: 49.53 kB / 495.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.1103, allocations: 103.7 kB / 495.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1106, allocations: 115.6 kB / 495.7 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.1106, allocations: 15.98 kB / 495.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.275e-05/0.1107, allocations: 16 kB / 495.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1108, allocations: 55.81 kB / 495.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1109, allocations: 83.41 kB / 495.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1111, allocations: 179.4 kB / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1111, allocations: 0 / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1111, allocations: 0 / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1111, allocations: 4 kB / 496.1 MB, free: 1.301 MB / 366.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.001307/0.1124, allocations: 0.5686 MB / 496.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1125, allocations: 8.031 kB / 496.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.1126, allocations: 24.66 kB / 496.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.1132, allocations: 316.4 kB / 497 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1132, allocations: 4.375 kB / 497 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.1133, allocations: 12.38 kB / 497 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.1136, allocations: 136 kB / 497.1 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1136, allocations: 0 / 497.1 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1136, allocations: 4 kB / 497.1 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1136, allocations: 0 / 497.1 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.1139, allocations: 119.9 kB / 497.3 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.1148, allocations: 0.5158 MB / 497.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.1153, allocations: 182.4 kB / 498 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1154, allocations: 68.83 kB / 498 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1155, allocations: 11.98 kB / 498 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1155, allocations: 34.56 kB / 498.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1155, allocations: 0 / 498.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.000517/0.116, allocations: 244.5 kB / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1161, allocations: 51.41 kB / 498.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.1166, allocations: 283 kB / 498.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1166, allocations: 25.7 kB / 498.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.1167, allocations: 128.6 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.1168, allocations: 59.19 kB / 498.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.1169, allocations: 29.72 kB / 498.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.117, allocations: 334.8 kB / 499.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1171, allocations: 59.97 kB / 499.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1172, allocations: 59.95 kB / 499.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.1191, allocations: 470.3 kB / 499.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1191, allocations: 0 / 499.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000364/0.1195, allocations: 221.2 kB / 500 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1195, allocations: 8 kB / 500 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1195, allocations: 3.984 kB / 500 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1196, allocations: 0 / 500 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1198, allocations: 39.92 kB / 0.4883 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1198, allocations: 3.938 kB / 0.4883 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.1201, allocations: 31.86 kB / 0.4884 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1201, allocations: 8 kB / 0.4884 GB, free: 13.07 MB / 382.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.0001729/0.1203, allocations: 155.7 kB / 0.4885 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.1203, allocations: 19.81 kB / 0.4885 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.1208, allocations: 226.9 kB / 0.4887 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1208, allocations: 0 / 0.4887 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1208, allocations: 3.938 kB / 0.4887 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1208, allocations: 4 kB / 0.4888 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1211, allocations: 281.4 kB / 0.489 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1211, allocations: 0 / 0.489 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.1214, allocations: 39.91 kB / 0.4891 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1214, allocations: 0 / 0.4891 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1214, allocations: 4 kB / 0.4891 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1214, allocations: 0 / 0.4891 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1214, allocations: 3.938 kB / 0.4891 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.122, allocations: 383.1 kB / 0.4894 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/0.1221, allocations: 104.8 kB / 0.4895 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1222, allocations: 0 / 0.4895 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.1224, allocations: 35.89 kB / 0.4896 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.1225, allocations: 7.984 kB / 0.4896 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1225, allocations: 4 kB / 0.4896 GB, free: 11.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004415/0.123, allocations: 220.5 kB / 0.4898 GB, free: 11.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.123, allocations: 3.938 kB / 0.4898 GB, free: 11.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1233, allocations: 32 kB / 0.4898 GB, free: 11.48 MB / 382.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 9.858e-05/0.1234, allocations: 103.2 kB / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1237, allocations: 162.1 kB / 0.4901 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1237, allocations: 4 kB / 0.4901 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1239, allocations: 87.83 kB / 0.4902 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.1243, allocations: 48.14 kB / 0.4902 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.1253, allocations: 0.5023 MB / 0.4907 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1257, allocations: 0.7475 MB / 0.4914 GB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.1258, allocations: 23.42 kB / 0.4915 GB, free: 9.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1258, allocations: 0 / 0.4915 GB, free: 9.746 MB / 382.1 MB Notification: Performance of Templates: time 0.00481/0.1306, allocations: 2.524 MB / 0.4939 GB, free: 7.223 MB / 382.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 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)