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.00141/0.00141, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001767/0.001767, allocations: 169 kB / 23.82 MB, free: 0.7539 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 0.976/0.976, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.06429/0.06429, allocations: 18.14 MB / 278.9 MB, free: 11.28 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.363e-06/1.363e-06, allocations: 3.938 kB / 357.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.008e-05, allocations: 9.203 kB / 357.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002107/0.002127, allocations: 1.924 MB / 359.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.003012, allocations: 0.6153 MB / 359.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.003101, allocations: 0 / 359.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.003392, allocations: 59.52 kB / 359.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.003531, allocations: 51.64 kB / 359.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.003778, allocations: 147.7 kB / 360.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.004016, allocations: 255.9 kB / 360.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.00412, allocations: 44.5 kB / 360.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.004224, allocations: 95.7 kB / 360.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.004355, allocations: 111.7 kB / 360.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.00439, allocations: 16 kB / 360.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.004416, allocations: 23.94 kB / 360.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.004489, allocations: 59.75 kB / 360.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.004545, allocations: 59.83 kB / 360.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.00472, allocations: 151.3 kB / 360.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004723, allocations: 0 / 360.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004723, allocations: 0 / 360.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004728, allocations: 0 / 360.9 MB, free: 4.176 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.0007031/0.005431, allocations: 0.5698 MB / 361.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.005467, allocations: 8.922 kB / 361.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.005532, allocations: 40.8 kB / 361.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.005811, allocations: 240.6 kB / 361.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.005837, allocations: 12.38 kB / 361.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.005873, allocations: 20.38 kB / 361.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.006104, allocations: 172.6 kB / 361.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006113, allocations: 192 / 361.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.006128, allocations: 4.375 kB / 362 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.006138, allocations: 7.938 kB / 362 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.006278, allocations: 76.53 kB / 362 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.006959, allocations: 0.7469 MB / 362.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.007235, allocations: 139.2 kB / 362.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.007302, allocations: 48 kB / 363 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.007324, allocations: 7.953 kB / 363 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.007347, allocations: 41.33 kB / 363 MB, free: 1.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.007349, allocations: 0 / 363 MB, free: 1.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003122/0.007661, allocations: 176.2 kB / 363.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.007693, allocations: 63.3 kB / 363.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.007864, allocations: 272.3 kB / 363.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.007881, allocations: 29.7 kB / 363.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.007966, allocations: 195.1 kB / 363.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.008008, allocations: 75.38 kB / 363.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.008065, allocations: 63.3 kB / 363.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.00818, allocations: 0.5079 MB / 364.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.008238, allocations: 36.27 kB / 364.4 MB, free: 444 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.008329, allocations: 114.3 kB / 364.5 MB, free: 300 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.008548, allocations: 193.3 kB / 364.7 MB, free: 76 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008551, allocations: 0 / 364.7 MB, free: 76 kB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002388/0.008789, allocations: 214 kB / 364.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.008801, allocations: 4 kB / 364.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.008807, allocations: 4 kB / 364.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.00882, allocations: 4 kB / 364.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.008985, allocations: 67.84 kB / 365 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.008992, allocations: 7.984 kB / 365 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.009081, allocations: 32.02 kB / 365 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.009094, allocations: 15.94 kB / 365.1 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.0001186/0.009212, allocations: 168.5 kB / 365.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.009248, allocations: 35.84 kB / 365.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.00946, allocations: 171 kB / 365.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009462, allocations: 4 kB / 365.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.009465, allocations: 0 / 365.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.00947, allocations: 7.922 kB / 365.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.009655, allocations: 212.5 kB / 365.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009656, allocations: 0 / 365.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.009804, allocations: 39.98 kB / 365.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009806, allocations: 0 / 365.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.009827, allocations: 11.98 kB / 365.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009828, allocations: 0 / 365.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.009829, allocations: 0 / 365.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.01014, allocations: 355.5 kB / 366 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.01016, allocations: 23.8 kB / 366.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01018, allocations: 11.98 kB / 366.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.01027, allocations: 15.98 kB / 366.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.01032, allocations: 19.91 kB / 366.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.01033, allocations: 8 kB / 366.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.023e-05/0.01042, allocations: 189.1 kB / 366.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01042, allocations: 0 / 366.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.01061, allocations: 40 kB / 366.3 MB, free: 14.38 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 7.234e-05/0.01068, allocations: 103.2 kB / 366.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.01087, allocations: 131.5 kB / 366.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01087, allocations: 0 / 366.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.01095, allocations: 78.53 kB / 366.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01117, allocations: 31.61 kB / 366.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.01177, allocations: 469.9 kB / 367.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.01182, allocations: 92.3 kB / 367.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.024e-05/0.01189, allocations: 29.94 kB / 367.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.01195, allocations: 20.5 kB / 367.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01195, allocations: 0 / 367.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Templates: time 0.003888/0.01584, allocations: 2.327 MB / 369.6 MB, free: 11.08 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: 2.8884668108075857]