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.008053/0.008053, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001478/0.001478, allocations: 195.5 kB / 16.68 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09617/0.09617, allocations: 22.32 MB / 312.8 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.88 kB / 437 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1423, allocations: 54.95 MB / 492 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.004014/0.1464, allocations: 1.914 MB / 493.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.148, allocations: 0.5845 MB / 494.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.1484, allocations: 0 / 494.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.149, allocations: 55.56 kB / 494.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.1494, allocations: 51.64 kB / 494.6 MB, free: 2.141 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.0004119/0.1498, allocations: 107.8 kB / 494.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.1504, allocations: 320 kB / 495 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1506, allocations: 60.33 kB / 495.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.1509, allocations: 111.6 kB / 495.2 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1512, allocations: 135.4 kB / 495.3 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.1513, allocations: 16 kB / 495.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.1513, allocations: 20 kB / 495.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1515, allocations: 59.77 kB / 495.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1516, allocations: 87.45 kB / 495.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1519, allocations: 199.2 kB / 495.7 MB, free: 1.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1519, allocations: 4 kB / 495.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.152, allocations: 4 kB / 495.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.152, allocations: 0 / 495.7 MB, free: 1.039 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.001469/0.1534, allocations: 0.5882 MB / 496.3 MB, free: 412 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1535, allocations: 8.031 kB / 496.3 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.1536, allocations: 24.66 kB / 496.3 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00076/0.1544, allocations: 319.4 kB / 496.6 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1544, allocations: 12.38 kB / 496.6 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.1545, allocations: 24.36 kB / 496.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.1549, allocations: 203.8 kB / 496.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1549, allocations: 0 / 496.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.1549, allocations: 4 kB / 496.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1549, allocations: 4 kB / 496.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.1553, allocations: 159.8 kB / 497 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1567, allocations: 0.7231 MB / 497.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.1573, allocations: 226.7 kB / 498 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.1574, allocations: 80.83 kB / 498 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1575, allocations: 3.938 kB / 498 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1575, allocations: 46.5 kB / 498.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.1575, allocations: 0 / 498.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005743/0.1581, allocations: 261.6 kB / 498.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1582, allocations: 51.41 kB / 498.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.1588, allocations: 300.8 kB / 498.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1588, allocations: 25.7 kB / 498.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.1589, allocations: 148.3 kB / 498.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.159, allocations: 74.94 kB / 498.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.1591, allocations: 53.64 kB / 499 MB, free: 13.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1592, allocations: 334.8 kB / 499.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1594, allocations: 72.23 kB / 499.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.1596, allocations: 135.2 kB / 499.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.161, allocations: 457.9 kB / 500 MB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.161, allocations: 0 / 500 MB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000474/0.1615, allocations: 283.2 kB / 0.4885 GB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1615, allocations: 8.188 kB / 0.4885 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1615, allocations: 4 kB / 0.4885 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1616, allocations: 4 kB / 0.4885 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.1618, allocations: 63.91 kB / 0.4886 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1619, allocations: 4 kB / 0.4886 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.1621, allocations: 43.8 kB / 0.4886 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1622, allocations: 4 kB / 0.4886 GB, free: 12.07 MB / 382.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.0002235/0.1624, allocations: 158.4 kB / 0.4888 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.1625, allocations: 27.66 kB / 0.4888 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.1629, allocations: 231.6 kB / 0.489 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1629, allocations: 7.984 kB / 0.489 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.163, allocations: 0 / 0.489 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.163, allocations: 3.984 kB / 0.489 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1634, allocations: 293.4 kB / 0.4893 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1634, allocations: 0 / 0.4893 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.1637, allocations: 43.97 kB / 0.4894 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1637, allocations: 3.938 kB / 0.4894 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.1638, allocations: 11.94 kB / 0.4894 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1638, allocations: 0 / 0.4894 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1638, allocations: 0 / 0.4894 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.1643, allocations: 408.5 kB / 0.4898 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.1644, allocations: 112.7 kB / 0.4899 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.1645, allocations: 0 / 0.4899 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.1647, allocations: 35.95 kB / 0.4899 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.1648, allocations: 15.98 kB / 0.4899 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1648, allocations: 7.938 kB / 0.4899 GB, free: 10.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003976/0.1652, allocations: 224.4 kB / 0.4901 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.434e-06/0.1653, allocations: 0 / 0.4901 GB, free: 10.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.1655, allocations: 39.94 kB / 0.4902 GB, free: 10.38 MB / 382.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.0001362/0.1657, allocations: 111.2 kB / 0.4903 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1661, allocations: 192.1 kB / 0.4905 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1661, allocations: 4 kB / 0.4905 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1663, allocations: 97.39 kB / 0.4906 GB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1667, allocations: 34.7 kB / 0.4906 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1677, allocations: 0.5161 MB / 0.4911 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1681, allocations: 0.7636 MB / 0.4919 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1682, allocations: 37.92 kB / 0.4919 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.1683, allocations: 19.44 kB / 0.4919 GB, free: 8.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1683, allocations: 0 / 0.4919 GB, free: 8.555 MB / 382.1 MB Notification: Performance of Templates: time 0.005679/0.174, allocations: 2.161 MB / 0.494 GB, free: 6.398 MB / 382.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)