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.00107/0.00107, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009541/0.009541, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2364/0.2364, allocations: 22.34 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003608, allocations: 12 kB / 382.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 55.98 MB / 438.6 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.001544/0.3367, allocations: 1.606 MB / 440.2 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007661/0.3375, allocations: 0.5756 MB / 440.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3376, allocations: 3.938 kB / 440.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.3379, allocations: 37.14 kB / 440.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.3381, allocations: 40.55 kB / 440.8 MB, free: 37.76 MB / 350.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.0002073/0.3383, allocations: 104.6 kB / 440.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.3386, allocations: 299.5 kB / 441.2 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3387, allocations: 55.88 kB / 441.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3388, allocations: 100.4 kB / 441.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.339, allocations: 114.8 kB / 441.5 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.3391, allocations: 7.906 kB / 441.5 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.3391, allocations: 12 kB / 441.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.3392, allocations: 52.34 kB / 441.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.772e-05/0.3393, allocations: 108.2 kB / 441.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3394, allocations: 182.3 kB / 441.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3394, allocations: 0 / 441.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3394, allocations: 0 / 441.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3395, allocations: 0 / 441.8 MB, free: 37.31 MB / 350.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.001073/0.3405, allocations: 0.5569 MB / 442.4 MB, free: 36.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3406, allocations: 17.84 kB / 442.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.3407, allocations: 30.47 kB / 442.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.3411, allocations: 308.5 kB / 442.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3411, allocations: 18.25 kB / 442.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.3412, allocations: 20.25 kB / 442.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.3415, allocations: 214.2 kB / 443 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3415, allocations: 2.906 kB / 443 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.3415, allocations: 4 kB / 443 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3415, allocations: 2.906 kB / 443 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3418, allocations: 151.5 kB / 443.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000818/0.3427, allocations: 0.7424 MB / 443.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.3431, allocations: 215.2 kB / 444.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.3432, allocations: 82.08 kB / 444.2 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3433, allocations: 2.781 kB / 444.2 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.3433, allocations: 45.34 kB / 444.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.3433, allocations: 0 / 444.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005159/0.3438, allocations: 266.7 kB / 444.5 MB, free: 35.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.3439, allocations: 54.41 kB / 444.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.3443, allocations: 292.1 kB / 444.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3443, allocations: 29.7 kB / 444.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.3444, allocations: 147 kB / 445 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.3445, allocations: 75.86 kB / 445.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.3445, allocations: 35.47 kB / 445.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.3446, allocations: 339.7 kB / 445.4 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3448, allocations: 70.38 kB / 445.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.3449, allocations: 124.8 kB / 445.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3462, allocations: 466.7 kB / 446.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3462, allocations: 0 / 446.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004044/0.3466, allocations: 289.7 kB / 446.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3466, allocations: 5.781 kB / 446.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3467, allocations: 3.062 kB / 446.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3467, allocations: 6.766 kB / 446.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.347, allocations: 65.75 kB / 446.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.347, allocations: 6.984 kB / 446.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3472, allocations: 53.03 kB / 446.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.3473, allocations: 5.906 kB / 446.5 MB, free: 34.34 MB / 350.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.0001863/0.3475, allocations: 154 kB / 446.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.3475, allocations: 23.41 kB / 446.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.3479, allocations: 242.9 kB / 446.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.348, allocations: 2.844 kB / 446.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.348, allocations: 0 / 446.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.348, allocations: 6.031 kB / 446.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.3482, allocations: 288.9 kB / 447.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3482, allocations: 0 / 447.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3485, allocations: 45.53 kB / 447.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3485, allocations: 6.938 kB / 447.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3485, allocations: 4 kB / 447.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3485, allocations: 11.05 kB / 447.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3485, allocations: 4 kB / 447.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.349, allocations: 397.6 kB / 447.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3491, allocations: 112.8 kB / 447.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.3492, allocations: 6.969 kB / 447.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.3494, allocations: 31.52 kB / 447.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.3495, allocations: 16.75 kB / 447.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3495, allocations: 3.906 kB / 447.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.3499, allocations: 227.4 kB / 448.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3499, allocations: 0 / 448.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3501, allocations: 35.12 kB / 448.1 MB, free: 33.34 MB / 350.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 9.337e-05/0.3502, allocations: 109.9 kB / 448.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.3506, allocations: 193.8 kB / 448.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3506, allocations: 0 / 448.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3508, allocations: 99.3 kB / 448.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3511, allocations: 31.09 kB / 448.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.352, allocations: 0.6162 MB / 449.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.3522, allocations: 0.7542 MB / 449.9 MB, free: 32.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.3524, allocations: 36.62 kB / 449.9 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.3524, allocations: 23.97 kB / 449.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3525, allocations: 0 / 449.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005098/0.3576, allocations: 1.929 MB / 451.9 MB, free: 31.89 MB / 350.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)