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.001083/0.001083, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001199/0.001199, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2148/0.2148, allocations: 22.32 MB / 313.3 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 8 kB / 381.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 55.97 MB / 437.8 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.001951/0.3317, allocations: 1.568 MB / 439.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000899/0.3326, allocations: 0.5656 MB / 439.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.3328, allocations: 3.156 kB / 439.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.3331, allocations: 34.95 kB / 440 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.3332, allocations: 47.48 kB / 440 MB, free: 37.7 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.0002168/0.3335, allocations: 81.33 kB / 440.1 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3337, allocations: 183.5 kB / 440.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3338, allocations: 37.06 kB / 440.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.334, allocations: 125.4 kB / 440.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3341, allocations: 112.3 kB / 440.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3342, allocations: 8.875 kB / 440.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/0.3342, allocations: 8.625 kB / 440.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.3342, allocations: 48.11 kB / 440.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.3343, allocations: 54.61 kB / 440.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.3344, allocations: 136.1 kB / 440.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3344, allocations: 0 / 440.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3344, allocations: 0 / 440.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3344, allocations: 0 / 440.8 MB, free: 37.38 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.001039/0.3355, allocations: 0.5577 MB / 441.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3355, allocations: 11.83 kB / 441.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.3356, allocations: 25.81 kB / 441.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.3361, allocations: 308.9 kB / 441.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3361, allocations: 19.84 kB / 441.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.3361, allocations: 21.89 kB / 441.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.3365, allocations: 196.1 kB / 441.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3365, allocations: 0 / 441.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3365, allocations: 11.05 kB / 441.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3365, allocations: 3.094 kB / 441.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.3368, allocations: 154 kB / 442.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.3377, allocations: 0.7396 MB / 442.8 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.3381, allocations: 219.9 kB / 443 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3381, allocations: 6.375 kB / 443 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.3382, allocations: 34.91 kB / 443.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.3382, allocations: 3.938 kB / 443.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004823/0.3387, allocations: 265 kB / 443.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3387, allocations: 54.03 kB / 443.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.3391, allocations: 290 kB / 443.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3392, allocations: 32.61 kB / 443.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.3392, allocations: 151.2 kB / 443.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.3393, allocations: 72.77 kB / 443.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.3393, allocations: 4 kB / 443.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.3394, allocations: 336.7 kB / 444.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3395, allocations: 66.64 kB / 444.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.3397, allocations: 127.7 kB / 444.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3398, allocations: 86.94 kB / 444.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3398, allocations: 4 kB / 444.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003756/0.3402, allocations: 284 kB / 444.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3402, allocations: 5.875 kB / 444.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3402, allocations: 11.2 kB / 444.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3403, allocations: 6.828 kB / 444.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3405, allocations: 58.69 kB / 444.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3406, allocations: 2.656 kB / 444.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3408, allocations: 55.95 kB / 445 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3408, allocations: 10.47 kB / 445 MB, free: 34.62 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.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.HIsat,PI.LOsat,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.341, allocations: 146.8 kB / 445.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.341, allocations: 30.44 kB / 445.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.3414, allocations: 229.5 kB / 445.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3414, allocations: 6.562 kB / 445.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3414, allocations: 7.953 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3414, allocations: 3.188 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.3417, allocations: 296.2 kB / 445.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3417, allocations: 0 / 445.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.342, allocations: 47.91 kB / 445.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.342, allocations: 0 / 445.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.342, allocations: 11.59 kB / 445.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.342, allocations: 0 / 445.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.342, allocations: 0 / 445.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3425, allocations: 402.5 kB / 446.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3425, allocations: 101.7 kB / 446.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.3426, allocations: 6.688 kB / 446.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.3428, allocations: 43.73 kB / 446.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3429, allocations: 9.875 kB / 446.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3429, allocations: 7.125 kB / 446.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003418/0.3433, allocations: 225.5 kB / 446.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3433, allocations: 4 kB / 446.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3435, allocations: 39.91 kB / 446.6 MB, free: 33.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.281e-05/0.3436, allocations: 106.2 kB / 446.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.344, allocations: 192.8 kB / 446.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.344, allocations: 0 / 446.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3441, allocations: 97.31 kB / 446.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3444, allocations: 29.95 kB / 447 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.3452, allocations: 0.59 MB / 447.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.3454, allocations: 0.7617 MB / 448.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.3455, allocations: 41.03 kB / 448.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.3456, allocations: 22.03 kB / 448.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3456, allocations: 0 / 448.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of Templates: time 0.004466/0.3501, allocations: 1.839 MB / 450.2 MB, free: 32.21 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: