Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Decoupling.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.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07302/0.07302, allocations: 17.69 MB / 33.64 MB, free: 1.738 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.0009819/0.0009818, allocations: 172.8 kB / 38.91 MB, free: 12 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.509/1.509, allocations: 205.4 MB / 249.5 MB, free: 2.426 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.0008688/0.0008691, allocations: 97.42 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004484, allocations: 12 kB / 366.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2571, allocations: 51.99 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.3719, allocations: 79.61 MB / 498.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.3722, allocations: 75.97 kB / 498.6 MB, free: 8.586 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.289/0.6612, allocations: 10.25 MB / 0.4969 GB, free: 80.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6613, allocations: 3.781 kB / 0.4969 GB, free: 80.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.515e-05/0.6614, allocations: 20.36 kB / 0.497 GB, free: 80.25 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00264/0.664, allocations: 1.047 MB / 0.498 GB, free: 79.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.6641, allocations: 10.42 kB / 0.498 GB, free: 79.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.6643, allocations: 79.22 kB / 0.4981 GB, free: 79.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.6665, allocations: 0.8168 MB / 0.4989 GB, free: 79.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.6665, allocations: 33.56 kB / 0.4989 GB, free: 79.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.6666, allocations: 45.86 kB / 0.4989 GB, free: 79.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009701/0.6676, allocations: 430.8 kB / 0.4994 GB, free: 79.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6676, allocations: 192 / 0.4994 GB, free: 79.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.6677, allocations: 20.12 kB / 0.4994 GB, free: 79.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.6677, allocations: 8.25 kB / 0.4994 GB, free: 79.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.6686, allocations: 376.4 kB / 0.4997 GB, free: 79.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.6714, allocations: 1.565 MB / 0.5013 GB, free: 78.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.6722, allocations: 436.6 kB / 0.5017 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.6726, allocations: 182.9 kB / 0.5019 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.6726, allocations: 4.312 kB / 0.5019 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.6727, allocations: 35.69 kB / 0.5019 GB, free: 78.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.6727, allocations: 1.094 kB / 0.5019 GB, free: 78.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001197/0.6739, allocations: 0.5753 MB / 0.5025 GB, free: 78.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.674, allocations: 56.34 kB / 0.5025 GB, free: 78.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.6756, allocations: 0.7671 MB / 0.5033 GB, free: 77.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.6757, allocations: 31.02 kB / 0.5033 GB, free: 77.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.676, allocations: 308.1 kB / 0.5036 GB, free: 77.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.6761, allocations: 166.8 kB / 0.5037 GB, free: 77.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.6762, allocations: 14.06 kB / 0.5038 GB, free: 77.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.6763, allocations: 385.8 kB / 0.5041 GB, free: 77.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.6767, allocations: 172.7 kB / 0.5043 GB, free: 77.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.6772, allocations: 280.4 kB / 0.5046 GB, free: 76.91 MB / 362.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.6804, allocations: 1.231 MB / 0.5058 GB, free: 76.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6804, allocations: 0 / 0.5058 GB, free: 76.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008786/0.6813, allocations: 0.5874 MB / 0.5063 GB, free: 76.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6813, allocations: 3.219 kB / 0.5063 GB, free: 76.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.6813, allocations: 7.906 kB / 0.5063 GB, free: 76.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.6814, allocations: 6.438 kB / 0.5063 GB, free: 76.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.6819, allocations: 136.9 kB / 0.5065 GB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.682, allocations: 8.344 kB / 0.5065 GB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.6825, allocations: 102.8 kB / 0.5066 GB, free: 75.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.6825, allocations: 17.88 kB / 0.5066 GB, free: 75.98 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: D.D21.x_scaled[1]:VARIABLE(start = D.D21.x_start[1] fixed = true protected = true ) "Scaled vector x" type: Real [1] D.D12.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: D.Fcs2.y = D.Fcs2.y_start D.Fcs1.y = D.Fcs1.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0003818/0.6829, allocations: 245.4 kB / 0.5068 GB, free: 75.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.683, allocations: 65.47 kB / 0.5069 GB, free: 75.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.6838, allocations: 0.5023 MB / 0.5074 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6838, allocations: 7.062 kB / 0.5074 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6839, allocations: 2.25 kB / 0.5074 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6839, allocations: 3.938 kB / 0.5074 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.6845, allocations: 0.5683 MB / 0.508 GB, free: 75.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6845, allocations: 0 / 0.508 GB, free: 75.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.685, allocations: 97.45 kB / 0.508 GB, free: 75.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.685, allocations: 0 / 0.508 GB, free: 75.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.685, allocations: 19.48 kB / 0.5081 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.685, allocations: 3.688 kB / 0.5081 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.685, allocations: 0 / 0.5081 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.686, allocations: 0.7561 MB / 0.5088 GB, free: 74.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.6861, allocations: 157.8 kB / 0.509 GB, free: 74.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.6862, allocations: 16.45 kB / 0.509 GB, free: 74.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.6866, allocations: 76.17 kB / 0.509 GB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.6867, allocations: 35.75 kB / 0.5091 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.6868, allocations: 10.25 kB / 0.5091 GB, free: 74.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000968/0.6877, allocations: 0.5689 MB / 0.5096 GB, free: 74.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6878, allocations: 0 / 0.5096 GB, free: 74.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004013/0.6882, allocations: 101 kB / 0.5097 GB, free: 74.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001571/0.6883, allocations: 126.7 kB / 0.5099 GB, free: 74.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.689, allocations: 440.9 kB / 0.5103 GB, free: 74.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.689, allocations: 0 / 0.5103 GB, free: 74.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.6893, allocations: 216.5 kB / 0.5105 GB, free: 74.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.6898, allocations: 92.78 kB / 0.5106 GB, free: 74.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.6917, allocations: 1.441 MB / 0.512 GB, free: 73.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.692, allocations: 0.9561 MB / 0.5129 GB, free: 72.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003329/0.6924, allocations: 110.4 kB / 0.513 GB, free: 72.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.6925, allocations: 47.38 kB / 0.5131 GB, free: 72.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6925, allocations: 0 / 0.5131 GB, free: 72.27 MB / 362.7 MB Notification: Performance of Templates: time 0.008745/0.7013, allocations: 4.867 MB / 0.5178 GB, free: 67.99 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.makefile (rm -f AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Decoupling.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Decoupling.sim & ./AES_AES.Coursework.Typical_control_structures.Decoupling -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Decoupling.pipe 2>&1)