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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.001179/0.001179, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1064/0.1064, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.09043, allocations: 54.95 MB / 492.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.003242/0.0937, allocations: 2.006 MB / 494.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.09622, allocations: 1.806 MB / 496.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.09654, allocations: 7.938 kB / 496.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.09706, allocations: 158.8 kB / 496.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.09779, allocations: 227 kB / 496.9 MB, free: 0.5508 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. [/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.0008462/0.09865, allocations: 391.4 kB / 497.3 MB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.1, allocations: 1.062 MB / 498.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.1003, allocations: 166.1 kB / 498.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.1008, allocations: 406.6 kB / 498.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.1014, allocations: 402.3 kB / 499.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.1015, allocations: 71.94 kB / 499.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1017, allocations: 87.97 kB / 499.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.1019, allocations: 239.3 kB / 499.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.1022, allocations: 306.1 kB / 500 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.1029, allocations: 0.7202 MB / 0.4889 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1029, allocations: 0 / 0.4889 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1029, allocations: 4 kB / 0.4889 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.1029, allocations: 0 / 0.4889 GB, free: 12.73 MB / 382.1 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.00315/0.1061, allocations: 1.215 MB / 0.4901 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1061, allocations: 8.031 kB / 0.4901 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1063, allocations: 76 kB / 0.4902 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.108, allocations: 0.7258 MB / 0.4909 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.1081, allocations: 41.31 kB / 0.491 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.1081, allocations: 40.38 kB / 0.491 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.109, allocations: 456.9 kB / 0.4914 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.109, allocations: 4 kB / 0.4914 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.1091, allocations: 12 kB / 0.4914 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1091, allocations: 12 kB / 0.4915 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.1099, allocations: 419.7 kB / 0.4919 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.1125, allocations: 1.625 MB / 0.4934 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.1133, allocations: 480.1 kB / 0.4939 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.1136, allocations: 201.5 kB / 0.4941 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.1136, allocations: 8 kB / 0.4941 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1137, allocations: 34.56 kB / 0.4941 GB, free: 7.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.864e-06/0.1137, allocations: 0 / 0.4941 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001117/0.1148, allocations: 0.6339 MB / 0.4948 GB, free: 6.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1148, allocations: 55.41 kB / 0.4948 GB, free: 6.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.1166, allocations: 0.8747 MB / 0.4957 GB, free: 5.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.1167, allocations: 37.7 kB / 0.4957 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.1169, allocations: 296.4 kB / 0.496 GB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.117, allocations: 165.6 kB / 0.4961 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.1172, allocations: 142.5 kB / 0.4963 GB, free: 4.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1174, allocations: 382.7 kB / 0.4966 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.1181, allocations: 289.8 kB / 0.4969 GB, free: 4.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.1188, allocations: 413.6 kB / 0.4973 GB, free: 3.852 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.004768/0.1236, allocations: 1.682 MB / 0.499 GB, free: 2.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1236, allocations: 0 / 0.499 GB, free: 2.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0017/0.1253, allocations: 0.8322 MB / 0.4998 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1253, allocations: 8.062 kB / 0.4998 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1254, allocations: 4 kB / 0.4998 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1254, allocations: 8 kB / 0.4998 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/0.1263, allocations: 199.7 kB / 0.5 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.1264, allocations: 4 kB / 0.5 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.1274, allocations: 171.3 kB / 0.5001 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.1275, allocations: 28 kB / 0.5002 GB, free: 0.8438 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.xfb:VARIABLE(fixed = true ) type: Real C1.xfb:VARIABLE(fixed = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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 (C2.LOsat,C2.HIsat,C1.LOsat,C1.HIsat,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 (86): * Single equations (assignments): 86 * 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.0003197/0.1278, allocations: 245.5 kB / 0.5004 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.1279, allocations: 63.16 kB / 0.5005 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009171/0.1288, allocations: 0.5229 MB / 0.501 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1289, allocations: 0 / 0.501 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1289, allocations: 0 / 0.501 GB, free: 0 / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.3244, allocations: 164.5 kB / 0.5011 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.3246, allocations: 19.31 kB / 0.5012 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.3254, allocations: 88.97 kB / 0.5012 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3256, allocations: 28.84 kB / 0.5013 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001532/0.3271, allocations: 0.6615 MB / 0.5019 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001194/0.3283, allocations: 0.9671 MB / 0.5029 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003106/0.3286, allocations: 226.8 kB / 0.5031 GB, free: 22.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.33, allocations: 0.6556 MB / 0.5037 GB, free: 22.34 MB / 382.1 MB Notification: Performance of Backend: time 3.9e-07/0.33, allocations: 0 / 0.5037 GB, free: 22.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3313, allocations: 0.513 MB / 0.5042 GB, free: 22.28 MB / 382.1 MB Notification: Performance of SimCode: time 0.001484/0.3328, allocations: 1.666 MB / 0.5058 GB, free: 21.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01355/0.3464, allocations: 7.353 MB / 0.513 GB, free: 20.76 MB / 382.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Decoupling.pipe 2>&1)