Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.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.0009221/0.0009221, allocations: 77.97 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.001048/0.001048, allocations: 166.8 kB / 24.85 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 0.9803/0.9803, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.06596/0.06596, allocations: 18.14 MB / 280 MB, free: 11.17 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_power_frequency_control.PA_two_generators_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop") translateModel(AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 358.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.654e-05, allocations: 5.406 kB / 358.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop): time 0.002864/0.002891, allocations: 2.535 MB / 361.1 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.00414, allocations: 0.8067 MB / 361.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.004297, allocations: 7.938 kB / 361.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.004656, allocations: 87.27 kB / 362 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.004915, allocations: 158.9 kB / 362.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.00534, allocations: 287.4 kB / 362.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.005733, allocations: 0.4951 MB / 362.9 MB, free: 4.168 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.005903, allocations: 92.98 kB / 363 MB, free: 4.074 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.00617, allocations: 207.4 kB / 363.2 MB, free: 3.871 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.006406, allocations: 207.3 kB / 363.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.006455, allocations: 36 kB / 363.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.07e-05/0.006496, allocations: 36 kB / 363.5 MB, free: 3.598 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.006604, allocations: 119.5 kB / 363.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/0.006701, allocations: 123.6 kB / 363.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.006997, allocations: 306.6 kB / 364 MB, free: 3.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007001, allocations: 4 kB / 364 MB, free: 3.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007002, allocations: 0 / 364 MB, free: 3.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.007006, allocations: 0 / 364 MB, free: 3.055 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009225/0.007929, allocations: 0.7994 MB / 364.8 MB, free: 2.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.007974, allocations: 20.91 kB / 364.9 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.008063, allocations: 76.61 kB / 364.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.00848, allocations: 319.3 kB / 365.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.008505, allocations: 25.03 kB / 365.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.008544, allocations: 36.33 kB / 365.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.008792, allocations: 250.6 kB / 365.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.008803, allocations: 0 / 365.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.008821, allocations: 12 kB / 365.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.008829, allocations: 8 kB / 365.6 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.008977, allocations: 107 kB / 365.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.009871, allocations: 0.9436 MB / 366.6 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.01024, allocations: 272.9 kB / 366.9 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.01048, allocations: 94.8 kB / 367 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.0105, allocations: 8.328 kB / 367 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01052, allocations: 53.64 kB / 367 MB, free: 15.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.01053, allocations: 0 / 367 MB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001147/0.01167, allocations: 0.7366 MB / 367.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.0117, allocations: 59.41 kB / 367.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01191, allocations: 367.2 kB / 368.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.01194, allocations: 37.69 kB / 368.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01205, allocations: 255.3 kB / 368.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.01213, allocations: 154.7 kB / 368.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.0122, allocations: 91.7 kB / 368.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.01234, allocations: 0.5312 MB / 369.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.0124, allocations: 52.89 kB / 369.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/0.01249, allocations: 111.8 kB / 369.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.01274, allocations: 264.6 kB / 369.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01274, allocations: 0 / 369.7 MB, free: 13.13 MB / 346.7 MB Warning: The linear system: 1 : Ge2.Pm = Ge2.Pcmd 2 : Ge2.Pm = Ge2.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ Ge2.Pcmd ; Ge2.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge2.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. 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=54) (initialization): time 0.0007703/0.01351, allocations: 471.3 kB / 370.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01353, allocations: 11.94 kB / 370.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01353, allocations: 0 / 370.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00076/0.01429, allocations: 246.9 kB / 370.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.01476, allocations: 83.89 kB / 370.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.01969, allocations: 10.92 MB / 381.4 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.01991, allocations: 16 kB / 381.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01992, allocations: 12 kB / 381.4 MB, free: 0.8789 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: Ge2.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: 5 * Number of states: 0 () * Number of discrete variables: 1 (Cs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.02008, allocations: 188.5 kB / 381.6 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.02015, allocations: 51.72 kB / 381.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006485/0.0208, allocations: 381.3 kB / 382 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.02081, allocations: 7.984 kB / 382 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.02081, allocations: 0 / 382 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.02081, allocations: 0 / 382 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/0.02172, allocations: 0.7245 MB / 382.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02173, allocations: 64 / 382.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.0219, allocations: 67.91 kB / 382.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005589/0.02246, allocations: 187.5 kB / 383 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.02248, allocations: 8 kB / 383 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.02519, allocations: 2.368 MB / 385.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02519, allocations: 0 / 385.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.02601, allocations: 0.5844 MB / 386 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.02605, allocations: 43.7 kB / 386 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.02609, allocations: 12.11 kB / 386 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.02621, allocations: 15.94 kB / 386 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.02626, allocations: 31.88 kB / 386.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.02628, allocations: 11.98 kB / 386.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.02642, allocations: 259 kB / 386.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02642, allocations: 0 / 386.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.0268, allocations: 92 kB / 386.4 MB, free: 11.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (G1.x_scaled[1],G2.x_scaled[1],Cs.y,Ge1.deltag,Ge1.wg,Ge2.thetap,Ge2.deltag,Ge2.wg) * 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 (32): * Single equations (assignments): 31 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.02692, allocations: 107.4 kB / 386.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.02753, allocations: 0.723 MB / 387.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02754, allocations: 0 / 387.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.02776, allocations: 325.1 kB / 387.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.02805, allocations: 63.91 kB / 387.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.02916, allocations: 0.8936 MB / 388.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.02937, allocations: 129.8 kB / 388.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.765e-05/0.02946, allocations: 35.27 kB / 388.7 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.02958, allocations: 114.2 kB / 388.8 MB, free: 9.156 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02958, allocations: 0 / 388.8 MB, free: 9.156 MB / 362.7 MB Notification: Performance of Templates: time 0.007853/0.03743, allocations: 5.514 MB / 394.3 MB, free: 3.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe ; mkfifo AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe >> ../files/AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.sim & ./AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9494241578504443]