Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.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.0008539/0.0008539, allocations: 75.7 kB / 20.8 MB, free: 3.707 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.0008231/0.0008231, allocations: 165.3 kB / 24.09 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.9057/0.9057, allocations: 177.1 MB / 204.4 MB, free: 5.715 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.06044/0.06044, 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_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.618e-05, allocations: 3.781 kB / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag): time 0.001696/0.001722, allocations: 1.143 MB / 417.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003105, allocations: 1.38 MB / 419.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003205, allocations: 7.75 kB / 419.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.00351, allocations: 75.52 kB / 419.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.003706, allocations: 111.1 kB / 419.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.004141, allocations: 270.5 kB / 419.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.004498, allocations: 313.9 kB / 419.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.004619, allocations: 43.22 kB / 419.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.004816, allocations: 145 kB / 420 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.0051, allocations: 191.5 kB / 420.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.005155, allocations: 24.28 kB / 420.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.005199, allocations: 25.44 kB / 420.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.005331, allocations: 118.5 kB / 420.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.005419, allocations: 84.16 kB / 420.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.005728, allocations: 305.8 kB / 420.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005732, allocations: 4 kB / 420.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.005734, allocations: 0 / 420.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.00574, allocations: 1.344 kB / 420.8 MB, free: 9.973 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.001286/0.007026, allocations: 0.739 MB / 421.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.007063, allocations: 9.984 kB / 421.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.007122, allocations: 40.92 kB / 421.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.007781, allocations: 401.1 kB / 421.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.0078, allocations: 10.62 kB / 421.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.007833, allocations: 14.66 kB / 422 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.008116, allocations: 199.9 kB / 422.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008127, allocations: 4.188 kB / 422.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.008146, allocations: 9.281 kB / 422.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.008153, allocations: 4.438 kB / 422.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.008491, allocations: 216.8 kB / 422.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008963/0.009387, allocations: 0.5923 MB / 423 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.009911, allocations: 293 kB / 423.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.01007, allocations: 123.2 kB / 423.4 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.01009, allocations: 2.219 kB / 423.4 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.01011, allocations: 38.38 kB / 423.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.065e-06/0.01012, allocations: 0 / 423.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001066/0.01118, allocations: 0.5227 MB / 423.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.01121, allocations: 58.11 kB / 424 MB, free: 8.371 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.01191, allocations: 471.6 kB / 424.5 MB, free: 8.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01192, allocations: 30.89 kB / 424.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.01201, allocations: 165.2 kB / 424.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.01207, allocations: 95.89 kB / 424.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.01214, allocations: 47.88 kB / 424.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.0122, allocations: 347.8 kB / 425.1 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.01237, allocations: 108.4 kB / 425.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.01258, allocations: 133.4 kB / 425.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.01402, allocations: 0.7002 MB / 426.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01402, allocations: 1.031 kB / 426.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000561/0.01458, allocations: 416.1 kB / 426.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.0146, allocations: 9.5 kB / 426.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01461, allocations: 1.562 kB / 426.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.0148, allocations: 64.95 kB / 426.5 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01493, allocations: 41.25 kB / 426.6 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.01596, allocations: 1.531 MB / 428.1 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.01623, allocations: 81.66 kB / 428.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.01624, allocations: 5.531 kB / 428.2 MB, free: 5.727 MB / 330.7 MB Warning: Assuming fixed start value for the following 7 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[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] 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 (27): * Single equations (assignments): 26 * 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.0001837/0.01643, allocations: 181.2 kB / 428.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.01647, allocations: 31.41 kB / 428.4 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.01652, allocations: 58.22 kB / 428.5 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01652, allocations: 1.375 kB / 428.5 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.01653, allocations: 1.25 kB / 428.5 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01654, allocations: 2.844 kB / 428.5 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.01681, allocations: 268 kB / 428.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01682, allocations: 4.797 kB / 428.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.01696, allocations: 34.69 kB / 428.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.0171, allocations: 60.91 kB / 428.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.01712, allocations: 9.25 kB / 428.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008055/0.01793, allocations: 1.524 MB / 430.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01793, allocations: 4.062 kB / 430.4 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.01857, allocations: 0.588 MB / 431 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.01863, allocations: 41.44 kB / 431 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.01866, allocations: 7.641 kB / 431 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.01891, allocations: 68.11 kB / 431.1 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.01897, allocations: 19.53 kB / 431.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01898, allocations: 8.406 kB / 431.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00054/0.01952, allocations: 372.2 kB / 431.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01952, allocations: 0 / 431.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.0198, allocations: 67.12 kB / 431.5 MB, free: 3.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],H.x_scaled[1],H.x_scaled[2],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 (19): * Single equations (assignments): 18 * 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.0001022/0.0199, allocations: 110.7 kB / 431.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005659/0.02046, allocations: 390.1 kB / 432 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.02047, allocations: 4.062 kB / 432 MB, free: 3.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.0207, allocations: 261.5 kB / 432.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.02103, allocations: 50.23 kB / 432.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02215, allocations: 0.6958 MB / 433 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.02234, allocations: 199.8 kB / 433.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.0225, allocations: 76.39 kB / 433.3 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.02256, allocations: 23.47 kB / 433.3 MB, free: 2.516 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02257, allocations: 0 / 433.3 MB, free: 2.516 MB / 330.7 MB Notification: Performance of Templates: time 0.005959/0.02852, allocations: 3.716 MB / 437 MB, free: 1.012 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag -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_simple_lead_lag.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.9868271248415112] Failed to read output from testmodel.py, exit status != 0: 0.03517021797597408 0.043984831 0.036401103000000004 Calling exit ...