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.001277/0.001277, allocations: 116.9 kB / 16.42 MB, free: 5.988 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.0009788/0.0009788, allocations: 190.8 kB / 17.35 MB, free: 5.602 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09515/0.09515, allocations: 22.33 MB / 313.5 MB, free: 8.852 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.14 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08693/0.08818, allocations: 54.95 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002888/0.0911, allocations: 1.931 MB / 494.6 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.09227, allocations: 0.6702 MB / 495.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.09241, allocations: 8 kB / 495.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.09276, allocations: 67.55 kB / 495.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.09302, allocations: 99.45 kB / 495.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.09334, allocations: 151.8 kB / 495.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.0938, allocations: 435.2 kB / 496 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.09395, allocations: 57.16 kB / 496.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.09418, allocations: 167.4 kB / 496.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.09446, allocations: 199.2 kB / 496.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.09452, allocations: 24 kB / 496.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.795e-05/0.09457, allocations: 20 kB / 496.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.0947, allocations: 95.72 kB / 496.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.09483, allocations: 131.1 kB / 496.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.09512, allocations: 262.8 kB / 497 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.09514, allocations: 4 kB / 497 MB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09514, allocations: 3.938 kB / 497 MB, free: 440 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.09515, allocations: 0 / 497 MB, free: 440 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.001835/0.09699, allocations: 0.7475 MB / 497.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.09704, allocations: 8.031 kB / 497.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.09713, allocations: 40.7 kB / 497.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/0.09812, allocations: 424.1 kB / 498.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.09815, allocations: 12.38 kB / 498.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.0982, allocations: 24.27 kB / 498.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.09851, allocations: 185.6 kB / 498.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.09853, allocations: 0 / 498.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.09856, allocations: 4 kB / 498.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.09858, allocations: 8 kB / 498.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.09893, allocations: 179.9 kB / 498.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1, allocations: 0.6447 MB / 499.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.1006, allocations: 246.4 kB / 499.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1007, allocations: 100.8 kB / 499.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1008, allocations: 8.359 kB / 499.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1008, allocations: 34.5 kB / 499.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/0.1008, allocations: 11.92 kB / 499.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006613/0.1015, allocations: 338.8 kB / 499.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1015, allocations: 55.41 kB / 500 MB, free: 13.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009031/0.1024, allocations: 420.4 kB / 0.4887 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1025, allocations: 33.7 kB / 0.4887 GB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.1026, allocations: 156.4 kB / 0.4889 GB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.1026, allocations: 83.31 kB / 0.4889 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.1027, allocations: 41.7 kB / 0.489 GB, free: 12.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1029, allocations: 342.8 kB / 0.4893 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.103, allocations: 88.17 kB / 0.4894 GB, free: 12.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1032, allocations: 88.36 kB / 0.4895 GB, free: 11.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/0.1056, allocations: 0.6331 MB / 0.4901 GB, free: 11.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1056, allocations: 3.938 kB / 0.4901 GB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004883/0.1061, allocations: 314.5 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1061, allocations: 6.656 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1061, allocations: 3.984 kB / 0.4904 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.1062, allocations: 7.938 kB / 0.4904 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.1064, allocations: 43.92 kB / 0.4905 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1065, allocations: 0 / 0.4905 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.1069, allocations: 67.81 kB / 0.4905 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1069, allocations: 8 kB / 0.4905 GB, free: 10.87 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.0001948/0.1071, allocations: 171.6 kB / 0.4907 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.1072, allocations: 31.8 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005626/0.1077, allocations: 298.1 kB / 0.491 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1077, allocations: 3.938 kB / 0.491 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1077, allocations: 0 / 0.491 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.1078, allocations: 120.8 kB / 0.4911 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.1079, allocations: 12 kB / 0.4911 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.1084, allocations: 51.92 kB / 0.4912 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.1084, allocations: 15.97 kB / 0.4912 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009288/0.1094, allocations: 416.5 kB / 0.4916 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000777/0.1101, allocations: 0.6072 MB / 0.4922 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001909/0.1103, allocations: 123.9 kB / 0.4923 GB, free: 8.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008034/0.1112, allocations: 330.8 kB / 0.4926 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Backend: time 3.21e-07/0.1112, allocations: 0 / 0.4926 GB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.1117, allocations: 229 kB / 0.4928 GB, free: 8.441 MB / 382.1 MB Notification: Performance of SimCode: time 0.001051/0.1128, allocations: 1.056 MB / 0.4939 GB, free: 7.34 MB / 382.1 MB Notification: Performance of Templates: time 0.006971/0.1198, allocations: 3.739 MB / 0.4975 GB, free: 3.613 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)