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.0009491/0.0009491, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.001519/0.001519, allocations: 173 kB / 24.17 MB, free: 336 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.9848/0.9848, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.08612/0.08612, allocations: 18.14 MB / 279.2 MB, free: 11.2 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: 1.188 kB / 304.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.626e-05, allocations: 2.312 kB / 304.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003074/0.0031, allocations: 1.965 MB / 306.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004246, allocations: 0.6215 MB / 307.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.004383, allocations: 6.5 kB / 307.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.00479, allocations: 56.52 kB / 307.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.004967, allocations: 55.53 kB / 307.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.005386, allocations: 152.7 kB / 307.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.005708, allocations: 242.2 kB / 307.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.005824, allocations: 52.53 kB / 307.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.005974, allocations: 96.62 kB / 307.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.006155, allocations: 108.5 kB / 307.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.006191, allocations: 16 kB / 307.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.381e-05/0.006215, allocations: 20 kB / 307.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.006289, allocations: 65.67 kB / 308 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.00635, allocations: 57.28 kB / 308.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.006547, allocations: 144.5 kB / 308.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00655, allocations: 0 / 308.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.006552, allocations: 0.5156 kB / 308.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.006557, allocations: 0 / 308.2 MB, free: 14.22 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.0006256/0.007183, allocations: 453.5 kB / 308.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.007221, allocations: 12.92 kB / 308.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.007284, allocations: 26.7 kB / 308.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.007582, allocations: 210.8 kB / 308.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.007607, allocations: 12.38 kB / 308.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.007637, allocations: 20.89 kB / 308.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.00784, allocations: 156.3 kB / 309.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.007848, allocations: 192 / 309.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.007862, allocations: 8.375 kB / 309.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.00787, allocations: 7.938 kB / 309.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.007973, allocations: 63.19 kB / 309.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.008528, allocations: 0.5095 MB / 309.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.008773, allocations: 160.2 kB / 309.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.00882, allocations: 40.78 kB / 309.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.008841, allocations: 4 kB / 309.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.008863, allocations: 34.56 kB / 309.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.008865, allocations: 0 / 309.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002163/0.009081, allocations: 137 kB / 310 MB, free: 12.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.009111, allocations: 51.41 kB / 310.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.009252, allocations: 224.9 kB / 310.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.009268, allocations: 25.7 kB / 310.3 MB, free: 12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.009328, allocations: 128.4 kB / 310.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.009372, allocations: 83.25 kB / 310.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.009442, allocations: 49.69 kB / 310.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.009537, allocations: 338.8 kB / 310.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.009579, allocations: 27.09 kB / 310.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.009646, allocations: 82.5 kB / 311 MB, free: 11.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.009826, allocations: 162.4 kB / 311.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.009828, allocations: 0 / 311.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000172/0.01, allocations: 153.6 kB / 311.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01002, allocations: 11.98 kB / 311.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.01002, allocations: 0 / 311.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01004, allocations: 4 kB / 311.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.01032, allocations: 99.98 kB / 311.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01032, allocations: 4 kB / 311.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.01041, allocations: 31.84 kB / 311.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01042, allocations: 11.98 kB / 311.5 MB, free: 10.77 MB / 282.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.iTS,PI.iNoInc,PI.iNoDec) * 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.0001233/0.01054, allocations: 132.6 kB / 311.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.01058, allocations: 15.98 kB / 311.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.01075, allocations: 136.6 kB / 311.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01076, allocations: 4 kB / 311.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01076, allocations: 0 / 311.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01076, allocations: 0 / 311.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.01092, allocations: 145.6 kB / 311.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01093, allocations: 0 / 311.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.0111, allocations: 62.73 kB / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.0111, allocations: 0 / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.01111, allocations: 4 kB / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01112, allocations: 0 / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01112, allocations: 7.938 kB / 312 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.01137, allocations: 313.3 kB / 312.3 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.0114, allocations: 27.78 kB / 312.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.01142, allocations: 8 kB / 312.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.01149, allocations: 4 kB / 312.3 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.01153, allocations: 15.97 kB / 312.3 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.01154, allocations: 4 kB / 312.3 MB, free: 9.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.565e-05/0.0116, allocations: 70.78 kB / 312.4 MB, free: 9.789 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0116, allocations: 0 / 312.4 MB, free: 9.789 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.01176, allocations: 44 kB / 312.5 MB, free: 9.746 MB / 282.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 8.449e-05/0.01185, allocations: 84.41 kB / 312.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.012, allocations: 100.6 kB / 312.6 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.01201, allocations: 8 kB / 312.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.01207, allocations: 56.75 kB / 312.7 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01227, allocations: 36.89 kB / 312.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.01284, allocations: 469 kB / 313.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.349e-05/0.0129, allocations: 92.17 kB / 313.3 MB, free: 8.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.878e-05/0.01297, allocations: 37.92 kB / 313.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.01307, allocations: 75.38 kB / 313.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01308, allocations: 0 / 313.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of Templates: time 0.004296/0.01737, allocations: 2.555 MB / 315.9 MB, free: 6.242 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8447491549886763]