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.001937/0.001937, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002013/0.002013, allocations: 169.3 kB / 23.55 MB, free: 0.875 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.619/1.619, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.1186/0.1186, 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_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.563e-06/1.563e-06, allocations: 0 / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.053e-05, allocations: 9.406 kB / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.003565/0.003596, allocations: 1.858 MB / 358.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004747, allocations: 0.5298 MB / 358.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.004831, allocations: 4 kB / 358.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.005127, allocations: 31.77 kB / 358.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.005323, allocations: 51.58 kB / 359 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.005573, allocations: 79.86 kB / 359.1 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.005843, allocations: 183.4 kB / 359.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.005961, allocations: 21.8 kB / 359.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.0062, allocations: 87.67 kB / 359.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.006418, allocations: 75.77 kB / 359.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.006457, allocations: 12 kB / 359.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-05/0.006491, allocations: 12 kB / 359.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.006565, allocations: 39.84 kB / 359.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.006639, allocations: 47.89 kB / 359.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.006881, allocations: 147.5 kB / 359.7 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.006887, allocations: 8 kB / 359.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006888, allocations: 0 / 359.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.006894, allocations: 0 / 359.7 MB, free: 4.996 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001027/0.007921, allocations: 0.5034 MB / 360.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.007958, allocations: 8.922 kB / 360.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.008033, allocations: 24.84 kB / 360.2 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.008395, allocations: 188.2 kB / 360.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.008413, allocations: 8.375 kB / 360.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.008451, allocations: 16.36 kB / 360.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.00868, allocations: 106.2 kB / 360.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008691, allocations: 192 / 360.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.008706, allocations: 7.938 kB / 360.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.008711, allocations: 0 / 360.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.008918, allocations: 71.91 kB / 360.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.009768, allocations: 443.4 kB / 361 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.01011, allocations: 139.2 kB / 361.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.01023, allocations: 55.66 kB / 361.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.01026, allocations: 4 kB / 361.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.01029, allocations: 37.39 kB / 361.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.01029, allocations: 0 / 361.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001059/0.01135, allocations: 460.5 kB / 361.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.0114, allocations: 55.41 kB / 361.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.01171, allocations: 237.9 kB / 362 MB, free: 2.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.01173, allocations: 29.7 kB / 362 MB, free: 2.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01186, allocations: 167.1 kB / 362.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.01193, allocations: 67.48 kB / 362.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.012, allocations: 39.38 kB / 362.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002876/0.01229, allocations: 0.504 MB / 362.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.01238, allocations: 35.98 kB / 362.8 MB, free: 1.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.0125, allocations: 65.98 kB / 362.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.01281, allocations: 174.1 kB / 363.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01281, allocations: 0 / 363.1 MB, free: 1.355 MB / 282.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.0005642/0.01338, allocations: 228.5 kB / 363.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01339, allocations: 4 kB / 363.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.0134, allocations: 0 / 363.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.01375, allocations: 71.3 kB / 363.4 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.01393, allocations: 35.97 kB / 363.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/0.01855, allocations: 6.378 MB / 369.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.01869, allocations: 7.984 kB / 369.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.01871, allocations: 8 kB / 369.8 MB, free: 10.3 MB / 298.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.0001896/0.0189, allocations: 188.5 kB / 370 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.01895, allocations: 19.91 kB / 370 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.019, allocations: 21.11 kB / 370 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.01901, allocations: 4 kB / 370 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01901, allocations: 0 / 370 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01902, allocations: 0 / 370 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.01975, allocations: 480.9 kB / 370.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01976, allocations: 0 / 370.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.01992, allocations: 23.98 kB / 370.5 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.0202, allocations: 47.64 kB / 370.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.02022, allocations: 8 kB / 370.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.02206, allocations: 2.095 MB / 372.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.649e-06/0.02207, allocations: 19.98 kB / 372.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.02261, allocations: 366 kB / 373.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.02265, allocations: 15.89 kB / 373.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.02267, allocations: 7.938 kB / 373.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.02282, allocations: 15.92 kB / 373.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.02289, allocations: 7.984 kB / 373.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.02289, allocations: 4 kB / 373.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.02312, allocations: 188 kB / 373.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02312, allocations: 4 kB / 373.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003855/0.0235, allocations: 32 kB / 373.3 MB, free: 6.578 MB / 298.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 0.0001295/0.02363, allocations: 99.23 kB / 373.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006653/0.0243, allocations: 473.3 kB / 373.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.0243, allocations: 0 / 373.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.02463, allocations: 241.5 kB / 374.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.02493, allocations: 23.94 kB / 374.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.02583, allocations: 442.2 kB / 374.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.02596, allocations: 115.6 kB / 374.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.02603, allocations: 21.41 kB / 374.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.02609, allocations: 16.5 kB / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02609, allocations: 0 / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of Templates: time 0.006246/0.03233, allocations: 2.002 MB / 376.7 MB, free: 3.059 MB / 298.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: 4.761397884925827]