Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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.001379/0.001379, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 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.001511/0.001511, allocations: 222.5 kB / 23.01 MB, free: 5.086 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.1092/0.1092, allocations: 24.12 MB / 337.3 MB, free: 11.44 MB / 270.1 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.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003452/0.003452, allocations: 73.45 kB / 474.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3754, allocations: 59.61 MB / 0.5216 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.002915/0.3783, allocations: 2 MB / 0.5236 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3796, allocations: 0.7538 MB / 0.5243 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.3798, allocations: 7.125 kB / 0.5243 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.3801, allocations: 88.84 kB / 0.5244 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.3804, allocations: 114 kB / 0.5245 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.3809, allocations: 216.2 kB / 0.5247 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006979/0.3816, allocations: 0.5944 MB / 0.5253 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3818, allocations: 52.39 kB / 0.5254 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.3821, allocations: 221.5 kB / 0.5256 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.3824, allocations: 225.2 kB / 0.5258 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.3825, allocations: 22.91 kB / 0.5258 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.3825, allocations: 27.59 kB / 0.5258 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3826, allocations: 105.2 kB / 0.5259 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3827, allocations: 126.1 kB / 0.5261 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.3831, allocations: 277.2 kB / 0.5263 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3831, allocations: 9.672 kB / 0.5263 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3831, allocations: 0 / 0.5263 GB, free: 7.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3831, allocations: 0 / 0.5263 GB, free: 7.633 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001919/0.385, allocations: 0.7044 MB / 0.527 GB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3851, allocations: 9.547 kB / 0.527 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.3851, allocations: 40.86 kB / 0.5271 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3861, allocations: 388.9 kB / 0.5274 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3862, allocations: 10.06 kB / 0.5275 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.3862, allocations: 19.33 kB / 0.5275 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.3865, allocations: 190.3 kB / 0.5277 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3865, allocations: 0 / 0.5277 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3866, allocations: 5.219 kB / 0.5277 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3866, allocations: 7.281 kB / 0.5277 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.3869, allocations: 191.5 kB / 0.5279 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.3881, allocations: 0.609 MB / 0.5284 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/0.3889, allocations: 334.9 kB / 0.5288 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3891, allocations: 97.09 kB / 0.5289 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.3891, allocations: 3.438 kB / 0.5289 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.3891, allocations: 32.44 kB / 0.5289 GB, free: 6.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.3891, allocations: 0 / 0.5289 GB, free: 6.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0011/0.3902, allocations: 434.8 kB / 0.5293 GB, free: 6.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3903, allocations: 56.72 kB / 0.5294 GB, free: 6.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3913, allocations: 455.5 kB / 0.5298 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3913, allocations: 35.02 kB / 0.5298 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3914, allocations: 163.4 kB / 0.53 GB, free: 5.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.3915, allocations: 87.48 kB / 0.5301 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.3915, allocations: 41.52 kB / 0.5301 GB, free: 5.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.3916, allocations: 340.5 kB / 0.5304 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3918, allocations: 86.91 kB / 0.5305 GB, free: 5.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.392, allocations: 109.8 kB / 0.5306 GB, free: 5.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.3936, allocations: 0.5202 MB / 0.5311 GB, free: 5.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3936, allocations: 4 kB / 0.5311 GB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006059/0.3942, allocations: 343.8 kB / 0.5315 GB, free: 4.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3942, allocations: 5.438 kB / 0.5315 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3942, allocations: 0 / 0.5315 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.3944, allocations: 50.34 kB / 0.5315 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3946, allocations: 43.02 kB / 0.5316 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.3958, allocations: 1.497 MB / 0.533 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.3962, allocations: 74.98 kB / 0.5331 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3962, allocations: 11.95 kB / 0.5331 GB, free: 3.473 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * 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 prepare postOptimizeDAE: time 0.0001902/0.3964, allocations: 165.6 kB / 0.5333 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.3964, allocations: 29.28 kB / 0.5333 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.3965, allocations: 42.7 kB / 0.5333 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3965, allocations: 6.391 kB / 0.5333 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3965, allocations: 0.8438 kB / 0.5333 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3965, allocations: 12.19 kB / 0.5333 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.3969, allocations: 319 kB / 0.5336 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3969, allocations: 4 kB / 0.5337 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.3971, allocations: 23.8 kB / 0.5337 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.3972, allocations: 55.61 kB / 0.5337 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.3973, allocations: 4.703 kB / 0.5337 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.3983, allocations: 1.513 MB / 0.5352 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3983, allocations: 1.219 kB / 0.5352 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.399, allocations: 0.5113 MB / 0.5357 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.3991, allocations: 39.88 kB / 0.5357 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.3992, allocations: 7.859 kB / 0.5358 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.3996, allocations: 54.7 kB / 0.5358 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.3997, allocations: 26.11 kB / 0.5358 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3997, allocations: 4.875 kB / 0.5358 GB, free: 1.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008752/0.4006, allocations: 361.7 kB / 0.5362 GB, free: 1.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4006, allocations: 7.875 kB / 0.5362 GB, free: 1.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.4009, allocations: 56.73 kB / 0.5362 GB, free: 1.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * 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 0.0001001/0.401, allocations: 101.2 kB / 0.5363 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006388/0.4017, allocations: 346.8 kB / 0.5367 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4017, allocations: 5.062 kB / 0.5367 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.402, allocations: 240.2 kB / 0.5369 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.4024, allocations: 55.69 kB / 0.537 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4036, allocations: 0.6779 MB / 0.5376 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.4041, allocations: 0.7902 MB / 0.5384 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/0.4042, allocations: 26.42 kB / 0.5384 GB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4042, allocations: 0 / 0.5384 GB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.008127/0.4123, allocations: 4.649 MB / 0.543 GB, free: 14.03 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.450336260953918] Failed to read output from testmodel.py, exit status != 0: 0.42461399897001684 0.43762857499999996 0.051340156000000005 Calling exit ...