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.001401/0.001401, allocations: 83.03 kB / 19.96 MB, free: 1.754 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.001499/0.001499, allocations: 165.5 kB / 23.23 MB, free: 4.883 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.523/1.523, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.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.1089/0.1089, allocations: 18.14 MB / 278.1 MB, free: 15.05 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: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 415.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.145e-05, allocations: 6.281 kB / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003259/0.00329, allocations: 1.912 MB / 417.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.004822, allocations: 0.7169 MB / 418.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.004987, allocations: 4 kB / 418.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.005416, allocations: 83.47 kB / 418.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.005761, allocations: 115.3 kB / 418.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.006527, allocations: 291.2 kB / 418.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.007034, allocations: 339.1 kB / 419 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.007233, allocations: 40.91 kB / 419.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.007502, allocations: 147.6 kB / 419.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.007863, allocations: 183.5 kB / 419.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.007944, allocations: 28 kB / 419.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.007999, allocations: 24 kB / 419.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.008143, allocations: 99.64 kB / 419.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.008269, allocations: 75.69 kB / 419.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.008644, allocations: 287 kB / 419.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.008649, allocations: 0 / 419.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00865, allocations: 0 / 419.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.00866, allocations: 0 / 419.9 MB, free: 14.25 MB / 350.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.002219/0.01088, allocations: 0.6995 MB / 420.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.01092, allocations: 8.922 kB / 420.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.01102, allocations: 40.64 kB / 420.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.0122, allocations: 397.5 kB / 421 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.01222, allocations: 8.375 kB / 421 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.01227, allocations: 24.33 kB / 421 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.01264, allocations: 174.6 kB / 421.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01265, allocations: 192 / 421.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.01268, allocations: 8.375 kB / 421.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.01268, allocations: 3.938 kB / 421.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.01308, allocations: 187.7 kB / 421.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01421, allocations: 0.5351 MB / 421.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/0.01512, allocations: 333.5 kB / 422.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.01531, allocations: 96.8 kB / 422.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.01535, allocations: 8 kB / 422.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.01538, allocations: 34.5 kB / 422.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.01539, allocations: 0 / 422.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001275/0.01666, allocations: 426 kB / 422.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.01673, allocations: 55.41 kB / 422.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.01786, allocations: 456.3 kB / 423.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.01789, allocations: 33.7 kB / 423.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.01804, allocations: 168.4 kB / 423.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/0.01812, allocations: 79.33 kB / 423.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.01821, allocations: 49.64 kB / 423.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01838, allocations: 346.7 kB / 424 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.01854, allocations: 80.19 kB / 424.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.01873, allocations: 106.1 kB / 424.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.0204, allocations: 0.527 MB / 424.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.0204, allocations: 0 / 424.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006876/0.02109, allocations: 342 kB / 425 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.02111, allocations: 11.97 kB / 425 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.02111, allocations: 0 / 425 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/0.02134, allocations: 52.81 kB / 425.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.02152, allocations: 35.92 kB / 425.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.02311, allocations: 1.48 MB / 426.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.02357, allocations: 75.89 kB / 426.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.02359, allocations: 4 kB / 426.7 MB, free: 7.141 MB / 350.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.000229/0.02382, allocations: 166.8 kB / 426.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.02389, allocations: 31.75 kB / 426.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/0.02398, allocations: 43.17 kB / 426.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.02398, allocations: 4 kB / 426.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.02399, allocations: 0 / 426.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02399, allocations: 0 / 426.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.02436, allocations: 253.1 kB / 427.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.02437, allocations: 3.938 kB / 427.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.02459, allocations: 27.98 kB / 427.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.0248, allocations: 56.77 kB / 427.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.02483, allocations: 7.984 kB / 427.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.02629, allocations: 1.468 MB / 428.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02629, allocations: 0 / 428.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008563/0.02715, allocations: 0.5115 MB / 429.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.02723, allocations: 47.8 kB / 429.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.02727, allocations: 8 kB / 429.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.02776, allocations: 59.91 kB / 429.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.02784, allocations: 19.95 kB / 429.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.02786, allocations: 8 kB / 429.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009859/0.02884, allocations: 354.9 kB / 429.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02884, allocations: 3.938 kB / 429.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.0292, allocations: 63.89 kB / 429.8 MB, free: 3.859 MB / 350.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.0001472/0.02934, allocations: 107.2 kB / 429.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.03008, allocations: 353.2 kB / 430.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03008, allocations: 0 / 430.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.03051, allocations: 234.5 kB / 430.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.03096, allocations: 59.94 kB / 430.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.03247, allocations: 0.6008 MB / 431.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.03272, allocations: 195.4 kB / 431.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.03287, allocations: 62.25 kB / 431.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.03296, allocations: 24.5 kB / 431.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.03297, allocations: 0 / 431.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Templates: time 0.008786/0.04175, allocations: 3.396 MB / 434.8 MB, free: 14.81 MB / 366.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.714498218148947] Failed to read output from testmodel.py, exit status != 0: 0.05069926753640175 0.064441739 0.052725514 Calling exit ...