Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001905/0.001905, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09387/0.09387, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 64.12 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09634, allocations: 54.96 MB / 492.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003166/0.09955, allocations: 1.929 MB / 494.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1008, allocations: 0.678 MB / 495.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1009, allocations: 0 / 495.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1013, allocations: 67.55 kB / 495.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1016, allocations: 103.5 kB / 495.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.1019, allocations: 143.8 kB / 495.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.1025, allocations: 439.2 kB / 496 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1026, allocations: 53.09 kB / 496.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1029, allocations: 179.4 kB / 496.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.1033, allocations: 191.3 kB / 496.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.1033, allocations: 28 kB / 496.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.258e-05/0.1034, allocations: 20 kB / 496.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1035, allocations: 103.7 kB / 496.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1037, allocations: 119.1 kB / 496.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.104, allocations: 270.8 kB / 497 MB, free: 452 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.104, allocations: 0 / 497 MB, free: 452 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.104, allocations: 3.938 kB / 497 MB, free: 448 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.104, allocations: 0 / 497 MB, free: 448 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001894/0.1059, allocations: 0.7398 MB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1059, allocations: 12.03 kB / 497.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.106, allocations: 32.7 kB / 497.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.107, allocations: 428 kB / 498.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.107, allocations: 8.375 kB / 498.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.107, allocations: 20.33 kB / 498.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1074, allocations: 185.6 kB / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1074, allocations: 4 kB / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.1074, allocations: 4 kB / 498.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1074, allocations: 7.938 kB / 498.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.1078, allocations: 175.9 kB / 498.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.109, allocations: 0.6486 MB / 499.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.1095, allocations: 246.4 kB / 499.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1097, allocations: 112.8 kB / 499.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.1098, allocations: 4.359 kB / 499.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1098, allocations: 42.5 kB / 499.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.1098, allocations: 3.938 kB / 499.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006686/0.1105, allocations: 336.3 kB / 499.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.1105, allocations: 51.41 kB / 500 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008927/0.1114, allocations: 428.4 kB / 0.4887 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1115, allocations: 25.7 kB / 0.4887 GB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.1116, allocations: 156.4 kB / 0.4889 GB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.1117, allocations: 87.27 kB / 0.4889 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.1118, allocations: 45.7 kB / 0.489 GB, free: 12.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1119, allocations: 342.8 kB / 0.4893 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1121, allocations: 84.17 kB / 0.4894 GB, free: 12.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.1122, allocations: 88.36 kB / 0.4895 GB, free: 11.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.1147, allocations: 0.6331 MB / 0.4901 GB, free: 11.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1147, allocations: 0 / 0.4901 GB, free: 11.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004994/0.1152, allocations: 310.5 kB / 0.4904 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1152, allocations: 11.98 kB / 0.4904 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1152, allocations: 0 / 0.4904 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1152, allocations: 3.938 kB / 0.4904 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.1155, allocations: 51.92 kB / 0.4905 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1155, allocations: 4 kB / 0.4905 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.1159, allocations: 59.81 kB / 0.4905 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.116, allocations: 7.984 kB / 0.4905 GB, free: 10.89 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.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 (28): * Single equations (assignments): 28 * 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.0002238/0.1162, allocations: 175.6 kB / 0.4907 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.1163, allocations: 27.81 kB / 0.4907 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005815/0.1169, allocations: 305.7 kB / 0.491 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1169, allocations: 3.938 kB / 0.491 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1169, allocations: 0 / 0.491 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.117, allocations: 120.8 kB / 0.4911 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.117, allocations: 0 / 0.4911 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.1175, allocations: 51.92 kB / 0.4912 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.1175, allocations: 23.97 kB / 0.4912 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000923/0.1185, allocations: 412.4 kB / 0.4916 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007599/0.1192, allocations: 0.6072 MB / 0.4922 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001975/0.1195, allocations: 123.9 kB / 0.4923 GB, free: 9.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007538/0.1202, allocations: 330.8 kB / 0.4926 GB, free: 8.691 MB / 382.1 MB Notification: Performance of Backend: time 5.51e-07/0.1202, allocations: 0 / 0.4926 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.1208, allocations: 228.3 kB / 0.4928 GB, free: 8.461 MB / 382.1 MB Notification: Performance of SimCode: time 0.001105/0.1219, allocations: 1.053 MB / 0.4939 GB, free: 7.359 MB / 382.1 MB Notification: Performance of Templates: time 0.007218/0.1292, allocations: 3.749 MB / 0.4975 GB, free: 3.625 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)