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.0008336/0.0008336, allocations: 71.59 kB / 20.8 MB, free: 3.715 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.001024/0.001024, allocations: 170 kB / 24.1 MB, free: 424 kB / 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 0.9213/0.9213, allocations: 177.1 MB / 204.4 MB, free: 5.703 MB / 186.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.06448/0.06448, allocations: 18.13 MB / 279 MB, free: 11.48 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 2.154e-06/2.154e-06, allocations: 0.6562 kB / 416.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.827e-05, allocations: 2.281 kB / 416.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.002423/0.002451, allocations: 1.914 MB / 418.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003555, allocations: 0.7151 MB / 419.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.003688, allocations: 2.938 kB / 419.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.004038, allocations: 86.05 kB / 419.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.004269, allocations: 108.8 kB / 419.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.004886, allocations: 293.3 kB / 419.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.005307, allocations: 339.1 kB / 420 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.005442, allocations: 41.05 kB / 420 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.005668, allocations: 150.7 kB / 420.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.005969, allocations: 183.8 kB / 420.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.006043, allocations: 22.66 kB / 420.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.006084, allocations: 23.03 kB / 420.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.006189, allocations: 104.5 kB / 420.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.006265, allocations: 73.69 kB / 420.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.006568, allocations: 283.7 kB / 420.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.006571, allocations: 4.609 kB / 420.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006572, allocations: 1.5 kB / 420.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.006581, allocations: 0 / 420.9 MB, free: 10.04 MB / 330.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.001271/0.007851, allocations: 0.7021 MB / 421.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.00789, allocations: 9.141 kB / 421.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.00796, allocations: 36.64 kB / 421.6 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006331/0.008593, allocations: 395.2 kB / 422 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.00861, allocations: 10.47 kB / 422 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.008645, allocations: 19.19 kB / 422 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.008922, allocations: 181.5 kB / 422.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.008932, allocations: 6.094 kB / 422.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.008949, allocations: 5.688 kB / 422.2 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008957, allocations: 8.328 kB / 422.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.009217, allocations: 188.5 kB / 422.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.009963, allocations: 0.5344 MB / 422.9 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.01054, allocations: 331 kB / 423.3 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.01066, allocations: 94.03 kB / 423.4 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.01069, allocations: 8.203 kB / 423.4 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.0107, allocations: 39.62 kB / 423.4 MB, free: 8.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.0107, allocations: 1.156 kB / 423.4 MB, free: 8.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008197/0.01152, allocations: 425.8 kB / 423.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.01154, allocations: 55.38 kB / 423.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.01218, allocations: 458.6 kB / 424.3 MB, free: 8.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.0122, allocations: 26.86 kB / 424.3 MB, free: 8.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.01227, allocations: 163.8 kB / 424.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.01232, allocations: 82.69 kB / 424.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.01237, allocations: 50.39 kB / 424.6 MB, free: 8.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.01243, allocations: 344.8 kB / 425 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01254, allocations: 82.11 kB / 425.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.01267, allocations: 109.4 kB / 425.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.01368, allocations: 0.5223 MB / 425.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01368, allocations: 2.062 kB / 425.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004619/0.01415, allocations: 339.8 kB / 426 MB, free: 7.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01416, allocations: 5.406 kB / 426 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01417, allocations: 0.7031 kB / 426 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.01432, allocations: 52.42 kB / 426.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01442, allocations: 44.12 kB / 426.1 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000813/0.01524, allocations: 1.477 MB / 427.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.01547, allocations: 73.28 kB / 427.7 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.01548, allocations: 5.406 kB / 427.7 MB, free: 5.965 MB / 330.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.0001471/0.01563, allocations: 159.2 kB / 427.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.01567, allocations: 34.42 kB / 427.9 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.01572, allocations: 44.64 kB / 427.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01572, allocations: 6.812 kB / 427.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.01573, allocations: 1.219 kB / 427.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01573, allocations: 1.406 kB / 427.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.01596, allocations: 247.8 kB / 428.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01596, allocations: 3.938 kB / 428.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01608, allocations: 28.69 kB / 428.2 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.01618, allocations: 51.77 kB / 428.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.0162, allocations: 8.734 kB / 428.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006859/0.01688, allocations: 1.475 MB / 429.7 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01689, allocations: 0.75 kB / 429.7 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.01741, allocations: 0.5179 MB / 430.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.01745, allocations: 40.17 kB / 430.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01747, allocations: 8.203 kB / 430.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.01771, allocations: 59.67 kB / 430.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.01778, allocations: 24.09 kB / 430.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01779, allocations: 8.453 kB / 430.4 MB, free: 3.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004937/0.01828, allocations: 357.8 kB / 430.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01828, allocations: 0 / 430.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.01854, allocations: 60.58 kB / 430.8 MB, free: 3.762 MB / 330.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 8.308e-05/0.01862, allocations: 106.4 kB / 430.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.01909, allocations: 350.9 kB / 431.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01909, allocations: 0 / 431.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.01928, allocations: 237.5 kB / 431.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01958, allocations: 54.19 kB / 431.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.0204, allocations: 0.6228 MB / 432.1 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.02054, allocations: 187.5 kB / 432.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.02066, allocations: 53.36 kB / 432.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.02072, allocations: 22.98 kB / 432.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02072, allocations: 0 / 432.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of Templates: time 0.006406/0.02712, allocations: 3.409 MB / 435.8 MB, free: 1.723 MB / 330.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.002677485346794] Failed to read output from testmodel.py, exit status != 0: 0.03372285049408674 0.04361859199999994 0.03531500199999994 Calling exit ...