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.001361/0.001361, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.001422/0.001422, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1066/0.1066, allocations: 24.03 MB / 333.6 MB, free: 1.656 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.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.002129/0.002129, allocations: 65.25 kB / 468.9 MB, free: 31.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 59.55 MB / 0.5161 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003202/0.1134, allocations: 1.99 MB / 0.518 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1148, allocations: 0.752 MB / 0.5187 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1149, allocations: 7.938 kB / 0.5187 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.1153, allocations: 75.47 kB / 0.5188 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.1156, allocations: 115.4 kB / 0.5189 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1161, allocations: 187.6 kB / 0.5191 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.1167, allocations: 499.1 kB / 0.5196 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1168, allocations: 48.7 kB / 0.5196 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1171, allocations: 203.4 kB / 0.5198 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.1174, allocations: 235.1 kB / 0.52 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.1175, allocations: 24 kB / 0.5201 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.858e-05/0.1175, allocations: 20 kB / 0.5201 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1176, allocations: 103.6 kB / 0.5202 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1178, allocations: 127.2 kB / 0.5203 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1181, allocations: 278.6 kB / 0.5206 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1181, allocations: 0 / 0.5206 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1181, allocations: 0 / 0.5206 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1181, allocations: 4 kB / 0.5206 GB, free: 7.16 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.002095/0.1202, allocations: 0.7825 MB / 0.5213 GB, free: 6.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1202, allocations: 12.62 kB / 0.5213 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.1203, allocations: 32.7 kB / 0.5214 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.1214, allocations: 452.1 kB / 0.5218 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1215, allocations: 12.38 kB / 0.5218 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.1215, allocations: 16.33 kB / 0.5218 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.1219, allocations: 193.6 kB / 0.522 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1219, allocations: 0 / 0.522 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1219, allocations: 7.938 kB / 0.522 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1219, allocations: 4 kB / 0.522 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.1223, allocations: 191.9 kB / 0.5222 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1234, allocations: 0.6407 MB / 0.5228 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.1242, allocations: 336.3 kB / 0.5232 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.1244, allocations: 92.75 kB / 0.5233 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1245, allocations: 4 kB / 0.5233 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1245, allocations: 34.56 kB / 0.5233 GB, free: 4.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 3.076e-06/0.1245, allocations: 3.984 kB / 0.5233 GB, free: 4.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001252/0.1257, allocations: 0.5049 MB / 0.5238 GB, free: 3.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1258, allocations: 55.34 kB / 0.5238 GB, free: 3.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.1268, allocations: 456.3 kB / 0.5243 GB, free: 3.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1269, allocations: 33.7 kB / 0.5243 GB, free: 3.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.127, allocations: 160.5 kB / 0.5245 GB, free: 2.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.1271, allocations: 91.25 kB / 0.5245 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.1272, allocations: 41.7 kB / 0.5246 GB, free: 2.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1273, allocations: 338.8 kB / 0.5249 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1275, allocations: 88.11 kB / 0.525 GB, free: 2.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1277, allocations: 110.1 kB / 0.5251 GB, free: 2.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.1294, allocations: 0.5141 MB / 0.5256 GB, free: 1.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1294, allocations: 0 / 0.5256 GB, free: 1.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006451/0.13, allocations: 350 kB / 0.5259 GB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.13, allocations: 8 kB / 0.5259 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.13, allocations: 0 / 0.5259 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.1302, allocations: 52.81 kB / 0.526 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1304, allocations: 36.02 kB / 0.526 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.132, allocations: 1.602 MB / 0.5276 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.1324, allocations: 75.77 kB / 0.5277 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1325, allocations: 8 kB / 0.5277 GB, free: 15.48 MB / 398.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.0002165/0.1327, allocations: 162.9 kB / 0.5278 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.1327, allocations: 31.81 kB / 0.5279 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-05/0.1328, allocations: 39.08 kB / 0.5279 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1328, allocations: 4 kB / 0.5279 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1328, allocations: 3.938 kB / 0.5279 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1329, allocations: 7.938 kB / 0.5279 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1333, allocations: 353.3 kB / 0.5282 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1333, allocations: 4.188 kB / 0.5282 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.1335, allocations: 27.94 kB / 0.5283 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.1336, allocations: 48.81 kB / 0.5283 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1337, allocations: 8 kB / 0.5283 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.1351, allocations: 1.618 MB / 0.5299 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1351, allocations: 0 / 0.5299 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/0.136, allocations: 0.5136 MB / 0.5304 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1361, allocations: 112.8 kB / 0.5305 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.1361, allocations: 8.375 kB / 0.5305 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.1366, allocations: 63.91 kB / 0.5306 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.1367, allocations: 27.91 kB / 0.5306 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1367, allocations: 4 kB / 0.5306 GB, free: 12.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009165/0.1376, allocations: 362.8 kB / 0.531 GB, free: 11.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1376, allocations: 0 / 0.531 GB, free: 11.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1379, allocations: 51.95 kB / 0.531 GB, free: 11.82 MB / 398.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.0001307/0.138, allocations: 107.2 kB / 0.5311 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006761/0.1387, allocations: 346.4 kB / 0.5314 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1387, allocations: 4 kB / 0.5315 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.1391, allocations: 245.2 kB / 0.5317 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1395, allocations: 47.56 kB / 0.5317 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1407, allocations: 0.6312 MB / 0.5323 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1411, allocations: 0.7948 MB / 0.5331 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.1413, allocations: 50.25 kB / 0.5332 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.1413, allocations: 31.38 kB / 0.5332 GB, free: 9.496 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1413, allocations: 0 / 0.5332 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Templates: time 0.007528/0.1489, allocations: 3.256 MB / 0.5364 GB, free: 6.242 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: 4.91265731304884] Failed to read output from testmodel.py, exit status != 0: 0.1571224108338356 0.170214572 0.04933796 Calling exit ...