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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 104.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1035/0.1035, allocations: 22.69 MB / 325.4 MB, free: 3.551 MB / 254.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.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.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 0.002031/0.002031, allocations: 67.89 kB / 457.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1312, allocations: 58.02 MB / 0.5036 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.004476/0.1357, allocations: 1.984 MB / 0.5055 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1375, allocations: 0.7208 MB / 0.5062 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.1378, allocations: 7.938 kB / 0.5062 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.1382, allocations: 79.47 kB / 0.5063 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.1387, allocations: 115.4 kB / 0.5064 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.1392, allocations: 183.7 kB / 0.5066 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006915/0.1399, allocations: 499 kB / 0.5071 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1401, allocations: 44.72 kB / 0.5071 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.1404, allocations: 207.4 kB / 0.5073 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.1409, allocations: 231.1 kB / 0.5075 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.141, allocations: 20 kB / 0.5076 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.141, allocations: 24 kB / 0.5076 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1412, allocations: 99.66 kB / 0.5077 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.1414, allocations: 131.1 kB / 0.5078 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.1418, allocations: 274.7 kB / 0.5081 GB, free: 2.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1418, allocations: 0 / 0.5081 GB, free: 2.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1418, allocations: 0 / 0.5081 GB, free: 2.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1418, allocations: 0 / 0.5081 GB, free: 2.539 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.002404/0.1442, allocations: 0.7826 MB / 0.5088 GB, free: 1.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1442, allocations: 11.97 kB / 0.5088 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.1443, allocations: 36.7 kB / 0.5089 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1455, allocations: 452 kB / 0.5093 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1456, allocations: 20.23 kB / 0.5093 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.1456, allocations: 16.38 kB / 0.5093 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.146, allocations: 181.8 kB / 0.5095 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.146, allocations: 0 / 0.5095 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.146, allocations: 8 kB / 0.5095 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.146, allocations: 4 kB / 0.5095 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.1465, allocations: 183.9 kB / 0.5097 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.1477, allocations: 0.6446 MB / 0.5103 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2498/0.3975, allocations: 333.6 kB / 0.5106 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.3977, allocations: 94.22 kB / 0.5107 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3977, allocations: 3.625 kB / 0.5107 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3978, allocations: 37.11 kB / 0.5108 GB, free: 16.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.465e-06/0.3978, allocations: 0 / 0.5108 GB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001385/0.3992, allocations: 0.4967 MB / 0.5113 GB, free: 16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.3992, allocations: 57.47 kB / 0.5113 GB, free: 15.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.4003, allocations: 454.3 kB / 0.5117 GB, free: 15.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4003, allocations: 29.77 kB / 0.5118 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4004, allocations: 166.3 kB / 0.5119 GB, free: 15.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.4005, allocations: 82.16 kB / 0.512 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.4006, allocations: 43.38 kB / 0.512 GB, free: 15.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.4007, allocations: 347.7 kB / 0.5124 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.4008, allocations: 81.62 kB / 0.5125 GB, free: 15.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.401, allocations: 110.1 kB / 0.5126 GB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.4025, allocations: 0.5165 MB / 0.5131 GB, free: 15.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4025, allocations: 3.281 kB / 0.5131 GB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006034/0.4031, allocations: 350.3 kB / 0.5134 GB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4031, allocations: 5.5 kB / 0.5134 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4032, allocations: 1.188 kB / 0.5134 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.4034, allocations: 51.3 kB / 0.5135 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.4035, allocations: 35.67 kB / 0.5135 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.4047, allocations: 1.61 MB / 0.5151 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.4052, allocations: 73.84 kB / 0.5151 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.4052, allocations: 8.906 kB / 0.5151 GB, free: 13.87 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.0002286/0.4054, allocations: 168.4 kB / 0.5153 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.4055, allocations: 33.44 kB / 0.5153 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.06e-05/0.4056, allocations: 37.5 kB / 0.5154 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4056, allocations: 3.688 kB / 0.5154 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4056, allocations: 1.375 kB / 0.5154 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4056, allocations: 1.969 kB / 0.5154 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.4059, allocations: 349.5 kB / 0.5157 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4059, allocations: 0 / 0.5157 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.4061, allocations: 35.23 kB / 0.5157 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.4063, allocations: 51.12 kB / 0.5158 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.4063, allocations: 10.66 kB / 0.5158 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.4075, allocations: 1.608 MB / 0.5174 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4075, allocations: 0 / 0.5174 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.4083, allocations: 0.5208 MB / 0.5179 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.4084, allocations: 112.6 kB / 0.518 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.4084, allocations: 6.359 kB / 0.518 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.4089, allocations: 61.73 kB / 0.5181 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.409, allocations: 17.83 kB / 0.5181 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.409, allocations: 6.656 kB / 0.5181 GB, free: 11.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009395/0.4099, allocations: 361.6 kB / 0.5184 GB, free: 11.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4099, allocations: 0 / 0.5184 GB, free: 11.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.4103, allocations: 60.55 kB / 0.5185 GB, free: 11.74 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.0001148/0.4104, allocations: 106.3 kB / 0.5186 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.4111, allocations: 351.4 kB / 0.5189 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4111, allocations: 2.156 kB / 0.5189 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.4115, allocations: 229.6 kB / 0.5191 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.4119, allocations: 53.7 kB / 0.5192 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4132, allocations: 0.6445 MB / 0.5198 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4135, allocations: 0.7982 MB / 0.5206 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.4136, allocations: 52.12 kB / 0.5207 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.4137, allocations: 22.03 kB / 0.5207 GB, free: 10.26 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4137, allocations: 4 kB / 0.5207 GB, free: 10.26 MB / 382.1 MB Notification: Performance of Templates: time 0.008871/0.4226, allocations: 3.255 MB / 0.5239 GB, free: 10.06 MB / 382.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: 5.083139508031309] Failed to read output from testmodel.py, exit status != 0: 0.4309874619357288 0.44234684599999996 0.29790310999999997 Calling exit ...