Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09648/0.09648, allocations: 22.69 MB / 327.2 MB, free: 7.227 MB / 254.1 MB " [Timeout remaining time 180] 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.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") translateModel(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 75.91 kB / 460.6 MB, free: 41.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1119, allocations: 58.03 MB / 0.5065 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator): time 0.002029/0.1139, allocations: 1.029 MB / 0.5075 GB, free: 5.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1151, allocations: 1.221 MB / 0.5087 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.1152, allocations: 0 / 0.5087 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1155, allocations: 43.77 kB / 0.5087 GB, free: 4.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1156, allocations: 47.7 kB / 0.5088 GB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.1158, allocations: 87.88 kB / 0.5089 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1161, allocations: 219.5 kB / 0.5091 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1162, allocations: 29.41 kB / 0.5091 GB, free: 4.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.1163, allocations: 79.75 kB / 0.5092 GB, free: 3.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1164, allocations: 103.5 kB / 0.5093 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1164, allocations: 12 kB / 0.5093 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.1164, allocations: 8 kB / 0.5093 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.1165, allocations: 43.91 kB / 0.5093 GB, free: 3.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.1166, allocations: 67.52 kB / 0.5094 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1167, allocations: 127.4 kB / 0.5095 GB, free: 3.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1167, allocations: 3.938 kB / 0.5095 GB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1168, allocations: 0 / 0.5095 GB, free: 3.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1168, allocations: 0 / 0.5095 GB, free: 3.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001093/0.1179, allocations: 0.5181 MB / 0.51 GB, free: 3.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.1179, allocations: 8.75 kB / 0.51 GB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.118, allocations: 16.84 kB / 0.5101 GB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.1185, allocations: 292.8 kB / 0.5103 GB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1185, allocations: 4.375 kB / 0.5103 GB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1185, allocations: 12.33 kB / 0.5104 GB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1188, allocations: 122.6 kB / 0.5105 GB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1188, allocations: 0 / 0.5105 GB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1188, allocations: 4 kB / 0.5105 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1188, allocations: 4 kB / 0.5105 GB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.119, allocations: 87.88 kB / 0.5106 GB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.1196, allocations: 0.5868 MB / 0.5111 GB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.1199, allocations: 130.5 kB / 0.5113 GB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.12, allocations: 48.83 kB / 0.5113 GB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.12, allocations: 0 / 0.5113 GB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1201, allocations: 34.75 kB / 0.5113 GB, free: 1.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1201, allocations: 3.938 kB / 0.5113 GB, free: 1.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003518/0.1204, allocations: 161.5 kB / 0.5115 GB, free: 1.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1205, allocations: 59.34 kB / 0.5116 GB, free: 1.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.1209, allocations: 254.6 kB / 0.5118 GB, free: 1.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1209, allocations: 29.7 kB / 0.5118 GB, free: 1.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.1209, allocations: 120.1 kB / 0.5119 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.121, allocations: 43.69 kB / 0.512 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.121, allocations: 25.72 kB / 0.512 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.1211, allocations: 334.8 kB / 0.5123 GB, free: 484 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.1212, allocations: 36.36 kB / 0.5124 GB, free: 448 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.1213, allocations: 64.36 kB / 0.5124 GB, free: 376 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.122, allocations: 246.3 kB / 0.5127 GB, free: 120 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.122, allocations: 0 / 0.5127 GB, free: 120 kB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002737/0.1222, allocations: 173.4 kB / 0.5128 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1223, allocations: 8 kB / 0.5128 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1223, allocations: 0 / 0.5128 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1223, allocations: 0 / 0.5128 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1224, allocations: 20 kB / 0.5128 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.1224, allocations: 11.86 kB / 0.5129 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1226, allocations: 31.86 kB / 0.5129 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1226, allocations: 12.06 kB / 0.5129 GB, free: 15.86 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: g.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Cps.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: 3 * Number of states: 0 () * Number of discrete variables: 1 (N.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001849/0.1228, allocations: 137.8 kB / 0.513 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.1229, allocations: 11.91 kB / 0.513 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.1229, allocations: 17.41 kB / 0.5131 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1229, allocations: 8 kB / 0.5131 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.1229, allocations: 7.922 kB / 0.5131 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1229, allocations: 0 / 0.5131 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.1232, allocations: 241.6 kB / 0.5133 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1232, allocations: 0 / 0.5133 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.1234, allocations: 15.94 kB / 0.5133 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1234, allocations: 0 / 0.5133 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1234, allocations: 4 kB / 0.5133 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1234, allocations: 0 / 0.5133 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.1234, allocations: 7.922 kB / 0.5133 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.1239, allocations: 283.3 kB / 0.5136 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.124, allocations: 97.02 kB / 0.5137 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.124, allocations: 7.969 kB / 0.5137 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1242, allocations: 23.97 kB / 0.5137 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1242, allocations: 11.92 kB / 0.5137 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/0.1243, allocations: 4 kB / 0.5137 GB, free: 14.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.1247, allocations: 195.2 kB / 0.5139 GB, free: 14.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1247, allocations: 0 / 0.5139 GB, free: 14.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1249, allocations: 23.94 kB / 0.514 GB, free: 14.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (N.y,Cps.x_scaled[1],g.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001478/0.1251, allocations: 99.25 kB / 0.514 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.1254, allocations: 105.9 kB / 0.5141 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1254, allocations: 0 / 0.5141 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1255, allocations: 56.03 kB / 0.5142 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1258, allocations: 26.17 kB / 0.5142 GB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.1265, allocations: 332.4 kB / 0.5145 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1269, allocations: 0.7278 MB / 0.5153 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.048e-05/0.127, allocations: 29.06 kB / 0.5153 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.127, allocations: 15.44 kB / 0.5153 GB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.127, allocations: 0 / 0.5153 GB, free: 13.26 MB / 382.1 MB Notification: Performance of Templates: time 0.00477/0.1318, allocations: 1.374 MB / 0.5166 GB, free: 11.89 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe ; mkfifo AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe >> ../files/AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.sim & ./AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.735747472383082]