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.001441/0.001441, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001614/0.001614, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.1219/0.1219, allocations: 18.14 MB / 278.5 MB, free: 11.33 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.603e-06/1.603e-06, allocations: 0 / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.817e-05, allocations: 5.688 kB / 356.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator): time 0.002605/0.002633, allocations: 0.9797 MB / 357.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.004758, allocations: 1.248 MB / 358.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.004852, allocations: 0 / 358.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.005192, allocations: 39.66 kB / 358.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.005392, allocations: 47.77 kB / 358.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.005753, allocations: 115.7 kB / 358.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.006064, allocations: 155.6 kB / 359.1 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.006175, allocations: 25.66 kB / 359.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.006317, allocations: 75.73 kB / 359.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.006507, allocations: 67.84 kB / 359.3 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.006544, allocations: 12 kB / 359.3 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.006569, allocations: 8 kB / 359.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.006654, allocations: 47.81 kB / 359.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.006727, allocations: 35.86 kB / 359.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.006946, allocations: 123.6 kB / 359.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006948, allocations: 0 / 359.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006948, allocations: 0 / 359.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.006952, allocations: 0 / 359.5 MB, free: 5.223 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.001234/0.008186, allocations: 457.4 kB / 359.9 MB, free: 4.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.008228, allocations: 8.922 kB / 359.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.008311, allocations: 24.84 kB / 360 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.008973, allocations: 238.2 kB / 360.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.008995, allocations: 8.375 kB / 360.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.00903, allocations: 8.375 kB / 360.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.009304, allocations: 120.7 kB / 360.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.009313, allocations: 192 / 360.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.009329, allocations: 8.375 kB / 360.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.00935, allocations: 3.938 kB / 360.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.009582, allocations: 87.88 kB / 360.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009435/0.01053, allocations: 0.5045 MB / 360.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.01096, allocations: 138.4 kB / 361.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.01108, allocations: 48.83 kB / 361.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.0111, allocations: 4 kB / 361.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.01113, allocations: 30.56 kB / 361.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.01113, allocations: 0 / 361.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004678/0.0116, allocations: 165.7 kB / 361.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.01166, allocations: 55.41 kB / 361.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.01221, allocations: 250.8 kB / 361.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.01224, allocations: 37.64 kB / 361.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01236, allocations: 116 kB / 361.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.01241, allocations: 43.72 kB / 361.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.01247, allocations: 29.7 kB / 361.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.01267, allocations: 326.8 kB / 362.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01277, allocations: 43.97 kB / 362.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01288, allocations: 62.55 kB / 362.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/0.01377, allocations: 250.3 kB / 362.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01378, allocations: 0 / 362.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003264/0.0141, allocations: 166.5 kB / 362.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01412, allocations: 8.062 kB / 362.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01412, allocations: 0 / 362.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01414, allocations: 4 kB / 362.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01427, allocations: 19.98 kB / 362.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01428, allocations: 4 kB / 362.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.01449, allocations: 31.91 kB / 362.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.0145, allocations: 4 kB / 362.7 MB, free: 1.766 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.000181/0.01468, allocations: 142.3 kB / 362.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.01473, allocations: 19.89 kB / 362.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.01478, allocations: 17.47 kB / 362.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.01479, allocations: 7.984 kB / 362.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.0148, allocations: 0 / 362.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.0148, allocations: 0 / 362.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.01506, allocations: 173.1 kB / 363.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01506, allocations: 0 / 363.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.01522, allocations: 20 kB / 363.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01522, allocations: 3.984 kB / 363.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01524, allocations: 4 kB / 363.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01524, allocations: 3.938 kB / 363.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01524, allocations: 4 kB / 363.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.01572, allocations: 287.2 kB / 363.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.01576, allocations: 23.94 kB / 363.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.01579, allocations: 0 / 363.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.01602, allocations: 23.97 kB / 363.4 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.01608, allocations: 7.984 kB / 363.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01609, allocations: 8 kB / 363.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004356/0.01652, allocations: 196.2 kB / 363.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01652, allocations: 0 / 363.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000255/0.01678, allocations: 20 kB / 363.7 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 0.0001379/0.01692, allocations: 99.23 kB / 363.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.0172, allocations: 111.6 kB / 363.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.0172, allocations: 0 / 363.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.01731, allocations: 48.39 kB / 363.9 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.01768, allocations: 47.91 kB / 364 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.01834, allocations: 308.1 kB / 364.3 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.0185, allocations: 119.6 kB / 364.4 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.46e-05/0.0186, allocations: 25.12 kB / 364.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.01865, allocations: 16.5 kB / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01865, allocations: 0 / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of Templates: time 0.004829/0.02348, allocations: 1.371 MB / 365.8 MB, free: 14.61 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=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.516148125054315]