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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002059, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002104, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9297/0.9297, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07953/1.009, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07887/0.07887, allocations: 18.12 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01001/0.08888, allocations: 6.785 MB / 268.9 MB, free: 6.352 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.826e-05, allocations: 5.828 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.001905/0.001923, allocations: 1.873 MB / 272.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.002637, allocations: 0.6388 MB / 272.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.0027, allocations: 4 kB / 272.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.002868, allocations: 55.56 kB / 272.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.002976, allocations: 67.61 kB / 272.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.003244, allocations: 191.5 kB / 273.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.003415, allocations: 207.5 kB / 273.3 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.003504, allocations: 34.83 kB / 273.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.003657, allocations: 167.6 kB / 273.5 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.003803, allocations: 143.6 kB / 273.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.003835, allocations: 20 kB / 273.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.29e-05/0.003858, allocations: 20 kB / 273.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.003929, allocations: 71.78 kB / 273.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.003978, allocations: 43.88 kB / 273.8 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004127, allocations: 167.3 kB / 274 MB, free: 1.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.004136, allocations: 0 / 274 MB, free: 1.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004137, allocations: 4 kB / 274 MB, free: 1.191 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.004146, allocations: 0 / 274 MB, free: 1.191 MB / 266.7 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.0006056/0.004751, allocations: 0.5186 MB / 274.5 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.473e-05/0.004776, allocations: 8.031 kB / 274.5 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.004819, allocations: 28.91 kB / 274.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.005101, allocations: 237.4 kB / 274.8 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.005117, allocations: 8.375 kB / 274.8 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.005139, allocations: 12.38 kB / 274.8 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.005271, allocations: 105 kB / 274.9 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.005278, allocations: 192 / 274.9 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.005289, allocations: 8.359 kB / 274.9 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.005299, allocations: 7.938 kB / 274.9 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.005381, allocations: 48.48 kB / 275 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/0.1178, allocations: 354 kB / 275.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.118, allocations: 149.9 kB / 275.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1181, allocations: 44.41 kB / 275.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1181, allocations: 3.562 kB / 275.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.1181, allocations: 32 kB / 275.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.1181, allocations: 1.531 kB / 275.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006718/0.1188, allocations: 251.8 kB / 275.8 MB, free: 3.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1188, allocations: 57.62 kB / 275.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.119, allocations: 223.7 kB / 276.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.119, allocations: 31.08 kB / 276.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.1191, allocations: 123 kB / 276.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.1191, allocations: 81.84 kB / 276.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.1192, allocations: 40.36 kB / 276.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.1192, allocations: 342 kB / 276.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.1193, allocations: 22.62 kB / 276.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.1193, allocations: 19.02 kB / 276.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1195, allocations: 107.4 kB / 276.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1195, allocations: 0.6562 kB / 276.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002768/0.1198, allocations: 191.1 kB / 277 MB, free: 2.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1198, allocations: 8 kB / 277 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1198, allocations: 0 / 277 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.12, allocations: 60.86 kB / 277.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.1201, allocations: 33.83 kB / 277.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/0.1209, allocations: 1.567 MB / 278.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.121, allocations: 21.39 kB / 278.7 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.121, allocations: 3.469 kB / 278.7 MB, free: 1.156 MB / 266.7 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.0001065/0.1211, allocations: 138.9 kB / 278.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1212, allocations: 20.56 kB / 278.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.1212, allocations: 41.14 kB / 278.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1212, allocations: 4.641 kB / 278.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1212, allocations: 5.156 kB / 278.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1212, allocations: 0.8438 kB / 278.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1214, allocations: 148.9 kB / 279 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1214, allocations: 0.6094 kB / 279 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1215, allocations: 33.19 kB / 279.1 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.1215, allocations: 29.84 kB / 279.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.1216, allocations: 40.94 kB / 279.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1216, allocations: 11.06 kB / 279.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007648/0.1224, allocations: 1.457 MB / 280.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1224, allocations: 3.938 kB / 280.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1227, allocations: 346 kB / 280.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1227, allocations: 8.453 kB / 281 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.1228, allocations: 11.14 kB / 281 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.1229, allocations: 20.38 kB / 281 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1229, allocations: 2.906 kB / 281 MB, free: 15.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.123, allocations: 87.19 kB / 281.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.123, allocations: 0 / 281.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.1232, allocations: 54.31 kB / 281.1 MB, free: 15.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pr.x_scaled[1],Pr.x_scaled[2],Mr.x_scaled[1],Mr.x_scaled[2],K.x_scaled[1],K.x_scaled[2]) * 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): 16 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.073e-05/0.1233, allocations: 85.38 kB / 281.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.1236, allocations: 235.7 kB / 281.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.1236, allocations: 7.203 kB / 281.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1237, allocations: 185 kB / 281.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1239, allocations: 55.58 kB / 281.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.1247, allocations: 484.8 kB / 282.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.1247, allocations: 104.5 kB / 282.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.98e-05/0.1248, allocations: 26.42 kB / 282.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.1249, allocations: 75.56 kB / 282.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1249, allocations: 0 / 282.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Templates: time 0.005591/0.1305, allocations: 3.521 MB / 285.9 MB, free: 14.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Smith_predictor.makefile [Timeout 660] (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_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6173632061108947]