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.00125/0.00125, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001068/0.001068, allocations: 177 kB / 24.27 MB, free: 284 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 1.023/1.023, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.07138/0.07138, allocations: 18.14 MB / 279.2 MB, free: 11.37 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,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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 357.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.048e-05, allocations: 2.312 kB / 357.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.005846/0.005876, allocations: 1.928 MB / 359.2 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.01001, allocations: 0.6039 MB / 359.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.01014, allocations: 3.938 kB / 359.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.01048, allocations: 51.52 kB / 359.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.01066, allocations: 55.7 kB / 359.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.01098, allocations: 155.6 kB / 360 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.0113, allocations: 248 kB / 360.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.01143, allocations: 44.36 kB / 360.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.01156, allocations: 95.72 kB / 360.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.01172, allocations: 103.7 kB / 360.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.01177, allocations: 20 kB / 360.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.739e-05/0.01179, allocations: 20 kB / 360.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.01187, allocations: 67.8 kB / 360.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.01195, allocations: 55.77 kB / 360.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.01518, allocations: 147.4 kB / 360.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01519, allocations: 0 / 360.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01519, allocations: 0 / 360.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.01519, allocations: 0 / 360.8 MB, free: 5.633 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000853/0.01605, allocations: 0.5737 MB / 361.4 MB, free: 5.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.01609, allocations: 12.86 kB / 361.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.01617, allocations: 40.8 kB / 361.5 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.01654, allocations: 244.6 kB / 361.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.01657, allocations: 16.31 kB / 361.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.0166, allocations: 16.38 kB / 361.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.0169, allocations: 164.8 kB / 361.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.01691, allocations: 4.172 kB / 361.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.01693, allocations: 8.375 kB / 361.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.01694, allocations: 7.938 kB / 361.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.01713, allocations: 76.47 kB / 362 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00387/0.021, allocations: 0.7354 MB / 362.7 MB, free: 3.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.02138, allocations: 155.1 kB / 362.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.02147, allocations: 43.66 kB / 362.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.02149, allocations: 4 kB / 362.9 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.02152, allocations: 41.39 kB / 363 MB, free: 3.352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.02152, allocations: 4 kB / 363 MB, free: 3.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003965/0.02192, allocations: 168.2 kB / 363.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.02196, allocations: 67.27 kB / 363.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.02219, allocations: 272.3 kB / 363.5 MB, free: 2.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.02222, allocations: 33.7 kB / 363.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.02232, allocations: 191.1 kB / 363.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.02238, allocations: 79.38 kB / 363.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.02246, allocations: 63.3 kB / 363.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.02261, allocations: 0.5001 MB / 364.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.02269, allocations: 40.19 kB / 364.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.02281, allocations: 110.3 kB / 364.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.02311, allocations: 197.6 kB / 364.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02312, allocations: 0 / 364.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000321/0.02344, allocations: 207.7 kB / 364.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.02345, allocations: 8 kB / 364.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.02346, allocations: 0 / 364.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.02348, allocations: 4 kB / 364.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.0237, allocations: 63.84 kB / 364.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.02371, allocations: 4 kB / 364.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/0.02685, allocations: 39.75 kB / 365 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.02687, allocations: 12 kB / 365 MB, free: 1.191 MB / 330.7 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.000206/0.02707, allocations: 180.6 kB / 365.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.02713, allocations: 27.86 kB / 365.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.02746, allocations: 167.6 kB / 365.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.02747, allocations: 7.984 kB / 365.4 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02747, allocations: 0 / 365.4 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02747, allocations: 3.938 kB / 365.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.02772, allocations: 208.4 kB / 365.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02773, allocations: 8 kB / 365.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.02795, allocations: 43.92 kB / 365.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.02795, allocations: 4 kB / 365.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.02798, allocations: 7.984 kB / 365.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.02798, allocations: 4 kB / 365.6 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02799, allocations: 0 / 365.6 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.02838, allocations: 354.4 kB / 366 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.02841, allocations: 23.8 kB / 366 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.02845, allocations: 8 kB / 366 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.02858, allocations: 23.97 kB / 366 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.02864, allocations: 15.91 kB / 366 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.02865, allocations: 11.94 kB / 366.1 MB, free: 44 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.0288, allocations: 185.1 kB / 366.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0288, allocations: 4 kB / 366.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.02909, allocations: 36 kB / 366.3 MB, free: 15.82 MB / 346.7 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 0.0001127/0.0292, allocations: 103.2 kB / 366.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.02947, allocations: 135.4 kB / 366.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02947, allocations: 0 / 366.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.02957, allocations: 70.53 kB / 366.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.03292, allocations: 38.83 kB / 366.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.03378, allocations: 466 kB / 367.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.129e-05/0.03385, allocations: 96.3 kB / 367.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.03395, allocations: 25.94 kB / 367.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.03403, allocations: 28.5 kB / 367.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03403, allocations: 0 / 367.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Templates: time 0.01137/0.0454, allocations: 2.23 MB / 369.5 MB, free: 12.61 MB / 346.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.076726342085749]