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.001123/0.001123, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001897/0.001897, allocations: 181 kB / 24.28 MB, free: 280 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.062/1.062, allocations: 177.1 MB / 204.6 MB, free: 5.363 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.0781/0.0781, allocations: 18.13 MB / 279.2 MB, free: 11.23 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.623e-06/1.623e-06, allocations: 0 / 357.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.207e-05/4.369e-05, allocations: 6.25 kB / 357.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.002614/0.002658, allocations: 1.907 MB / 359.1 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.003556, allocations: 0.5377 MB / 359.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.003645, allocations: 0 / 359.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.003951, allocations: 35.7 kB / 359.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.004119, allocations: 47.64 kB / 359.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.004326, allocations: 83.8 kB / 359.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004518, allocations: 175.4 kB / 360 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004632, allocations: 29.72 kB / 360 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.004992, allocations: 83.75 kB / 360.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.00513, allocations: 71.77 kB / 360.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.005158, allocations: 16 kB / 360.2 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.005176, allocations: 12 kB / 360.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.005231, allocations: 43.83 kB / 360.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.005283, allocations: 39.91 kB / 360.3 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.005445, allocations: 111.5 kB / 360.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.005449, allocations: 0 / 360.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.00545, allocations: 0 / 360.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005455, allocations: 0 / 360.4 MB, free: 4.992 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.0006612/0.006116, allocations: 0.496 MB / 360.9 MB, free: 4.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.006156, allocations: 8.922 kB / 360.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.006216, allocations: 24.84 kB / 360.9 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.006487, allocations: 196.9 kB / 361.1 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.006512, allocations: 12.38 kB / 361.1 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.006539, allocations: 12.38 kB / 361.2 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.006707, allocations: 86.2 kB / 361.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006715, allocations: 192 / 361.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.006728, allocations: 7.938 kB / 361.2 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.006739, allocations: 4 kB / 361.3 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.006839, allocations: 51.83 kB / 361.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.007436, allocations: 411.4 kB / 361.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.007671, allocations: 115.3 kB / 361.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.007739, allocations: 47.64 kB / 361.9 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.007753, allocations: 7.938 kB / 361.9 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.007779, allocations: 37.39 kB / 361.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.00778, allocations: 4 kB / 361.9 MB, free: 3.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007334/0.008514, allocations: 392.4 kB / 362.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.008547, allocations: 55.41 kB / 362.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.0087, allocations: 225.8 kB / 362.6 MB, free: 2.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.008716, allocations: 29.7 kB / 362.6 MB, free: 2.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.008801, allocations: 163.1 kB / 362.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.008837, allocations: 59.53 kB / 362.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.008885, allocations: 39.38 kB / 362.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.009018, allocations: 0.4962 MB / 363.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.009068, allocations: 27.92 kB / 363.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.00913, allocations: 47.34 kB / 363.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.009286, allocations: 118 kB / 363.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009287, allocations: 4 kB / 363.5 MB, free: 1.609 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.000617/0.009904, allocations: 192.4 kB / 363.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.009919, allocations: 7.938 kB / 363.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009923, allocations: 0 / 363.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.01016, allocations: 67.34 kB / 363.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01028, allocations: 35.98 kB / 363.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.01269, allocations: 6.288 MB / 370.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.01276, allocations: 7.984 kB / 370.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.01277, allocations: 8 kB / 370.1 MB, free: 10.68 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.0001113/0.01288, allocations: 171.5 kB / 370.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.01291, allocations: 20 kB / 370.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.01294, allocations: 29.11 kB / 370.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01294, allocations: 4 kB / 370.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01294, allocations: 0 / 370.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01294, allocations: 0 / 370.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.01336, allocations: 432.9 kB / 370.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.01336, allocations: 4 kB / 370.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.01346, allocations: 27.92 kB / 370.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.01395, allocations: 51.62 kB / 370.9 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.01397, allocations: 4 kB / 370.9 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000825/0.01479, allocations: 2.024 MB / 372.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01479, allocations: 0 / 372.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.01506, allocations: 337.2 kB / 373.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.01508, allocations: 12.05 kB / 373.2 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.0151, allocations: 15.92 kB / 373.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.01517, allocations: 4 kB / 373.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.01522, allocations: 19.95 kB / 373.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01522, allocations: 4 kB / 373.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.01531, allocations: 159.2 kB / 373.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01531, allocations: 0 / 373.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.01557, allocations: 32 kB / 373.5 MB, free: 7.156 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.000114/0.01568, allocations: 103.2 kB / 373.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.01607, allocations: 431.1 kB / 374 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01607, allocations: 0 / 374 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.01623, allocations: 241.4 kB / 374.2 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01646, allocations: 20 kB / 374.2 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.01726, allocations: 434.2 kB / 374.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.29e-05/0.01731, allocations: 79.98 kB / 374.7 MB, free: 5.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.834e-05/0.01736, allocations: 25.45 kB / 374.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.0174, allocations: 20.5 kB / 374.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0174, allocations: 0 / 374.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of Templates: time 0.004076/0.02148, allocations: 2.009 MB / 376.8 MB, free: 3.711 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: 3.0885069121140987]