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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.09093/0.09093, allocations: 17.69 MB / 33.64 MB, free: 1.773 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 183.3 kB / 38.92 MB, free: 16 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 249.5 MB, free: 2.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 95.38 kB / 302.2 MB, free: 4.426 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004528, allocations: 15.98 kB / 366.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 51.98 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.4318, allocations: 79.1 MB / 498 MB, free: 9.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.4322, allocations: 75.95 kB / 498.1 MB, free: 9.098 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:49:3-49:23:writable] Warning: Connecting two signal sources while connecting iBias to Bias. Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.4448, allocations: 3.58 MB / 0.4899 GB, free: 5.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.4448, allocations: 0 / 0.4899 GB, free: 5.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.4449, allocations: 12 kB / 0.4899 GB, free: 5.5 MB / 362.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.001206/0.4461, allocations: 0.5452 MB / 0.4905 GB, free: 4.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.4462, allocations: 8.031 kB / 0.4905 GB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4463, allocations: 28.56 kB / 0.4905 GB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.447, allocations: 323.2 kB / 0.4908 GB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.447, allocations: 16.38 kB / 0.4908 GB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.4471, allocations: 16.38 kB / 0.4908 GB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.4475, allocations: 193.3 kB / 0.491 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4476, allocations: 192 / 0.491 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.4476, allocations: 7.938 kB / 0.491 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4476, allocations: 4 kB / 0.491 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.4479, allocations: 155.8 kB / 0.4912 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4492, allocations: 0.7347 MB / 0.4919 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.4498, allocations: 225.7 kB / 0.4921 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.45, allocations: 76.83 kB / 0.4922 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.4501, allocations: 4 kB / 0.4922 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.4501, allocations: 42.55 kB / 0.4922 GB, free: 2.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.4501, allocations: 3.938 kB / 0.4922 GB, free: 2.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006915/0.4508, allocations: 265.5 kB / 0.4925 GB, free: 2.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.4509, allocations: 51.41 kB / 0.4925 GB, free: 2.629 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.4515, allocations: 288.9 kB / 0.4928 GB, free: 2.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.4516, allocations: 29.7 kB / 0.4928 GB, free: 2.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.4517, allocations: 148.3 kB / 0.493 GB, free: 2.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.4518, allocations: 70.91 kB / 0.4931 GB, free: 2.078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.4518, allocations: 8 kB / 0.4931 GB, free: 2.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.452, allocations: 334.8 kB / 0.4934 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.4522, allocations: 68.23 kB / 0.4934 GB, free: 1.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.4524, allocations: 134.5 kB / 0.4936 GB, free: 1.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4538, allocations: 474.4 kB / 0.494 GB, free: 1.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4538, allocations: 0 / 0.494 GB, free: 1.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005055/0.4543, allocations: 279 kB / 0.4943 GB, free: 0.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4544, allocations: 15.92 kB / 0.4943 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4544, allocations: 0 / 0.4943 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.4544, allocations: 4 kB / 0.4943 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.4547, allocations: 55.92 kB / 0.4944 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4547, allocations: 4.188 kB / 0.4944 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.455, allocations: 47.8 kB / 0.4944 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.455, allocations: 8 kB / 0.4944 GB, free: 0.6172 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(start = M.y_start fixed = true ) "Connector of Real output signal" type: Real C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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.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.0002614/0.4553, allocations: 153.5 kB / 0.4946 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.4553, allocations: 27.66 kB / 0.4946 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.4559, allocations: 231.6 kB / 0.4948 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4559, allocations: 3.938 kB / 0.4948 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4559, allocations: 0 / 0.4948 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4559, allocations: 7.984 kB / 0.4948 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2613/0.7172, allocations: 286.2 kB / 0.4951 GB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.7172, allocations: 0.5938 kB / 0.4951 GB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.7176, allocations: 44.16 kB / 0.4951 GB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.7177, allocations: 1.344 kB / 0.4951 GB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.7177, allocations: 11.66 kB / 0.4952 GB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.7177, allocations: 5.875 kB / 0.4952 GB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7178, allocations: 0 / 0.4952 GB, free: 82.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.7187, allocations: 402.3 kB / 0.4955 GB, free: 82.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.7188, allocations: 102.3 kB / 0.4956 GB, free: 82.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.7189, allocations: 5.562 kB / 0.4956 GB, free: 82.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.7192, allocations: 31.36 kB / 0.4957 GB, free: 82.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.7193, allocations: 14.31 kB / 0.4957 GB, free: 82.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.7194, allocations: 10.38 kB / 0.4957 GB, free: 82.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000543/0.7199, allocations: 219 kB / 0.4959 GB, free: 82.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7199, allocations: 0 / 0.4959 GB, free: 82.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003805/0.7203, allocations: 44.81 kB / 0.496 GB, free: 82.45 MB / 362.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 (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 0.0001722/0.7205, allocations: 111 kB / 0.4961 GB, free: 82.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.721, allocations: 201.4 kB / 0.4962 GB, free: 82.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.721, allocations: 0 / 0.4962 GB, free: 82.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.7212, allocations: 90.97 kB / 0.4963 GB, free: 82.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.7216, allocations: 29.66 kB / 0.4964 GB, free: 82.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.7229, allocations: 0.5934 MB / 0.4969 GB, free: 82.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.7232, allocations: 0.7526 MB / 0.4977 GB, free: 81.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.7234, allocations: 38.38 kB / 0.4977 GB, free: 81.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.7235, allocations: 20.38 kB / 0.4977 GB, free: 81.35 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7235, allocations: 2.625 kB / 0.4977 GB, free: 81.35 MB / 362.7 MB Notification: Performance of Templates: time 0.006827/0.7303, allocations: 1.806 MB / 0.4995 GB, free: 81.27 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)