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.001274/0.001274, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002261/0.003534, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001097/0.001097, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002071/0.003167, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.994/0.994, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09955/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.06359/0.06359, allocations: 18.12 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01193/0.07553, allocations: 6.793 MB / 269.1 MB, free: 6.242 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.333e-06/1.333e-06, allocations: 0 / 270.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.727e-06/1.006e-05, allocations: 6.312 kB / 270.5 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.001989/0.001999, allocations: 1.967 MB / 272.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.00272, allocations: 0.6268 MB / 273.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.002796, allocations: 0 / 273.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.002987, allocations: 59.52 kB / 273.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.003089, allocations: 55.62 kB / 273.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.003312, allocations: 147.7 kB / 273.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.003511, allocations: 243.9 kB / 273.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.003605, allocations: 38.53 kB / 273.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.003758, allocations: 167.5 kB / 273.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.003889, allocations: 103.7 kB / 273.9 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.003923, allocations: 20 kB / 273.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.003945, allocations: 16 kB / 273.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.003999, allocations: 47.8 kB / 274 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.004043, allocations: 39.88 kB / 274 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.004182, allocations: 139.4 kB / 274.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.004191, allocations: 0 / 274.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004192, allocations: 0 / 274.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.0042, allocations: 0 / 274.2 MB, free: 1.105 MB / 266.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.0005813/0.004782, allocations: 475.5 kB / 274.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.004807, allocations: 12.03 kB / 274.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.004857, allocations: 24.92 kB / 274.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.00508, allocations: 214 kB / 274.9 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.005101, allocations: 12.38 kB / 274.9 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.005129, allocations: 24.3 kB / 274.9 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.005298, allocations: 151.8 kB / 275 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.005306, allocations: 192 / 275 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005317, allocations: 4.375 kB / 275.1 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.005325, allocations: 7.938 kB / 275.1 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.005414, allocations: 66.58 kB / 275.1 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1617/0.1671, allocations: 0.5013 MB / 275.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.1674, allocations: 166.1 kB / 275.8 MB, free: 2.984 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.1674, allocations: 33.31 kB / 275.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1675, allocations: 4.375 kB / 275.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1675, allocations: 36.3 kB / 275.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.1675, allocations: 0 / 275.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002463/0.1677, allocations: 123.7 kB / 276 MB, free: 2.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.1678, allocations: 54.16 kB / 276 MB, free: 2.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1679, allocations: 217.7 kB / 276.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1679, allocations: 30.8 kB / 276.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.168, allocations: 136.3 kB / 276.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.168, allocations: 80.53 kB / 276.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1681, allocations: 51.75 kB / 276.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.1681, allocations: 343 kB / 276.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.1681, allocations: 24.42 kB / 276.9 MB, free: 2.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.1682, allocations: 79.03 kB / 277 MB, free: 2.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1684, allocations: 167.4 kB / 277.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1684, allocations: 1.5 kB / 277.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001753/0.1686, allocations: 151.5 kB / 277.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1686, allocations: 7.188 kB / 277.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1686, allocations: 1.25 kB / 277.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1686, allocations: 3.906 kB / 277.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.1689, allocations: 107.9 kB / 277.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1689, allocations: 4.609 kB / 277.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.169, allocations: 30.95 kB / 277.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.169, allocations: 10.8 kB / 277.5 MB, free: 2.055 MB / 266.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.0001041/0.1691, allocations: 134.4 kB / 277.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1692, allocations: 20.39 kB / 277.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.1694, allocations: 136 kB / 277.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1694, allocations: 2.609 kB / 277.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1694, allocations: 2.5 kB / 277.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1694, allocations: 1.312 kB / 277.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1695, allocations: 144.5 kB / 277.9 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1695, allocations: 0.6875 kB / 277.9 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1697, allocations: 65.64 kB / 277.9 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.1697, allocations: 25.52 kB / 278 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1697, allocations: 3.219 kB / 278 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1698, allocations: 6.375 kB / 278 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1698, allocations: 1.094 kB / 278 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1698, allocations: 1.188 kB / 278 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.17, allocations: 307.1 kB / 278.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.17, allocations: 9.172 kB / 278.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.1701, allocations: 13.66 kB / 278.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1702, allocations: 12.34 kB / 278.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1702, allocations: 6.312 kB / 278.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.646e-05/0.1702, allocations: 70.7 kB / 278.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1702, allocations: 2.734 kB / 278.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.1704, allocations: 42.78 kB / 278.4 MB, free: 1.605 MB / 266.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.571e-05/0.1705, allocations: 86.3 kB / 278.5 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1707, allocations: 109.1 kB / 278.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.1707, allocations: 3.438 kB / 278.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.1708, allocations: 69.48 kB / 278.7 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.171, allocations: 253.5 kB / 278.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.1717, allocations: 454.4 kB / 279.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.1718, allocations: 89.92 kB / 279.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.565e-05/0.1718, allocations: 26.75 kB / 279.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.172, allocations: 92.66 kB / 279.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.172, allocations: 0 / 279.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of Templates: time 0.00505/0.177, allocations: 2.764 MB / 282.4 MB, free: 0.7969 MB / 266.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.701172646135092]