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.001014/0.001014, 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.001024/0.001024, allocations: 165 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 1.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.223 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.0762/0.0762, allocations: 18.14 MB / 278.9 MB, free: 11.15 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 9.52e-07/9.52e-07, allocations: 3.938 kB / 357.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.129e-05, allocations: 2.312 kB / 357.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.00234/0.002362, allocations: 1.907 MB / 359.2 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007294/0.003091, allocations: 0.534 MB / 359.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.003152, allocations: 0 / 359.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.003356, allocations: 35.66 kB / 359.8 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.003473, allocations: 55.62 kB / 359.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.003621, allocations: 79.86 kB / 359.9 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.00377, allocations: 179.4 kB / 360.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.003858, allocations: 33.59 kB / 360.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.003996, allocations: 75.81 kB / 360.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.004104, allocations: 75.77 kB / 360.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.004126, allocations: 12 kB / 360.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.004144, allocations: 12 kB / 360.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.004189, allocations: 39.83 kB / 360.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.004239, allocations: 59.77 kB / 360.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.004365, allocations: 103.6 kB / 360.5 MB, free: 5.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004367, allocations: 0 / 360.5 MB, free: 5.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004368, allocations: 0 / 360.5 MB, free: 5.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.004371, allocations: 0 / 360.5 MB, free: 5.648 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.0005214/0.004893, allocations: 495.9 kB / 361 MB, free: 5.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.004923, allocations: 12.92 kB / 361 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.004969, allocations: 32.8 kB / 361 MB, free: 5.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.005178, allocations: 189 kB / 361.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.005197, allocations: 12.38 kB / 361.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.005227, allocations: 12.38 kB / 361.2 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.005355, allocations: 86.2 kB / 361.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005363, allocations: 192 / 361.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005374, allocations: 3.938 kB / 361.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005381, allocations: 4 kB / 361.3 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.00547, allocations: 59.83 kB / 361.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.006194, allocations: 407.4 kB / 361.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.006389, allocations: 115.3 kB / 361.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.006447, allocations: 47.59 kB / 361.9 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.006455, allocations: 4 kB / 361.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.006477, allocations: 37.39 kB / 362 MB, free: 4.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.006478, allocations: 4 kB / 362 MB, free: 4.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005871/0.007065, allocations: 388.4 kB / 362.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.007089, allocations: 59.34 kB / 362.4 MB, free: 3.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.00722, allocations: 221.8 kB / 362.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007233, allocations: 29.7 kB / 362.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.007299, allocations: 167.1 kB / 362.8 MB, free: 3.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.007331, allocations: 59.48 kB / 362.9 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.007374, allocations: 43.36 kB / 362.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.007481, allocations: 0.4962 MB / 363.4 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.007521, allocations: 23.98 kB / 363.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.007575, allocations: 51.34 kB / 363.5 MB, free: 2.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.007714, allocations: 114 kB / 363.6 MB, free: 2.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.007715, allocations: 0 / 363.6 MB, free: 2.281 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.0002975/0.008013, allocations: 203.1 kB / 363.8 MB, free: 2.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.008023, allocations: 8 kB / 363.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008027, allocations: 0 / 363.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.008239, allocations: 59.33 kB / 363.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.008342, allocations: 31.98 kB / 363.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.01054, allocations: 6.292 MB / 370.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.01061, allocations: 11.98 kB / 370.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.01062, allocations: 4.156 kB / 370.2 MB, free: 11.35 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 8.899e-05/0.01071, allocations: 172.5 kB / 370.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.01073, allocations: 19.91 kB / 370.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.01076, allocations: 17.12 kB / 370.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01076, allocations: 7.984 kB / 370.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01076, allocations: 0 / 370.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01077, allocations: 3.984 kB / 370.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.01114, allocations: 440.9 kB / 370.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01114, allocations: 0 / 370.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.01123, allocations: 27.92 kB / 370.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.01139, allocations: 51.58 kB / 370.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.0114, allocations: 4 kB / 370.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008171/0.01222, allocations: 2.028 MB / 373 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01222, allocations: 0 / 373 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01247, allocations: 323.3 kB / 373.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.01249, allocations: 15.95 kB / 373.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.0125, allocations: 11.86 kB / 373.3 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.01258, allocations: 8 kB / 373.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.01261, allocations: 16.03 kB / 373.3 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.01262, allocations: 4 kB / 373.3 MB, free: 8.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.414e-05/0.01269, allocations: 159.2 kB / 373.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01269, allocations: 0 / 373.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.01295, allocations: 36 kB / 373.5 MB, free: 7.828 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.248e-05/0.01302, allocations: 99.19 kB / 373.6 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.01336, allocations: 446.9 kB / 374 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01336, allocations: 0 / 374 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.01351, allocations: 237.4 kB / 374.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.01371, allocations: 13.56 kB / 374.3 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.01441, allocations: 442.3 kB / 374.7 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.01446, allocations: 79.84 kB / 374.8 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.0145, allocations: 21.45 kB / 374.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.01454, allocations: 16.5 kB / 374.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01454, allocations: 4 kB / 374.8 MB, free: 6.379 MB / 346.7 MB Notification: Performance of Templates: time 0.003684/0.01823, allocations: 2.005 MB / 376.8 MB, free: 4.387 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.1136435749940574]