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.00144/0.00144, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001472/0.001472, allocations: 169 kB / 23.82 MB, free: 0.7539 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 0.9995/0.9995, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.06305/0.06305, allocations: 18.13 MB / 278.9 MB, free: 11.29 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.462e-06/1.462e-06, allocations: 3.938 kB / 357.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.078e-05, allocations: 2.312 kB / 357.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.002443/0.002463, allocations: 1.911 MB / 359.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007756/0.003239, allocations: 0.53 MB / 359.7 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.003308, allocations: 8 kB / 359.7 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.003572, allocations: 35.64 kB / 359.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.003843, allocations: 47.7 kB / 359.8 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.00401, allocations: 79.8 kB / 359.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.004175, allocations: 183.4 kB / 360.1 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.004271, allocations: 29.59 kB / 360.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.004446, allocations: 79.8 kB / 360.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.004557, allocations: 75.77 kB / 360.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.00458, allocations: 12 kB / 360.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.004599, allocations: 16 kB / 360.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.004647, allocations: 39.84 kB / 360.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.004693, allocations: 47.83 kB / 360.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.00483, allocations: 107.5 kB / 360.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004832, allocations: 4 kB / 360.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004833, allocations: 0 / 360.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004837, allocations: 0 / 360.5 MB, free: 5.668 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.0006112/0.005448, allocations: 0.4921 MB / 361 MB, free: 5.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.005489, allocations: 8.922 kB / 361 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.005545, allocations: 28.8 kB / 361 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.005781, allocations: 189 kB / 361.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.005801, allocations: 8.375 kB / 361.2 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.005825, allocations: 12.38 kB / 361.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.005971, allocations: 90.2 kB / 361.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.005979, allocations: 192 / 361.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.005992, allocations: 11.92 kB / 361.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006, allocations: 4 kB / 361.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.775e-05/0.006098, allocations: 51.83 kB / 361.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.006608, allocations: 407.5 kB / 361.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.006807, allocations: 119.2 kB / 361.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.006861, allocations: 43.66 kB / 361.9 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.006871, allocations: 4 kB / 361.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.006894, allocations: 41.33 kB / 362 MB, free: 4.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.006895, allocations: 0 / 362 MB, free: 4.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000614/0.007509, allocations: 392.2 kB / 362.4 MB, free: 3.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.007532, allocations: 55.34 kB / 362.4 MB, free: 3.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.007656, allocations: 225.8 kB / 362.6 MB, free: 3.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.007669, allocations: 33.7 kB / 362.7 MB, free: 3.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.007734, allocations: 163.1 kB / 362.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.007766, allocations: 55.53 kB / 362.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.007809, allocations: 43.36 kB / 362.9 MB, free: 3.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003918/0.008201, allocations: 0.4962 MB / 363.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.008248, allocations: 23.98 kB / 363.4 MB, free: 2.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.008322, allocations: 58.28 kB / 363.5 MB, free: 2.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.008472, allocations: 113.8 kB / 363.6 MB, free: 2.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008473, allocations: 4 kB / 363.6 MB, free: 2.293 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.0003076/0.00878, allocations: 196.4 kB / 363.8 MB, free: 2.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.008792, allocations: 7.938 kB / 363.8 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.008797, allocations: 0 / 363.8 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.00902, allocations: 59.36 kB / 363.9 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.009128, allocations: 35.98 kB / 363.9 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.01112, allocations: 6.292 MB / 370.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.01119, allocations: 7.984 kB / 370.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.0112, allocations: 8 kB / 370.2 MB, free: 11.36 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 9.065e-05/0.01129, allocations: 171.2 kB / 370.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.01132, allocations: 19.91 kB / 370.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.01134, allocations: 21.12 kB / 370.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01134, allocations: 8.047 kB / 370.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.01134, allocations: 0 / 370.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01134, allocations: 4 kB / 370.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.01197, allocations: 432.9 kB / 370.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01197, allocations: 0 / 370.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.01206, allocations: 27.98 kB / 370.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.01222, allocations: 55.52 kB / 370.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.01223, allocations: 8 kB / 370.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007478/0.01298, allocations: 2.024 MB / 373 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01298, allocations: 0 / 373 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.01323, allocations: 334.6 kB / 373.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.01325, allocations: 11.95 kB / 373.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.01326, allocations: 19.86 kB / 373.3 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.01333, allocations: 4 kB / 373.3 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.01337, allocations: 15.97 kB / 373.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.01337, allocations: 0 / 373.3 MB, free: 8.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.394e-05/0.01345, allocations: 164 kB / 373.5 MB, free: 7.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01345, allocations: 0 / 373.5 MB, free: 7.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01369, allocations: 32 kB / 373.5 MB, free: 7.84 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 7.37e-05/0.01376, allocations: 99.25 kB / 373.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.0141, allocations: 435.1 kB / 374.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0141, allocations: 0 / 374.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.01426, allocations: 237.4 kB / 374.3 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.01446, allocations: 16 kB / 374.3 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.01519, allocations: 438.3 kB / 374.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.13e-05/0.01524, allocations: 83.84 kB / 374.8 MB, free: 6.434 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.359e-05/0.01529, allocations: 21.47 kB / 374.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.01533, allocations: 16.5 kB / 374.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01533, allocations: 0 / 374.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of Templates: time 0.005285/0.02062, allocations: 2.057 MB / 376.9 MB, free: 4.355 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: 2.9981443262659013]