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.001158/0.001158, allocations: 110.4 kB / 16.42 MB, free: 6.516 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.001153/0.001153, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.111/0.111, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.88 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 54.96 MB / 492.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.003145/0.1049, allocations: 1.998 MB / 494.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1076, allocations: 1.798 MB / 496.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.1079, allocations: 11.94 kB / 496.5 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.1085, allocations: 170.8 kB / 496.7 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.1092, allocations: 223 kB / 496.9 MB, free: 0.5234 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.0007009/0.1099, allocations: 383.5 kB / 497.2 MB, free: 152 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.1111, allocations: 1.062 MB / 498.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.1114, allocations: 162.1 kB / 498.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005384/0.1119, allocations: 410.6 kB / 498.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.1125, allocations: 410.2 kB / 499.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1126, allocations: 64 kB / 499.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1128, allocations: 91.97 kB / 499.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.1131, allocations: 239.3 kB / 499.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.1134, allocations: 302.1 kB / 499.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.1141, allocations: 0.7274 MB / 0.4889 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1141, allocations: 0 / 0.4889 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1141, allocations: 0 / 0.4889 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.1141, allocations: 0 / 0.4889 GB, free: 12.7 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.003135/0.1173, allocations: 1.23 MB / 0.4901 GB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1173, allocations: 12.03 kB / 0.4902 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1175, allocations: 80.42 kB / 0.4902 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.1191, allocations: 0.7341 MB / 0.4909 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.1192, allocations: 41.31 kB / 0.491 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.1192, allocations: 48.31 kB / 0.491 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.1199, allocations: 452.9 kB / 0.4915 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.12, allocations: 0 / 0.4915 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.12, allocations: 16 kB / 0.4915 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.12, allocations: 8 kB / 0.4915 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.1208, allocations: 419.7 kB / 0.4919 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.123, allocations: 1.629 MB / 0.4935 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.1237, allocations: 480 kB / 0.4939 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.124, allocations: 197.5 kB / 0.4941 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.124, allocations: 11.97 kB / 0.4941 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1241, allocations: 38.56 kB / 0.4942 GB, free: 7.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.1241, allocations: 0 / 0.4942 GB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001084/0.1251, allocations: 0.6228 MB / 0.4948 GB, free: 6.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1252, allocations: 63.33 kB / 0.4948 GB, free: 6.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.1269, allocations: 0.8825 MB / 0.4957 GB, free: 5.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1269, allocations: 33.7 kB / 0.4957 GB, free: 5.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1271, allocations: 292.8 kB / 0.496 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1273, allocations: 170.6 kB / 0.4962 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1274, allocations: 138.6 kB / 0.4963 GB, free: 4.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1276, allocations: 390.6 kB / 0.4967 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.1282, allocations: 289.8 kB / 0.497 GB, free: 4.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.129, allocations: 413.6 kB / 0.4974 GB, free: 3.785 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/0.1335, allocations: 1.686 MB / 0.499 GB, free: 2.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1336, allocations: 0 / 0.499 GB, free: 2.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001763/0.1353, allocations: 0.8246 MB / 0.4998 GB, free: 1.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1354, allocations: 7.938 kB / 0.4998 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1354, allocations: 4 kB / 0.4998 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.1354, allocations: 4.375 kB / 0.4998 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/0.1363, allocations: 203.7 kB / 0.5 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.1364, allocations: 8 kB / 0.5 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/0.1373, allocations: 175.4 kB / 0.5002 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.1373, allocations: 20 kB / 0.5002 GB, free: 0.7812 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.0003874/0.1377, allocations: 253.4 kB / 0.5005 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1379, allocations: 75.52 kB / 0.5005 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1949/0.3328, allocations: 0.5179 MB / 0.501 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3328, allocations: 0 / 0.501 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3328, allocations: 1.5 kB / 0.501 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.333, allocations: 163 kB / 0.5012 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3332, allocations: 15.19 kB / 0.5012 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/0.3339, allocations: 90.22 kB / 0.5013 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.334, allocations: 31.03 kB / 0.5013 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001384/0.3353, allocations: 0.658 MB / 0.502 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001108/0.3365, allocations: 0.9768 MB / 0.5029 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003016/0.3368, allocations: 227.6 kB / 0.5031 GB, free: 22.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.3381, allocations: 0.6526 MB / 0.5038 GB, free: 22.05 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.3381, allocations: 0 / 0.5038 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3394, allocations: 0.5185 MB / 0.5043 GB, free: 21.98 MB / 382.1 MB Notification: Performance of SimCode: time 0.001492/0.3409, allocations: 1.695 MB / 0.5059 GB, free: 20.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01318/0.3541, allocations: 7.362 MB / 0.5131 GB, free: 20.42 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)