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.001475/0.001475, allocations: 84.23 kB / 20.23 MB, free: 4.18 MB / 18.57 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.001602/0.001602, allocations: 157.3 kB / 23.53 MB, free: 0.8789 MB / 18.57 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.1079/0.1079, allocations: 18.14 MB / 278.5 MB, free: 11.32 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.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: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.185e-05, allocations: 6.25 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.005258/0.0053, allocations: 1.908 MB / 358.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.007548, allocations: 0.7169 MB / 359.1 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.007757, allocations: 7.938 kB / 359.1 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.008293, allocations: 95.33 kB / 359.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.00878, allocations: 103.4 kB / 359.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.009854, allocations: 291.2 kB / 359.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.01053, allocations: 335.2 kB / 360 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.01073, allocations: 48.89 kB / 360 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.01109, allocations: 147.6 kB / 360.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.01159, allocations: 183.5 kB / 360.3 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.0117, allocations: 24 kB / 360.3 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.01179, allocations: 20 kB / 360.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.012, allocations: 103.6 kB / 360.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.01218, allocations: 75.69 kB / 360.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.01277, allocations: 283 kB / 360.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01277, allocations: 4 kB / 360.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.01278, allocations: 3.984 kB / 360.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.01279, allocations: 4 kB / 360.8 MB, free: 3.859 MB / 282.7 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.00341/0.0162, allocations: 0.6995 MB / 361.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.01625, allocations: 8.922 kB / 361.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.01642, allocations: 48.7 kB / 361.6 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.01826, allocations: 389.5 kB / 362 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.01829, allocations: 12.38 kB / 362 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.01836, allocations: 20.38 kB / 362 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.01892, allocations: 190.4 kB / 362.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.01893, allocations: 192 / 362.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.01897, allocations: 8.375 kB / 362.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.01898, allocations: 11.94 kB / 362.2 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.0196, allocations: 183.9 kB / 362.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.02127, allocations: 0.539 MB / 362.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.02269, allocations: 341.1 kB / 363.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.02299, allocations: 96.8 kB / 363.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.02303, allocations: 4 kB / 363.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.02307, allocations: 34.5 kB / 363.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.02307, allocations: 0 / 363.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002073/0.02515, allocations: 438 kB / 363.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.02521, allocations: 55.41 kB / 363.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.02686, allocations: 452.3 kB / 364.3 MB, free: 244 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.0269, allocations: 29.7 kB / 364.3 MB, free: 208 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.0271, allocations: 168.4 kB / 364.5 MB, free: 36 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.02724, allocations: 75.47 kB / 364.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.02738, allocations: 49.59 kB / 364.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/0.02764, allocations: 338.8 kB / 365 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.02792, allocations: 92.17 kB / 365 MB, free: 15.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.02821, allocations: 102.1 kB / 365.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.03074, allocations: 0.5276 MB / 365.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.03074, allocations: 4 kB / 365.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009848/0.03172, allocations: 346.1 kB / 366 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.03175, allocations: 7.938 kB / 366 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.03176, allocations: 4 kB / 366 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.03209, allocations: 48.81 kB / 366.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.03236, allocations: 47.89 kB / 366.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.03488, allocations: 1.48 MB / 367.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.0355, allocations: 75.78 kB / 367.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.03553, allocations: 8.062 kB / 367.7 MB, free: 12.71 MB / 298.7 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.0002968/0.03582, allocations: 158.9 kB / 367.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.03595, allocations: 43.75 kB / 367.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.03608, allocations: 43.17 kB / 367.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.03609, allocations: 8 kB / 367.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.03609, allocations: 0 / 367.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.0361, allocations: 0 / 367.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.03664, allocations: 249.1 kB / 368.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.03665, allocations: 3.938 kB / 368.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.03693, allocations: 27.98 kB / 368.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.03721, allocations: 52.81 kB / 368.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.03724, allocations: 8 kB / 368.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.03938, allocations: 1.484 MB / 369.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.03939, allocations: 3.938 kB / 369.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.04064, allocations: 0.5116 MB / 370.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.04074, allocations: 39.75 kB / 370.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.0408, allocations: 11.98 kB / 370.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.04145, allocations: 59.98 kB / 370.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.04155, allocations: 19.95 kB / 370.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.04157, allocations: 8 kB / 370.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00138/0.04295, allocations: 358.8 kB / 370.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.04295, allocations: 0 / 370.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006006/0.04355, allocations: 59.89 kB / 370.8 MB, free: 9.414 MB / 298.7 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.0001849/0.04374, allocations: 103.2 kB / 370.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.0447, allocations: 353.5 kB / 371.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.0447, allocations: 3.938 kB / 371.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.04529, allocations: 234.4 kB / 371.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.04589, allocations: 67.48 kB / 371.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.04755, allocations: 0.6182 MB / 372.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.04783, allocations: 187.4 kB / 372.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.04806, allocations: 62.44 kB / 372.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.04818, allocations: 28.48 kB / 372.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04818, allocations: 0 / 372.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of Templates: time 0.01172/0.0599, allocations: 3.417 MB / 375.9 MB, free: 4.316 MB / 298.7 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: 4.620543892029673]