Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.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.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") 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: 108.7 kB / 16.41 MB, free: 6.469 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.001051/0.001051, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.344/1.344, 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.094/0.094, allocations: 22.34 MB / 313.5 MB, free: 8.844 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 63.89 kB / 437.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1049, allocations: 54.96 MB / 492.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002388/0.1074, allocations: 1.302 MB / 494 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1092, allocations: 1.4 MB / 495.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1094, allocations: 4 kB / 495.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.1098, allocations: 99.38 kB / 495.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1101, allocations: 123.4 kB / 495.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.1105, allocations: 195.6 kB / 495.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/0.1111, allocations: 0.5186 MB / 496.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1113, allocations: 68.66 kB / 496.4 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.1116, allocations: 215.3 kB / 496.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.112, allocations: 235.2 kB / 496.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.112, allocations: 28 kB / 496.8 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.1121, allocations: 31.94 kB / 496.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1123, allocations: 127.6 kB / 497 MB, free: 376 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.1124, allocations: 147 kB / 497.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.1128, allocations: 326.5 kB / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1128, allocations: 0 / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1128, allocations: 0 / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1128, allocations: 0 / 497.5 MB, free: 15.9 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00242/0.1153, allocations: 0.8839 MB / 498.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1153, allocations: 8.031 kB / 498.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.1154, allocations: 36.7 kB / 498.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.1167, allocations: 498.3 kB / 498.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1167, allocations: 12.7 kB / 498.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.1167, allocations: 20.38 kB / 498.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.1171, allocations: 216.4 kB / 499.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1172, allocations: 0 / 499.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.1172, allocations: 11.88 kB / 499.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1172, allocations: 8 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.1177, allocations: 232.4 kB / 499.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1191, allocations: 0.7539 MB / 0.4884 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.1198, allocations: 330.3 kB / 0.4887 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.12, allocations: 140.7 kB / 0.4889 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1201, allocations: 0 / 0.4889 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1201, allocations: 38.56 kB / 0.4889 GB, free: 12.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.1201, allocations: 4 kB / 0.4889 GB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00198/0.1221, allocations: 0.7785 MB / 0.4897 GB, free: 11.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1221, allocations: 59.41 kB / 0.4897 GB, free: 11.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.1234, allocations: 0.5092 MB / 0.4902 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1235, allocations: 25.7 kB / 0.4902 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1236, allocations: 180.5 kB / 0.4904 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.508e-05/0.1237, allocations: 103.1 kB / 0.4905 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.1238, allocations: 49.7 kB / 0.4906 GB, free: 10.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1239, allocations: 346.8 kB / 0.4909 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1241, allocations: 112.1 kB / 0.491 GB, free: 10.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.1244, allocations: 117.3 kB / 0.4911 GB, free: 10.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.1267, allocations: 0.7216 MB / 0.4918 GB, free: 9.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1268, allocations: 8 kB / 0.4918 GB, free: 9.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009772/0.1278, allocations: 483.7 kB / 0.4923 GB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1278, allocations: 4 kB / 0.4923 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1278, allocations: 0 / 0.4923 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.1282, allocations: 109.6 kB / 0.4924 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1284, allocations: 43.91 kB / 0.4924 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.1318, allocations: 3.205 MB / 0.4956 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/0.1324, allocations: 75.83 kB / 0.4956 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.1324, allocations: 4 kB / 0.4956 GB, free: 5.277 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 variables: Cfb_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cfb_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cff_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process_2.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.1327, allocations: 184.5 kB / 0.4958 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.1328, allocations: 35.77 kB / 0.4958 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1329, allocations: 55.31 kB / 0.4959 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1329, allocations: 0 / 0.4959 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.133, allocations: 0 / 0.4959 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1331, allocations: 124.8 kB / 0.496 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.1331, allocations: 23.86 kB / 0.496 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.1337, allocations: 71.84 kB / 0.4961 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.1337, allocations: 19.95 kB / 0.4961 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001557/0.1353, allocations: 0.6075 MB / 0.4967 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008975/0.1362, allocations: 0.6815 MB / 0.4974 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002268/0.1365, allocations: 148.2 kB / 0.4975 GB, free: 3.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.1375, allocations: 402.9 kB / 0.4979 GB, free: 2.891 MB / 382.1 MB Notification: Performance of Backend: time 7.22e-07/0.1375, allocations: 3.938 kB / 0.4979 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1385, allocations: 0.5132 MB / 0.4984 GB, free: 2.34 MB / 382.1 MB Notification: Performance of SimCode: time 0.001182/0.1397, allocations: 1.186 MB / 0.4996 GB, free: 1.102 MB / 382.1 MB Notification: Performance of Templates: time 0.1895/0.3292, allocations: 4.611 MB / 0.5041 GB, free: 22.14 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.makefile (rm -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.Exploiting_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1)