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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 87.56 kB / 20.97 MB, free: 3.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 177 kB / 24.28 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.07862/0.07862, allocations: 18.14 MB / 279.2 MB, free: 11.35 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.674e-06/1.674e-06, allocations: 0 / 357.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.865e-05, allocations: 6.312 kB / 357.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator): time 0.002011/0.002039, allocations: 1.003 MB / 358.2 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.00352, allocations: 1.264 MB / 359.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.003617, allocations: 11.94 kB / 359.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.003927, allocations: 39.72 kB / 359.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.004054, allocations: 47.69 kB / 359.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.004282, allocations: 123.7 kB / 359.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.004488, allocations: 155.6 kB / 359.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004588, allocations: 17.67 kB / 359.9 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.004675, allocations: 59.81 kB / 360 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.004809, allocations: 83.75 kB / 360 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.00484, allocations: 12 kB / 360 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.004857, allocations: 12 kB / 360.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.00492, allocations: 43.83 kB / 360.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.004969, allocations: 31.91 kB / 360.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.005129, allocations: 99.52 kB / 360.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005131, allocations: 0 / 360.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005132, allocations: 4 kB / 360.2 MB, free: 5.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.005137, allocations: 0 / 360.2 MB, free: 5.172 MB / 282.7 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.0006286/0.005766, allocations: 0.4999 MB / 360.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.005802, allocations: 8.922 kB / 360.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.005853, allocations: 20.84 kB / 360.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.006184, allocations: 221.7 kB / 361 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.006213, allocations: 8.375 kB / 361 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.00624, allocations: 8.375 kB / 361 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.006444, allocations: 100.4 kB / 361.1 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.006456, allocations: 4.125 kB / 361.1 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.006469, allocations: 4.375 kB / 361.1 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.006482, allocations: 3.938 kB / 361.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.006592, allocations: 43.91 kB / 361.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.007556, allocations: 0.6263 MB / 361.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.007818, allocations: 91 kB / 361.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.007871, allocations: 35.8 kB / 361.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.00788, allocations: 0 / 361.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.007904, allocations: 37.39 kB / 361.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.007905, allocations: 0 / 361.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002442/0.00815, allocations: 105.5 kB / 362 MB, free: 3.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.008183, allocations: 55.41 kB / 362.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.008353, allocations: 238.3 kB / 362.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.008369, allocations: 33.7 kB / 362.4 MB, free: 2.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.008449, allocations: 162.8 kB / 362.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.008478, allocations: 43.78 kB / 362.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.008523, allocations: 35.36 kB / 362.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.008646, allocations: 0.5 MB / 363.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.008683, allocations: 15.98 kB / 363.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.724e-05/0.00873, allocations: 46.67 kB / 363.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.00887, allocations: 98.98 kB / 363.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.008873, allocations: 0 / 363.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001403/0.009013, allocations: 101.5 kB / 363.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.009027, allocations: 8 kB / 363.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009032, allocations: 0 / 363.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.009046, allocations: 0 / 363.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.009128, allocations: 31.92 kB / 363.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.009134, allocations: 0 / 363.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.009197, allocations: 15.94 kB / 363.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.009204, allocations: 8.062 kB / 363.4 MB, free: 1.742 MB / 282.7 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.0001267/0.009331, allocations: 177.1 kB / 363.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.009358, allocations: 19.84 kB / 363.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.009392, allocations: 21.45 kB / 363.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.009394, allocations: 0 / 363.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.009397, allocations: 7.938 kB / 363.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.0094, allocations: 0 / 363.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.009544, allocations: 172.4 kB / 363.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.009547, allocations: 8 kB / 363.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.009619, allocations: 19.98 kB / 363.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.009621, allocations: 0 / 363.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.009636, allocations: 0 / 363.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009637, allocations: 0 / 363.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009638, allocations: 0 / 363.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.009869, allocations: 268.1 kB / 364.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.009893, allocations: 19.89 kB / 364.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.009913, allocations: 4 kB / 364.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.009981, allocations: 11.98 kB / 364.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.01002, allocations: 8 kB / 364.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01002, allocations: 3.984 kB / 364.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.432e-05/0.01012, allocations: 172.3 kB / 364.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01012, allocations: 0 / 364.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000172/0.01029, allocations: 16 kB / 364.3 MB, free: 0.7734 MB / 282.7 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 9.928e-05/0.01039, allocations: 107.2 kB / 364.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.01053, allocations: 66.72 kB / 364.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01053, allocations: 4 kB / 364.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.01058, allocations: 35.75 kB / 364.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01084, allocations: 31.91 kB / 364.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01131, allocations: 293.6 kB / 364.9 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.01135, allocations: 83.81 kB / 364.9 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.0114, allocations: 21.12 kB / 365 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.01144, allocations: 16.5 kB / 365 MB, free: 64 kB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01144, allocations: 4 kB / 365 MB, free: 60 kB / 282.7 MB Notification: Performance of Templates: time 0.00346/0.0149, allocations: 1.381 MB / 366.4 MB, free: 14.71 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9905490800738335]