Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Smith_predictor.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_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.0018/0.0018, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09292/0.09292, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1009, allocations: 54.95 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003025/0.104, allocations: 1.814 MB / 494.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1051, allocations: 0.6118 MB / 495.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1053, allocations: 3.938 kB / 495.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.1058, allocations: 51.69 kB / 495.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1061, allocations: 67.67 kB / 495.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.1066, allocations: 119.8 kB / 495.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.1072, allocations: 319.4 kB / 495.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1074, allocations: 57.83 kB / 495.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.1077, allocations: 123.6 kB / 495.8 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.1081, allocations: 163.4 kB / 496 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.1082, allocations: 20 kB / 496 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.172e-05/0.1083, allocations: 20 kB / 496 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1084, allocations: 95.7 kB / 496.1 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1086, allocations: 99.39 kB / 496.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1089, allocations: 247 kB / 496.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.109, allocations: 0 / 496.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.109, allocations: 0 / 496.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.109, allocations: 0 / 496.4 MB, free: 0.9375 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001813/0.1108, allocations: 0.6777 MB / 497.1 MB, free: 216 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1109, allocations: 8.031 kB / 497.1 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.1109, allocations: 24.66 kB / 497.2 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009123/0.1119, allocations: 370.6 kB / 497.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1119, allocations: 12.31 kB / 497.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.1119, allocations: 16.38 kB / 497.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1123, allocations: 186.6 kB / 497.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1123, allocations: 0 / 497.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1123, allocations: 12 kB / 497.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1123, allocations: 0 / 497.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1127, allocations: 171.9 kB / 497.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1139, allocations: 0.6524 MB / 498.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.1143, allocations: 218.3 kB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1145, allocations: 116.8 kB / 498.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1146, allocations: 4.359 kB / 498.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1146, allocations: 42.48 kB / 498.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.1146, allocations: 4 kB / 498.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001738/0.1163, allocations: 0.5759 MB / 499.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1164, allocations: 51.41 kB / 499.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.1172, allocations: 344.9 kB / 499.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.1173, allocations: 29.7 kB / 499.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1174, allocations: 144.3 kB / 0.4884 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.1175, allocations: 78.91 kB / 0.4884 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.1176, allocations: 45.64 kB / 0.4885 GB, free: 12.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1178, allocations: 338.8 kB / 0.4888 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.1181, allocations: 96.11 kB / 0.4889 GB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1183, allocations: 92.41 kB / 0.489 GB, free: 12.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.1203, allocations: 0.6253 MB / 0.4896 GB, free: 11.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1204, allocations: 3.938 kB / 0.4896 GB, free: 11.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009308/0.1213, allocations: 419 kB / 0.49 GB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1213, allocations: 8 kB / 0.49 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1213, allocations: 0 / 0.49 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.1217, allocations: 108.8 kB / 0.4901 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1219, allocations: 31.92 kB / 0.4901 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.1245, allocations: 2.084 MB / 0.4922 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.1249, allocations: 55.78 kB / 0.4922 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1249, allocations: 4 kB / 0.4922 GB, free: 8.961 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: K.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Mr.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Mr.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Pr.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Pr.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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.1251, allocations: 171 kB / 0.4924 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.1252, allocations: 27.66 kB / 0.4924 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-05/0.1253, allocations: 42.17 kB / 0.4924 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1253, allocations: 4 kB / 0.4925 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1253, allocations: 0 / 0.4925 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.1254, allocations: 112.7 kB / 0.4926 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.1255, allocations: 8 kB / 0.4926 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.1259, allocations: 47.86 kB / 0.4926 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.126, allocations: 15.98 kB / 0.4926 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001278/0.1272, allocations: 0.4948 MB / 0.4931 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007416/0.128, allocations: 0.5897 MB / 0.4937 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001838/0.1282, allocations: 110.5 kB / 0.4938 GB, free: 7.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006822/0.1289, allocations: 276.3 kB / 0.4941 GB, free: 7.035 MB / 382.1 MB Notification: Performance of Backend: time 7.41e-07/0.1289, allocations: 0 / 0.4941 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000874/0.1298, allocations: 383.8 kB / 0.4944 GB, free: 6.641 MB / 382.1 MB Notification: Performance of SimCode: time 0.001027/0.1308, allocations: 0.9981 MB / 0.4954 GB, free: 5.598 MB / 382.1 MB Notification: Performance of Templates: time 0.007173/0.138, allocations: 3.47 MB / 0.4988 GB, free: 2.129 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Smith_predictor.makefile (rm -f AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Smith_predictor.sim & ./AES_AES.Coursework.Typical_control_structures.Smith_predictor -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1)