Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_case_studies.foo.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.001493/0.001493, allocations: 77.88 kB / 20.67 MB, free: 3.82 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.0016/0.0016, allocations: 181 kB / 24.08 MB, free: 428 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.096/1.096, allocations: 177.1 MB / 204.5 MB, free: 5.316 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.0637/0.0637, allocations: 18.15 MB / 279.2 MB, free: 11 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_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") translateModel(AES.Coursework.ElecSys_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 357.8 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.318e-05, allocations: 6.312 kB / 357.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.002515/0.002538, allocations: 1.893 MB / 359.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.003306, allocations: 0.5262 MB / 360.2 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.003389, allocations: 7.938 kB / 360.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.003655, allocations: 31.73 kB / 360.2 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.003786, allocations: 47.67 kB / 360.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.003963, allocations: 83.86 kB / 360.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.004128, allocations: 171.4 kB / 360.5 MB, free: 5.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.00423, allocations: 37.58 kB / 360.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.004412, allocations: 79.73 kB / 360.6 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.004533, allocations: 75.77 kB / 360.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.004556, allocations: 12 kB / 360.7 MB, free: 5.582 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.004576, allocations: 16 kB / 360.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.004623, allocations: 43.83 kB / 360.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.004669, allocations: 47.83 kB / 360.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004805, allocations: 103.6 kB / 360.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.004807, allocations: 4 kB / 360.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004808, allocations: 3.938 kB / 360.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.004811, allocations: 0 / 360.9 MB, free: 5.367 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005116/0.005323, allocations: 491.9 kB / 361.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.005357, allocations: 8.922 kB / 361.4 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.0054, allocations: 32.78 kB / 361.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.005593, allocations: 181 kB / 361.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.005609, allocations: 12.31 kB / 361.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.005632, allocations: 12.38 kB / 361.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.00575, allocations: 82.2 kB / 361.7 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.005757, allocations: 192 / 361.7 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.005767, allocations: 7.938 kB / 361.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005773, allocations: 7.938 kB / 361.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.076e-05/0.005834, allocations: 43.83 kB / 361.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.006275, allocations: 388 kB / 362.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.006443, allocations: 109.5 kB / 362.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.006485, allocations: 39.66 kB / 362.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.006494, allocations: 0 / 362.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.006515, allocations: 37.39 kB / 362.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.006516, allocations: 0 / 362.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005212/0.007037, allocations: 367.1 kB / 362.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.007064, allocations: 51.41 kB / 362.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.007179, allocations: 217.8 kB / 363 MB, free: 3.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.007192, allocations: 25.7 kB / 363 MB, free: 3.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.007567, allocations: 163.1 kB / 363.2 MB, free: 2.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.0076, allocations: 59.47 kB / 363.2 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.00764, allocations: 39.36 kB / 363.3 MB, free: 2.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.007763, allocations: 0.504 MB / 363.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.007791, allocations: 15.98 kB / 363.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/0.007833, allocations: 47.33 kB / 363.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.007937, allocations: 105.6 kB / 363.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.007939, allocations: 0 / 363.9 MB, free: 2.133 MB / 330.7 MB Warning: The linear system: 1 : Ge1.Pm = Ge1.Pcmd 2 : Ge1.Pm = Ge1.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ Ge1.Pm ; Ge1.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge1.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002918/0.008231, allocations: 179.4 kB / 364.1 MB, free: 1.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.008245, allocations: 4.031 kB / 364.1 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.008251, allocations: 4 kB / 364.1 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.00845, allocations: 55.33 kB / 364.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.008545, allocations: 39.92 kB / 364.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.01138, allocations: 6.254 MB / 370.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.01145, allocations: 0 / 370.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.01146, allocations: 8 kB / 370.5 MB, free: 11.28 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: Ge1.deltag:VARIABLE(unit = \"rad\" fixed = true ) \"generator angle wrt port\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.01158, allocations: 168.7 kB / 370.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.01161, allocations: 19.91 kB / 370.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.01164, allocations: 25.05 kB / 370.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01164, allocations: 4 kB / 370.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.01165, allocations: 0 / 370.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01165, allocations: 3.938 kB / 370.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.01202, allocations: 405.1 kB / 371.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01202, allocations: 3.984 kB / 371.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.918e-05/0.0121, allocations: 35.98 kB / 371.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.01223, allocations: 35.64 kB / 371.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01225, allocations: 8 kB / 371.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008447/0.01309, allocations: 2.005 MB / 373.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01309, allocations: 0 / 373.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.01375, allocations: 311.3 kB / 373.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.01377, allocations: 15.91 kB / 373.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.01379, allocations: 4 kB / 373.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.01385, allocations: 7.984 kB / 373.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.0139, allocations: 11.92 kB / 373.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.01391, allocations: 8.062 kB / 373.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.824e-05/0.01398, allocations: 160 kB / 373.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01398, allocations: 0 / 373.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.01424, allocations: 36 kB / 373.7 MB, free: 7.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Ge1.thetap,Ge1.deltag,Ge1.wg,C.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 9.858e-05/0.01434, allocations: 99.19 kB / 373.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.01463, allocations: 435.1 kB / 374.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01464, allocations: 0 / 374.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.01478, allocations: 225.5 kB / 374.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.01498, allocations: 19.98 kB / 374.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.01566, allocations: 434.3 kB / 374.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.01572, allocations: 87.77 kB / 375 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.263e-05/0.01576, allocations: 17.47 kB / 375 MB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.01582, allocations: 86.14 kB / 375.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01583, allocations: 0 / 375.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of Templates: time 0.003972/0.0198, allocations: 2.123 MB / 377.2 MB, free: 4.266 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_case_studies.foo.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; mkfifo AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_case_studies.foo.pipe >> ../files/AES_AES.Coursework.ElecSys_case_studies.foo.sim & ./AES_AES.Coursework.ElecSys_case_studies.foo -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_case_studies.foo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0684915110468864]