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.001889/0.001889, allocations: 79.69 kB / 20.23 MB, free: 4.195 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.002019/0.002019, allocations: 165.3 kB / 23.55 MB, free: 0.875 MB / 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.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.1156/0.1156, allocations: 18.14 MB / 278.5 MB, free: 11.34 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.634e-06/1.634e-06, allocations: 0 / 356.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.497e-05, allocations: 2.312 kB / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003706/0.003741, allocations: 1.889 MB / 358.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.005256, allocations: 0.6038 MB / 359 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.005392, allocations: 7.938 kB / 359 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.005773, allocations: 63.5 kB / 359.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.005988, allocations: 47.66 kB / 359.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.006411, allocations: 151.7 kB / 359.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.006812, allocations: 248 kB / 359.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.006947, allocations: 40.52 kB / 359.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.007151, allocations: 95.7 kB / 359.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.007379, allocations: 107.7 kB / 359.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.007434, allocations: 20 kB / 359.8 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.66e-05/0.00748, allocations: 20 kB / 359.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.007586, allocations: 59.75 kB / 359.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.913e-05/0.007685, allocations: 63.81 kB / 359.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.00801, allocations: 203.2 kB / 360.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.008013, allocations: 0 / 360.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008014, allocations: 0 / 360.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.008021, allocations: 0 / 360.1 MB, free: 4.586 MB / 282.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.001249/0.00927, allocations: 0.5889 MB / 360.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.009306, allocations: 8.922 kB / 360.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/0.009402, allocations: 36.8 kB / 360.7 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.009871, allocations: 231.8 kB / 361 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.009904, allocations: 12.38 kB / 361 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.00995, allocations: 20.38 kB / 361 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.01034, allocations: 192.7 kB / 361.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.01036, allocations: 192 / 361.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.01038, allocations: 8.375 kB / 361.2 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.01039, allocations: 11.92 kB / 361.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.01073, allocations: 115.9 kB / 361.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.012, allocations: 0.7822 MB / 362.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.01259, allocations: 183.2 kB / 362.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.01274, allocations: 67.95 kB / 362.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.01277, allocations: 3.953 kB / 362.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.01281, allocations: 37.39 kB / 362.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.01281, allocations: 0 / 362.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005889/0.0134, allocations: 217.5 kB / 362.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.01345, allocations: 63.3 kB / 362.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.01389, allocations: 324.2 kB / 363 MB, free: 1.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.01393, allocations: 29.7 kB / 363 MB, free: 1.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01409, allocations: 195.1 kB / 363.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/0.01417, allocations: 87.3 kB / 363.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.01429, allocations: 75.31 kB / 363.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002936/0.01458, allocations: 0.5157 MB / 363.9 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.01473, allocations: 52.25 kB / 363.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01494, allocations: 130.3 kB / 364 MB, free: 396 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.01543, allocations: 260.5 kB / 364.3 MB, free: 104 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01543, allocations: 0 / 364.3 MB, free: 104 kB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005024/0.01593, allocations: 246.1 kB / 364.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.01595, allocations: 16.17 kB / 364.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01596, allocations: 0 / 364.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.01597, allocations: 4 kB / 364.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.01627, allocations: 63.84 kB / 364.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.01628, allocations: 4 kB / 364.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.01648, allocations: 35.77 kB / 364.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.0165, allocations: 12 kB / 364.7 MB, free: 15.73 MB / 298.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.000228/0.01673, allocations: 192.2 kB / 364.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.01679, allocations: 27.86 kB / 364.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.01725, allocations: 206 kB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01726, allocations: 0 / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.01726, allocations: 4 kB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01727, allocations: 3.938 kB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.01761, allocations: 228.5 kB / 365.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01762, allocations: 3.938 kB / 365.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.01791, allocations: 43.97 kB / 365.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01791, allocations: 3.938 kB / 365.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.01794, allocations: 8 kB / 365.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01794, allocations: 4 kB / 365.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01794, allocations: 0 / 365.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.01858, allocations: 411.5 kB / 365.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.01864, allocations: 27.78 kB / 365.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.01868, allocations: 4 kB / 365.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.01889, allocations: 15.98 kB / 365.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.01896, allocations: 23.91 kB / 365.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.01897, allocations: 4 kB / 365.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003055/0.01928, allocations: 221.1 kB / 366.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01928, allocations: 0 / 366.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000289/0.01956, allocations: 40 kB / 366.1 MB, free: 14.23 MB / 298.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.0001464/0.01971, allocations: 103.2 kB / 366.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.02011, allocations: 170.1 kB / 366.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02012, allocations: 384 / 366.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.02029, allocations: 95.53 kB / 366.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.02066, allocations: 39.59 kB / 366.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.02171, allocations: 485.5 kB / 367 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.02189, allocations: 146.5 kB / 367.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.02201, allocations: 33.92 kB / 367.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.02209, allocations: 28.5 kB / 367.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02209, allocations: 0 / 367.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Templates: time 0.006603/0.0287, allocations: 2.224 MB / 369.4 MB, free: 10.88 MB / 298.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: 4.659895199001767]