Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.001271/0.001271, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001514/0.001514, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.1071/0.1071, allocations: 24.12 MB / 337.3 MB, free: 11.45 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") [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.002097/0.002097, allocations: 75.83 kB / 474.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3977, allocations: 59.6 MB / 0.5216 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003227/0.4009, allocations: 1.934 MB / 0.5235 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.4022, allocations: 0.6306 MB / 0.5241 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.4023, allocations: 10.06 kB / 0.5242 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.4026, allocations: 49.83 kB / 0.5242 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.4028, allocations: 58.98 kB / 0.5243 GB, free: 8.547 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.4031, allocations: 122.1 kB / 0.5244 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.4037, allocations: 357.4 kB / 0.5247 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.4038, allocations: 47.05 kB / 0.5248 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.404, allocations: 128.1 kB / 0.5249 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.4042, allocations: 133.5 kB / 0.525 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.4043, allocations: 16.97 kB / 0.525 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-05/0.4043, allocations: 17.88 kB / 0.525 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.4044, allocations: 65.56 kB / 0.5251 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.4045, allocations: 100.5 kB / 0.5252 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.4047, allocations: 199 kB / 0.5254 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4047, allocations: 1 kB / 0.5254 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.4047, allocations: 0 / 0.5254 GB, free: 8.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4048, allocations: 0 / 0.5254 GB, free: 8.027 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001282/0.406, allocations: 0.5189 MB / 0.5259 GB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4061, allocations: 10.45 kB / 0.5259 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.4061, allocations: 25.61 kB / 0.5259 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.4067, allocations: 261.8 kB / 0.5262 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4067, allocations: 19.06 kB / 0.5262 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.4068, allocations: 20.27 kB / 0.5262 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.4072, allocations: 193.2 kB / 0.5264 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4072, allocations: 5.766 kB / 0.5264 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4072, allocations: 8.969 kB / 0.5264 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4072, allocations: 4.812 kB / 0.5264 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.4075, allocations: 158.6 kB / 0.5266 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009923/0.4085, allocations: 0.7047 MB / 0.5273 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.409, allocations: 212 kB / 0.5275 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.4092, allocations: 78.66 kB / 0.5275 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.4092, allocations: 6.375 kB / 0.5275 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4092, allocations: 39.56 kB / 0.5276 GB, free: 6.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.4092, allocations: 0 / 0.5276 GB, free: 6.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005758/0.4098, allocations: 263.9 kB / 0.5278 GB, free: 6.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4098, allocations: 52.88 kB / 0.5279 GB, free: 6.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.4103, allocations: 295.8 kB / 0.5282 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4103, allocations: 30.61 kB / 0.5282 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.4104, allocations: 150.9 kB / 0.5283 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.4105, allocations: 76.3 kB / 0.5284 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.4105, allocations: 56.97 kB / 0.5285 GB, free: 5.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.4106, allocations: 332.9 kB / 0.5288 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4107, allocations: 73.02 kB / 0.5289 GB, free: 5.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.4109, allocations: 126.8 kB / 0.529 GB, free: 5.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.4123, allocations: 463.2 kB / 0.5294 GB, free: 5.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4123, allocations: 1.031 kB / 0.5294 GB, free: 5.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004794/0.4128, allocations: 281.1 kB / 0.5297 GB, free: 5.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4128, allocations: 6.719 kB / 0.5297 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4128, allocations: 5.375 kB / 0.5297 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4128, allocations: 3.469 kB / 0.5297 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.4132, allocations: 65.19 kB / 0.5298 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4132, allocations: 3.359 kB / 0.5298 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.4135, allocations: 46.86 kB / 0.5298 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.4135, allocations: 15 kB / 0.5298 GB, free: 5.211 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) \"Connector of Real output signal\" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real 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: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.4137, allocations: 149.1 kB / 0.53 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.4137, allocations: 30.05 kB / 0.53 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.4142, allocations: 230.8 kB / 0.5302 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4142, allocations: 2.844 kB / 0.5302 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4142, allocations: 4.75 kB / 0.5302 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4142, allocations: 0.6094 kB / 0.5302 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.4145, allocations: 275.8 kB / 0.5305 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4145, allocations: 0 / 0.5305 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.4148, allocations: 46.75 kB / 0.5305 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4148, allocations: 9 kB / 0.5305 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.4148, allocations: 6.125 kB / 0.5305 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4148, allocations: 2.719 kB / 0.5305 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4148, allocations: 0 / 0.5305 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.4154, allocations: 401.8 kB / 0.5309 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4154, allocations: 30.11 kB / 0.531 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4155, allocations: 3.938 kB / 0.531 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4157, allocations: 29.23 kB / 0.531 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.4158, allocations: 17.73 kB / 0.531 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4158, allocations: 8.5 kB / 0.531 GB, free: 4.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004092/0.4162, allocations: 224.1 kB / 0.5312 GB, free: 4.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4162, allocations: 0 / 0.5312 GB, free: 4.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000308/0.4165, allocations: 39.31 kB / 0.5313 GB, free: 4.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.042e-05/0.4166, allocations: 108 kB / 0.5314 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.4171, allocations: 189 kB / 0.5316 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4171, allocations: 1.188 kB / 0.5316 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.4172, allocations: 91.94 kB / 0.5316 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.4176, allocations: 34.38 kB / 0.5317 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4187, allocations: 0.5529 MB / 0.5322 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4189, allocations: 0.7565 MB / 0.533 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.419, allocations: 22.56 kB / 0.533 GB, free: 3.07 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.419, allocations: 4 kB / 0.533 GB, free: 3.066 MB / 382.1 MB Notification: Performance of Templates: time 0.006391/0.4254, allocations: 2.846 MB / 0.5358 GB, free: 2.828 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.779195859795436] Failed to read output from testmodel.py, exit status != 0: 0.43589907395653427 0.46554617800000003 0.054888612 Calling exit ...