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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007711/0.007711, allocations: 100.7 kB / 15.73 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 184.8 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2186/0.2186, allocations: 22.38 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 58.41 kB / 437.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1637, allocations: 54.97 MB / 492 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.004744/0.1686, allocations: 1.914 MB / 493.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1704, allocations: 0.5924 MB / 494.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1706, allocations: 7.938 kB / 494.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.1711, allocations: 47.58 kB / 494.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1713, allocations: 47.7 kB / 494.6 MB, free: 14.6 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.1718, allocations: 107.8 kB / 494.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.1724, allocations: 316 kB / 495 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1726, allocations: 52.38 kB / 495.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1729, allocations: 119.5 kB / 495.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1732, allocations: 127.5 kB / 495.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.1733, allocations: 16 kB / 495.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.1733, allocations: 20 kB / 495.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1735, allocations: 63.81 kB / 495.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1736, allocations: 95.34 kB / 495.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.174, allocations: 203.2 kB / 495.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.174, allocations: 4 kB / 495.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.174, allocations: 0 / 495.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.174, allocations: 0 / 495.7 MB, free: 13.5 MB / 366.1 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.001965/0.176, allocations: 0.5843 MB / 496.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1761, allocations: 8.031 kB / 496.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.1762, allocations: 24.66 kB / 496.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/0.1771, allocations: 319.4 kB / 496.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.1771, allocations: 12.38 kB / 496.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.1772, allocations: 16.38 kB / 496.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.1778, allocations: 207.8 kB / 496.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1778, allocations: 7.875 kB / 496.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.1779, allocations: 8 kB / 496.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1779, allocations: 8 kB / 496.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.1785, allocations: 147.9 kB / 497.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1801, allocations: 0.7309 MB / 497.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/0.1809, allocations: 220.1 kB / 498 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.1812, allocations: 88.8 kB / 498.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.1813, allocations: 4 kB / 498.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.1813, allocations: 38.5 kB / 498.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.1814, allocations: 0 / 498.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009579/0.1823, allocations: 266.4 kB / 498.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1824, allocations: 55.41 kB / 498.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.1832, allocations: 288.9 kB / 498.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1833, allocations: 33.7 kB / 498.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1834, allocations: 140.2 kB / 498.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1835, allocations: 71 kB / 499 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1836, allocations: 49.7 kB / 499 MB, free: 9.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1838, allocations: 338.8 kB / 499.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1841, allocations: 68.23 kB / 499.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.1844, allocations: 131.2 kB / 499.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.1867, allocations: 457 kB / 500 MB, free: 8.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.1868, allocations: 8 kB / 500 MB, free: 8.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008484/0.1876, allocations: 284.3 kB / 0.4886 GB, free: 8.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.1877, allocations: 16.17 kB / 0.4886 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1877, allocations: 3.938 kB / 0.4886 GB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.1877, allocations: 4 kB / 0.4886 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.1882, allocations: 59.91 kB / 0.4886 GB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.1883, allocations: 4 kB / 0.4886 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.1887, allocations: 47.73 kB / 0.4887 GB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.1888, allocations: 12 kB / 0.4887 GB, free: 8.527 MB / 366.1 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.0002711/0.1891, allocations: 146.5 kB / 0.4888 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.1892, allocations: 31.64 kB / 0.4889 GB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.1899, allocations: 232.8 kB / 0.4891 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1899, allocations: 0 / 0.4891 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1899, allocations: 0 / 0.4891 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.19, allocations: 0 / 0.4891 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.1905, allocations: 305.3 kB / 0.4894 GB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1905, allocations: 0 / 0.4894 GB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.191, allocations: 47.92 kB / 0.4894 GB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.191, allocations: 7.938 kB / 0.4894 GB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.1911, allocations: 3.984 kB / 0.4894 GB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1911, allocations: 0 / 0.4894 GB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1911, allocations: 4 kB / 0.4894 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.1921, allocations: 408.2 kB / 0.4898 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1922, allocations: 100.8 kB / 0.4899 GB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.1923, allocations: 11.94 kB / 0.4899 GB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.1927, allocations: 27.95 kB / 0.49 GB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.1928, allocations: 11.98 kB / 0.49 GB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.1928, allocations: 4 kB / 0.49 GB, free: 7.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006601/0.1935, allocations: 228.4 kB / 0.4902 GB, free: 6.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1935, allocations: 0 / 0.4902 GB, free: 6.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000511/0.194, allocations: 43.91 kB / 0.4902 GB, free: 6.844 MB / 366.1 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.0001516/0.1942, allocations: 99.25 kB / 0.4903 GB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.1949, allocations: 200.8 kB / 0.4905 GB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1949, allocations: 0 / 0.4905 GB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.1952, allocations: 93.39 kB / 0.4906 GB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.1959, allocations: 43.55 kB / 0.4907 GB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1973, allocations: 0.516 MB / 0.4912 GB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1977, allocations: 0.7519 MB / 0.4919 GB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.1979, allocations: 37.92 kB / 0.4919 GB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.198, allocations: 23.44 kB / 0.4919 GB, free: 5.035 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.198, allocations: 0 / 0.4919 GB, free: 5.035 MB / 366.1 MB Notification: Performance of Templates: time 0.00925/0.2073, allocations: 2.234 MB / 0.4941 GB, free: 2.805 MB / 366.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)