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.001366/0.001366, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001592/0.001592, allocations: 166.6 kB / 24.86 MB, free: 8.641 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.06648/0.06648, allocations: 18.14 MB / 280 MB, free: 11.18 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.192e-06/1.192e-06, allocations: 0 / 358.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.019e-05, allocations: 2.312 kB / 358.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.008715/0.008735, allocations: 1.899 MB / 360.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.009622, allocations: 0.5378 MB / 361 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.009702, allocations: 4 kB / 361 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.009966, allocations: 23.73 kB / 361 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.01011, allocations: 55.67 kB / 361.1 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006205/0.01631, allocations: 79.8 kB / 361.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.01649, allocations: 175.4 kB / 361.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.01659, allocations: 29.59 kB / 361.3 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.01675, allocations: 83.8 kB / 361.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.01688, allocations: 75.77 kB / 361.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.01691, allocations: 12 kB / 361.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.01693, allocations: 12 kB / 361.5 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.01699, allocations: 47.83 kB / 361.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.01704, allocations: 47.83 kB / 361.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.01719, allocations: 103.5 kB / 361.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.01719, allocations: 0 / 361.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01719, allocations: 0 / 361.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.01719, allocations: 0 / 361.7 MB, free: 5.395 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.0005698/0.01776, allocations: 499.9 kB / 362.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.01779, allocations: 12.92 kB / 362.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.01784, allocations: 28.8 kB / 362.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.01805, allocations: 181 kB / 362.4 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.01807, allocations: 8.375 kB / 362.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.01809, allocations: 12.38 kB / 362.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.01822, allocations: 78.2 kB / 362.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.01823, allocations: 192 / 362.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01824, allocations: 11.94 kB / 362.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.01825, allocations: 0 / 362.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.01833, allocations: 47.77 kB / 362.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.01882, allocations: 392 kB / 363 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.019, allocations: 103.2 kB / 363.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.01905, allocations: 39.66 kB / 363.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.01906, allocations: 4 kB / 363.1 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.01908, allocations: 37.33 kB / 363.1 MB, free: 3.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.01908, allocations: 3.938 kB / 363.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.006563/0.02564, allocations: 356.3 kB / 363.5 MB, free: 3.457 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.02567, allocations: 59.39 kB / 363.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.0258, allocations: 213.8 kB / 363.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.02581, allocations: 33.7 kB / 363.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.02588, allocations: 159.1 kB / 363.9 MB, free: 2.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.02592, allocations: 63.48 kB / 364 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.02597, allocations: 43.34 kB / 364 MB, free: 2.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.0261, allocations: 0.4962 MB / 364.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.02613, allocations: 19.92 kB / 364.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.02619, allocations: 51.33 kB / 364.6 MB, free: 2.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.02632, allocations: 102.2 kB / 364.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.02632, allocations: 0 / 364.7 MB, free: 2.152 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.0002959/0.02662, allocations: 180.4 kB / 364.9 MB, free: 1.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.02663, allocations: 9.875 kB / 364.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.02663, allocations: 0 / 364.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.02683, allocations: 63.34 kB / 365 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.02695, allocations: 31.98 kB / 365 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008442/0.03539, allocations: 6.238 MB / 371.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.03547, allocations: 15.92 kB / 371.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.03548, allocations: 0 / 371.2 MB, free: 11.3 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.942e-05/0.03558, allocations: 164.7 kB / 371.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.03561, allocations: 23.91 kB / 371.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.03564, allocations: 25.06 kB / 371.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.03564, allocations: 8.047 kB / 371.5 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.03565, allocations: 0 / 371.5 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.03565, allocations: 0 / 371.5 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.03605, allocations: 401.5 kB / 371.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.03605, allocations: 0 / 371.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.813e-05/0.03615, allocations: 31.92 kB / 371.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.03631, allocations: 47.62 kB / 371.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.03632, allocations: 4 kB / 371.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006888/0.04321, allocations: 2.001 MB / 373.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.04321, allocations: 0 / 373.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.04348, allocations: 318.9 kB / 374.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.0435, allocations: 23.94 kB / 374.3 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.04352, allocations: 4 kB / 374.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.04362, allocations: 4 kB / 374.3 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.04365, allocations: 15.97 kB / 374.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.04366, allocations: 4 kB / 374.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.746e-05/0.04373, allocations: 156 kB / 374.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04373, allocations: 0 / 374.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.0441, allocations: 36 kB / 374.5 MB, free: 7.883 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 8.472e-05/0.04418, allocations: 103.2 kB / 374.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.04452, allocations: 431.1 kB / 375 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.04452, allocations: 0 / 375 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.04469, allocations: 221.4 kB / 375.2 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.04494, allocations: 19.98 kB / 375.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.04565, allocations: 436.8 kB / 375.7 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.436e-05/0.04571, allocations: 83.83 kB / 375.8 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.04576, allocations: 21.47 kB / 375.8 MB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.04583, allocations: 82.2 kB / 375.9 MB, free: 6.391 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.04583, allocations: 0 / 375.9 MB, free: 6.391 MB / 346.7 MB Notification: Performance of Templates: time 0.008913/0.05474, allocations: 2.162 MB / 378 MB, free: 4.242 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.0540666161105037]